Hi Shailendra, On Mon, Jan 18, 2010 at 5:33 AM, Shailendra N Jain <[email protected]> wrote: > Hi, > > I am looking at https://bugzilla.mozilla.org/show_bug.cgi?id=490238 and > working on writing these sample programs.
Thank you for your interest in writing new NSS sample programs. > For one of the sample programs (#3) listed, I need to find a way to get > CKA_ID from a symmetric key and display. Is there any public API to get the > CKA_ID from a symmetric key ? Please try the PK11_ReadRawAttribute function with attr=CKA_ID: http://mxr.mozilla.org/security/ident?i=PK11_ReadRawAttribute http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/security/nss/lib/pk11wrap/pk11pub.h&rev=1.31&mark=781-807#781 Wan-Teh -- dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

