OSSL_STORE_INFO_get1_CERT

Return a new reference to the X.509 certificate from a store object.

Synopsis

Declared in <openssl/store.h>

X509*
OSSL_STORE_INFO_get1_CERT(OSSL_STORE_INFO const* info);

Return Value

Up-reffed X509, or NULL on error; free with X509_free().

Parameters

NameDescription
infoStore object of type OSSL_STORE_INFO_CERT.