OSSL_STORE_INFO_new_CERT

Create an OSSL_STORE_INFO holding an X.509 certificate (takes ownership of x509).

Synopsis

Declared in <openssl/store.h>

OSSL_STORE_INFO*
OSSL_STORE_INFO_new_CERT(X509* x509);

Return Value

New OSSL_STORE_INFO, or NULL on error; free with OSSL_STORE_INFO_free().

Parameters

NameDescription
x509Certificate; ownership transfers on success.