Page 1 of 1
How can I get the key that doesn't have alias in PKI?
Posted: Wed Nov 30, 2016 5:16 am
by warex
As the subject said,how can I get the key that doesn't have alias in PKI?
Re: How can I get the key that doesn't have alias in PKI?
Posted: Wed Nov 30, 2016 6:49 am
by tay00000
Your question is very vague. Please furnish the following details:
- Card type/model
- JavaCard platform version in use
- Applet and code snippets of problematic codes or APDU commands that you are trying to execute and the errors and results
We are unable to proceed to help with vague details.
Re: How can I get the key that doesn't have alias in PKI?
Posted: Wed Nov 30, 2016 10:48 am
by UNKNwYSHSA
You can use the PKI api C_FindObjects.
All objects will be found.
It seems that you use java PKCS11 interface, it only retrive objects has alias (ATTRIBUTE_LABEL).
Use PKCS11.Wrapper instead.
Re: How can I get the key that doesn't have alias in PKI?
Posted: Fri Dec 02, 2016 3:34 am
by warex
tay00000 wrote:Your question is very vague. Please furnish the following details:
- Card type/model
- JavaCard platform version in use
- Applet and code snippets of problematic codes or APDU commands that you are trying to execute and the errors and results
We are unable to proceed to help with vague details.
Thanks for your help.
- Card type/model: A22CR
- JavaCard platform version in use: 3.0.4
- Applet and code snippets of problematic codes or APDU commands that you are trying to execute and the errors and results
The applet is provided by FEITIAN. I used PKCS11 of pkcs11, but I can only access object via alias.
Re: How can I get the key that doesn't have alias in PKI?
Posted: Fri Dec 02, 2016 3:49 am
by Tarantino