Re: Removal of NSS and/or NSPR from the API exposed to addons

2012-01-27 Thread Micah Gersten
On 01/19/2012 02:55 AM, Brian Smith wrote: > Mike Hommey wrote: >> But linux users are not necessarily up-to-date with the latest NSS. I >> seriously doubt the number of users with the very last system nss >> exceeds 10% of the linux user base except in exceptional "good >> timing" cases (like when

Re: how to get CKA_PRIVATE_EXPONENT attribute from a private key?

2012-01-27 Thread Robert Relyea
On 01/26/2012 11:53 PM, weizhong qiang wrote: hi, I did found that the CKA_SENSITIVE is "true" by using the following code: rv = PK11_ReadRawAttribute(PK11_TypePrivKey, privKey, CKA_SENSITIVE,&value); if (rv != SECSuccess) { NSSUtilLogger.msg(ERROR, "Failed to read C

Re: how to get CKA_PRIVATE_EXPONENT attribute from a private key?

2012-01-27 Thread Robert Relyea
On 01/26/2012 06:50 PM, weizhong qiang wrote: hi, On Jan 26, 2012, at 6:28 PM, Robert Relyea wrote: On 01/26/2012 05:08 AM, weizhong qiang wrote: hi, Is there a fact that nss does not permit the reading of the attribute CKA_PRIVATE_EXPONENT, CKA_PRIME_1, etc.? Because with all of the eight