Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do i extract the text version of a certificate from a CERTCertficate structure?

24 views
Skip to first unread message

Mazola Winstrol

unread,
Oct 22, 2015, 8:40:55 PM10/22/15
to dev-se...@lists.mozilla.org
Hello,

How do i extract the text version of a certificate from a CERTCertficate
structure?

I'm using NSS for xml signature (http://www.w3.org/TR/xmldsig-core). The
application to generate the <X509Certificate> element of the signature
which it's consists of the base-64 encoded text version of the certificate.

Best regards

Martin Thomson

unread,
Oct 23, 2015, 1:19:10 AM10/23/15
to Mazola Winstrol, dev-se...@lists.mozilla.org
I do this as follows:
https://dxr.mozilla.org/mozilla-central/source/dom/media/webrtc/RTCCertificate.cpp#366
> _______________________________________________
> dev-security mailing list
> dev-se...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-security

Mazola Winstrol

unread,
Oct 23, 2015, 9:06:55 AM10/23/15
to Martin Thomson, dev-se...@lists.mozilla.org
2015-10-23 3:18 GMT-02:00 Martin Thomson <m...@mozilla.com>:

> I do this as follows:
>
> https://dxr.mozilla.org/mozilla-central/source/dom/media/webrtc/RTCCertificate.cpp#366
>

Thanks for the help!

Do you have a example using only the NSS API or implemented in C instead of
C++?
0 new messages