PKCS8_pkey_get0_attrs

Return the attribute stack embedded in a PKCS#8 PrivateKeyInfo.

Synopsis

Declared in <openssl/x509.h>

stack_st_X509_ATTRIBUTE const*
PKCS8_pkey_get0_attrs(PKCS8_PRIV_KEY_INFO const* p8);

Return Value

Internal const STACK_OF(X509_ATTRIBUTE) (do not free), or NULL if none.

Parameters

NameDescription
p8PKCS#8 structure to query.