Lines Matching refs:recip
195 ossl_x509_set0_libctx(ri->d.ktri->recip, in ossl_cms_RecipientInfos_set_cmsctx()
329 static int cms_RecipientInfo_ktri_init(CMS_RecipientInfo *ri, X509 *recip, in cms_RecipientInfo_ktri_init() argument
357 if (!ossl_cms_set1_SignerIdentifier(ktri->rid, recip, idtype, ctx)) in cms_RecipientInfo_ktri_init()
360 X509_up_ref(recip); in cms_RecipientInfo_ktri_init()
364 ktri->recip = recip; in cms_RecipientInfo_ktri_init()
383 CMS_RecipientInfo *CMS_add1_recipient(CMS_ContentInfo *cms, X509 *recip, in CMS_add1_recipient() argument
403 pk = X509_get0_pubkey(recip); in CMS_add1_recipient()
412 if (!cms_RecipientInfo_ktri_init(ri, recip, pk, flags, ctx)) in CMS_add1_recipient()
417 if (!ossl_cms_RecipientInfo_kari_init(ri, recip, pk, originator, in CMS_add1_recipient()
441 CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms, X509 *recip, in CMS_add1_recipient_cert() argument
444 return CMS_add1_recipient(cms, recip, NULL, NULL, flags); in CMS_add1_recipient_cert()
448 EVP_PKEY **pk, X509 **recip, in CMS_RecipientInfo_ktri_get0_algs() argument
461 if (recip) in CMS_RecipientInfo_ktri_get0_algs()
462 *recip = ktri->recip; in CMS_RecipientInfo_ktri_get0_algs()