-
In the above code pubkeyhandle is coming as 2 in terminal when i am checking for objects I see slot 0 is initialized with pubkey
But still new_pub_key is still coming as an empty vector |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@baloo @vkkoskie @wiktor-k @gowthamsk-arm |
Beta Was this translation helpful? Give feedback.
-
You are requesting the
I'm not sure this what you intend to use. |
Beta Was this translation helpful? Give feedback.
You are requesting the
CHECK_VALUE
attribute in thenew_pub_key
variable:https://docs.oasis-open.org/pkcs11/pkcs11-spec/v3.1/cs01/pkcs11-spec-v3.1-cs01.html#_Toc111203232
I'm not sure this what you intend to use.
I think you're looking for
CKA_MODULUS
andCKA_PUBLIC_EXPONENT
for an RSA key