开发者

How to get CKA_ID from public/private Key pair of USB Token?

开发者 https://www.devze.com 2023-04-09 04:56 出处:网络
I have a USB token contain certificate, public/private key pair, how can i get #define CKA_ID Key identifier for public/private key pair (default empty).

I have a USB token contain certificate, public/private key pair, how can i get

#define CKA_ID
Key identifier for public/private key pair (default empty).

From PKCS 1开发者_开发知识库1 document using C++?


  1. First find the certificate with CKO_CERTIFICATE. (C_FindObjectsInit, C_FindObjects, C_FindObjectsFinal)

2.Get the CKA_ID using C_GetAttributeValue

0

精彩评论

暂无评论...
验证码 换一张
取 消