[#OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert] = OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert :mrdocs: Decrypt the certificate held in an EncryptedValue. == Synopsis Declared in `<openssl/crmf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:X509.adoc[X509]* OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert( xref:OSSL_CRMF_ENCRYPTEDVALUE.adoc[OSSL_CRMF_ENCRYPTEDVALUE] const* ecert, xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* propq, xref:EVP_PKEY.adoc[EVP_PKEY]* pkey); ---- == Return Value Decrypted X509 certificate copy owned by the caller, or NULL on error; free with X509_free(). == Parameters [cols="1,4"] |=== | 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). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#