Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

How can I get the key that doesn't have alias in PKI?

JavaCard Applet Development Related Questions and Answers.
warex
Posts: 13
Joined: Mon Dec 14, 2015 10:46 pm
Points :214
Contact:

How can I get the key that doesn't have alias in PKI?

Post by warex » Wed Nov 30, 2016 5:16 am

As the subject said,how can I get the key that doesn't have alias in PKI?

tay00000
Posts: 161
Joined: Tue Sep 27, 2016 10:58 am
Points :2324
Contact:

Re: How can I get the key that doesn't have alias in PKI?

Post by tay00000 » Wed Nov 30, 2016 6:49 am

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.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: How can I get the key that doesn't have alias in PKI?

Post by UNKNwYSHSA » Wed Nov 30, 2016 10:48 am

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.
sense and simplicity

warex
Posts: 13
Joined: Mon Dec 14, 2015 10:46 pm
Points :214
Contact:

Re: How can I get the key that doesn't have alias in PKI?

Post by warex » Fri Dec 02, 2016 3:34 am

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.

Tarantino
Posts: 101
Joined: Wed Aug 19, 2015 1:56 am
Points :478
Contact:

Re: How can I get the key that doesn't have alias in PKI?

Post by Tarantino » Fri Dec 02, 2016 3:49 am

The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 38 guests

JavaCard OS : Disclaimer