Decrypt the certificate held in an EncryptedValue.
Synopsis
Declared in <openssl/crmf.h>
X509*
OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert(
OSSL_CRMF_ENCRYPTEDVALUE const* ecert,
OSSL_LIB_CTX* libctx,
char const* propq,
EVP_PKEY* pkey);
Return Value
Decrypted X509 certificate copy owned by the caller, or NULL on error; free with X509_free().
Parameters
Name |
Description |
ecert |
EncryptedValue containing the encrypted certificate. |
libctx |
Library context for algorithm fetches, or NULL for the default. |
propq |
Property query for algorithm fetches, or NULL. |
pkey |
Private key used to decrypt the certificate (indirect POPO; RFC 4210 section 5.2.8.2). |
Created with MrDocs