The spectre of hindsight revelation is blinding! Thank you So much!
It makes perfect sense now, ...
On Mon, Jan 20, 2014 at 2:12 AM, Rickard Bellgrim wrote:
>
> {CKA_LABEL, (void *)"card_data", sizeof("card_data" -1) },
>>
>
> Maybe just a typo in the email, but the -1 should be outsid
Thanks Rickard, I am using Version 1 will try with version 2.
Sitaraman
On Mon, Jan 20, 2014 at 3:45 PM, Rickard Bellgrim wrote:
>
>
>> I get an error statingjava.security.InvalidKeyException: No installed
>> provider supports this key: sun.security.pkcs11.P11Key$P11RSAPublicKey at
>> javax.cryp
>
> I get an error statingjava.security.InvalidKeyException: No installed
> provider supports this key: sun.security.pkcs11.P11Key$P11RSAPublicKey at
> javax.crypto.Cipher.chooseProvider(Cipher.java:878) at
> javax.crypto.Cipher.init(Cipher.java:1213) at
> javax.crypto.Cipher.init(Cipher.java:1153)
> {CKA_LABEL, (void *)"card_data", sizeof("card_data" -1) },
>
Maybe just a typo in the email, but the -1 should be outside the
parentheses.
> i compute 6 elements total, But then in the C_FindObjectsInit, i pass
> ulCount - 1
> and i get no matches.
>
> should i be doing
>
> * rv = C_F