Accessing CSR extension stack in M2Crypto
Posted
by
Charles Duffy
on Stack Overflow
See other posts from Stack Overflow
or by Charles Duffy
Published on 2011-01-03T00:07:28Z
Indexed on
2011/01/04
0:54 UTC
Read the original article
Hit count: 268
Howdy!
I have a certificate signing request with an extension stack added. When building a certificate based on this request, I would like to be able to access that stack to use in creating the final certificate.
However, while M2Crypto.X509.X509
has a number of helpers for accessing extensions (get_ext
, get_ext_at
and the like), M2Crypto.X509.Request
appears to provide only a member for adding extensions, but no way to inspect the extensions already associated with a given object.
Am I missing something here?
© Stack Overflow or respective owner