OSSL_STORE_INFO_get1_PUBKEY

Return a new reference to the public-key EVP_PKEY from a store object.

Synopsis

Declared in <openssl/store.h>

EVP_PKEY*
OSSL_STORE_INFO_get1_PUBKEY(OSSL_STORE_INFO const* info);

Return Value

Up-reffed EVP_PKEY, or NULL on error; free with EVP_PKEY_free().

Parameters

NameDescription
infoStore object of type OSSL_STORE_INFO_PUBKEY.