Christopher Kunz <[EMAIL PROTECTED]> writes:

> how can I extract all extensions from a certificate into a
> STACK_OF(X509_EXTENSION)? For certificate requests, there is
> X509_REQ_get_extensions that returns this stack, but how is that done
> with an actual certificate?

X509_get_ext_count(), X509_get_ext(), and the usual stack macros
STACK_OF(X509_EXTENSION), sk_X509_EXTENSION_push() and so on, I guess.

[...]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to