Lines Matching refs:signer
335 X509 *signer, EVP_PKEY *pk, const EVP_MD *md, in CMS_add1_signer() argument
344 if (!X509_check_private_key(signer, pk)) { in CMS_add1_signer()
357 X509_check_purpose(signer, -1, -1); in CMS_add1_signer()
359 X509_up_ref(signer); in CMS_add1_signer()
364 si->signer = signer; in CMS_add1_signer()
383 if (!ossl_cms_set1_SignerIdentifier(si->sid, signer, type, ctx)) in CMS_add1_signer()
465 if ((sc = OSSL_ESS_signing_cert_new_init(signer, in CMS_add1_signer()
471 if ((sc2 = OSSL_ESS_signing_cert_v2_new_init(md, signer, in CMS_add1_signer()
493 if (!CMS_add1_cert(cms, signer)) { in CMS_add1_signer()
613 if (si->signer != NULL) { in STACK_OF()
614 if (!ossl_x509_add_cert_new(&signers, si->signer, in STACK_OF()
624 void CMS_SignerInfo_set1_signer_cert(CMS_SignerInfo *si, X509 *signer) in CMS_SignerInfo_set1_signer_cert() argument
626 if (signer != NULL) { in CMS_SignerInfo_set1_signer_cert()
627 X509_up_ref(signer); in CMS_SignerInfo_set1_signer_cert()
629 si->pkey = X509_get_pubkey(signer); in CMS_SignerInfo_set1_signer_cert()
631 X509_free(si->signer); in CMS_SignerInfo_set1_signer_cert()
632 si->signer = signer; in CMS_SignerInfo_set1_signer_cert()
664 if (si->signer != NULL) in CMS_set1_signers_certs()
676 if (si->signer != NULL || (flags & CMS_NOINTERN)) in CMS_set1_signers_certs()
695 X509 **signer, X509_ALGOR **pdig, in CMS_SignerInfo_get0_algs() argument
700 if (signer != NULL) in CMS_SignerInfo_get0_algs()
701 *signer = si->signer; in CMS_SignerInfo_get0_algs()