Lines Matching refs:cert
669 X509 *cert)
680 if (cert != NULL && CMS_RecipientEncryptedKey_cert_cmp(rek, cert))
687 return cert == NULL ? 0 : -1;
694 CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert)
716 r = cms_kari_set1_pkey(cms, ri, pk, cert);
723 * If we have a cert try matching RecipientInfo otherwise try them
726 else if (!cert || !CMS_RecipientInfo_ktri_cert_cmp(ri, cert)) {
731 if (cert) {
746 * If no cert and not debugging don't leave loop after first
754 /* If no cert, key transport and not debugging always return success */
755 if (cert == NULL && ri_type == CMS_RECIPINFO_TRANS && match_ri && !debug) {
831 CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert, BIO *dcont,
847 if (!cert)
851 if (!pk && !cert && !dcont && !out)
853 if (pk && !CMS_decrypt_set1_pkey(cms, pk, cert))