udaybhaskar wrote: > Dear all, > > I was trying to retrieve the subject dn of the enclosed certificate with
enclosed? This mailing list does not permit binary attachments. I suggest you make a base64 encoded (a.k.a. "PEM" or "ASCII Armored") version of the cert and send that in the body of your email. > NSS API, in vain. (I am retrieving the subjectName field of CERTCertificate > structure) I tried the same thing with certutil binary included in nss-3.9. > Even that is not giving the subject dn. I was able to retrieve the derSubject > field. But no success ,when I try to encode this item. I was able to get the > individual fields of subject distinguished name such as common name, email, > organization etc. using the NSS API > (CERT_GetOrgUnitName > <http://lxr.mozilla.org/security/ident?i=CERT_GetOrgUnitName> etc.) > Please tell me if there is anything wrong with the subject DN field of > this certificate. > > Regards, > Udaybhaskar > > -- Nelson B 12345678901234567890123456789012345678901234567890123456789012345678901234567890 00000000011111111112222222222333333333344444444445555555555666666666677777777778 _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto