James Burton wrote:
> I want to create a selfsign certificate in c++ but i don't know were
> to start and i would like some help if you could make a example
> application to show me how to create a selfsign certificate or show
> me some documentation to create a selfsign certificates in c++.

Thanks for moving the discussion to this mailing list from Bugzilla.

In addition to looking at the source code of certutil (which is in 
security/nss/cmd/certutil/certutil.c), you can look at this code in Firefox's 
WebRTC implementation:

https://mxr.mozilla.org/mozilla-central/source/media/mtransport/dtlsidentity.cpp#28

Note that the Firefox WebRTC code was mostly based on the certutil code, IIRC.

Cheers,
Brian
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to