Convert PKCS#8 private key info into an EVP_PKEY using a library context.
Declared in <openssl/x509.h>
EVP_PKEY*
EVP_PKCS82PKEY_ex(
PKCS8_PRIV_KEY_INFO const* p8,
OSSL_LIB_CTX* libctx,
char const* propq);
New EVP_PKEY, or NULL on error.
| Name | Description |
|---|---|
| p8 | PKCS#8 PrivateKeyInfo structure to decode. |
| libctx | Library context for algorithm fetches, or NULL for the default. |
| propq | Property query for algorithm fetches, or NULL. |