Home | History | Annotate | Download | only in cms

Lines Matching refs:cert

609 int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert)
624 /* If we have a cert try matching RecipientInfo
627 if (!cert || (CMS_RecipientInfo_ktri_cert_cmp(ri, cert) == 0))
632 if (cert)
649 /* If no cert and not debugging don't leave loop
658 /* If no cert and not debugging always return success */
659 if (ri_match && !cert && !debug)
733 int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert,
750 if (!pk && !cert && !dcont && !out)
752 if (pk && !CMS_decrypt_set1_pkey(cms, pk, cert))