Extract an X.509 certificate from a certBag safeBag.
Synopsis
Declared in <openssl/pkcs12.h>
X509*
PKCS12_SAFEBAG_get1_cert(PKCS12_SAFEBAG const* bag);
Return Value
New X509 certificate, or NULL on error. Caller must free.
Parameters
Name |
Description |
bag |
SafeBag containing a certificate. |
Created with MrDocs