JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
How can I get the key that doesn't have alias in PKI?
How can I get the key that doesn't have alias in PKI?
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?
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.
- 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.
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: How can I get the key that doesn't have alias in PKI?
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.
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.
sense and simplicity
Re: How can I get the key that doesn't have alias in PKI?
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?
You can refer to the sample code below.
https://www.nlnetlabs.nl/downloads/publ ... ode14.html
https://joinup.ec.europa.eu/svn/ooo-xad ... igner.java
https://www.nlnetlabs.nl/downloads/publ ... ode14.html
https://joinup.ec.europa.eu/svn/ooo-xad ... igner.java
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela
Who is online
Users browsing this forum: No registered users and 69 guests