Re: How do I find a certificate using SubjectPublicKeyInfo data?

2008-03-27 Thread Subrata Mazumdar
Nelson, thanks for your suggestion. I am not very much familiar with low-level PK11 API. Which public functions should I use to get CKA_ID and find the cert using CKA_ID? I would appreciate if direct me some example code or if could give an pseudo-code using relevant methods. Thanks. --

Re: How do I find a certificate using SubjectPublicKeyInfo data?

2008-03-26 Thread Robert Relyea
Subrata Mazumdar wrote: Hi, is there any way I can find the certificate associated with a public key using the SubjectPublicKeyInfo (CERTSubjectPublicKeyInfo)? I am looking for public API and not too low level. I looked in the .../nss/certdb/cert.h and .../nss/pk11wrap/pk11pub.h files -

How do I find a certificate using SubjectPublicKeyInfo data?

2008-03-25 Thread Subrata Mazumdar
Hi, is there any way I can find the certificate associated with a public key using the SubjectPublicKeyInfo (CERTSubjectPublicKeyInfo)? I am looking for public API and not too low level. I looked in the .../nss/certdb/cert.h and .../nss/pk11wrap/pk11pub.h files - couldn't find anything