Home
last modified time | relevance | path

Searched refs:CMS_RecipientInfo (Results 1 – 14 of 14) sorted by relevance

/third_party/openssl/doc/man3/
DCMS_get0_RecipientInfos.pod16 STACK_OF(CMS_RecipientInfo) *CMS_get0_RecipientInfos(CMS_ContentInfo *cms);
17 int CMS_RecipientInfo_type(CMS_RecipientInfo *ri);
19 int CMS_RecipientInfo_ktri_get0_signer_id(CMS_RecipientInfo *ri,
23 int CMS_RecipientInfo_ktri_cert_cmp(CMS_RecipientInfo *ri, X509 *cert);
24 int CMS_RecipientInfo_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pkey);
26 int CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri, X509_ALGOR **palg,
31 int CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri,
33 int CMS_RecipientInfo_set0_key(CMS_RecipientInfo *ri,
36 int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);
37 int CMS_RecipientInfo_encrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);
[all …]
DCMS_add1_recipient_cert.pod11 CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms,
14 CMS_RecipientInfo *CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid,
40 CMS_RecipientInfo structure and the CMS attribute utility functions.
55 pointer to the CMS_RecipientInfo structure just added or NULL if an error
/third_party/openssl/include/openssl/
Dcms.h27 typedef struct CMS_RecipientInfo_st CMS_RecipientInfo; typedef
35 DEFINE_STACK_OF(CMS_RecipientInfo)
152 STACK_OF(CMS_RecipientInfo) *CMS_get0_RecipientInfos(CMS_ContentInfo *cms);
153 int CMS_RecipientInfo_type(CMS_RecipientInfo *ri);
154 EVP_PKEY_CTX *CMS_RecipientInfo_get0_pkey_ctx(CMS_RecipientInfo *ri);
156 CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms,
158 int CMS_RecipientInfo_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pkey);
159 int CMS_RecipientInfo_ktri_cert_cmp(CMS_RecipientInfo *ri, X509 *cert);
160 int CMS_RecipientInfo_ktri_get0_algs(CMS_RecipientInfo *ri,
163 int CMS_RecipientInfo_ktri_get0_signer_id(CMS_RecipientInfo *ri,
[all …]
/third_party/openssl/crypto/cms/
Dcms_env.c51 int cms_env_asn1_ctrl(CMS_RecipientInfo *ri, int cmd) in cms_env_asn1_ctrl()
81 STACK_OF(CMS_RecipientInfo) *CMS_get0_RecipientInfos(CMS_ContentInfo *cms) in STACK_OF() argument
90 int CMS_RecipientInfo_type(CMS_RecipientInfo *ri) in CMS_RecipientInfo_type()
95 EVP_PKEY_CTX *CMS_RecipientInfo_get0_pkey_ctx(CMS_RecipientInfo *ri) in CMS_RecipientInfo_get0_pkey_ctx()
128 static int cms_RecipientInfo_ktri_init(CMS_RecipientInfo *ri, X509 *recip, in cms_RecipientInfo_ktri_init()
178 CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms, in CMS_add1_recipient_cert()
181 CMS_RecipientInfo *ri = NULL; in CMS_add1_recipient_cert()
189 ri = M_ASN1_new_of(CMS_RecipientInfo); in CMS_add1_recipient_cert()
226 M_ASN1_free_of(ri, CMS_RecipientInfo); in CMS_add1_recipient_cert()
231 int CMS_RecipientInfo_ktri_get0_algs(CMS_RecipientInfo *ri, in CMS_RecipientInfo_ktri_get0_algs()
[all …]
Dcms_asn1.c202 CMS_RecipientInfo *ri = (CMS_RecipientInfo *)*pval;
219 ASN1_CHOICE_cb(CMS_RecipientInfo, cms_ri_cb) = {
220 ASN1_SIMPLE(CMS_RecipientInfo, d.ktri, CMS_KeyTransRecipientInfo),
221 ASN1_IMP(CMS_RecipientInfo, d.kari, CMS_KeyAgreeRecipientInfo, 1),
222 ASN1_IMP(CMS_RecipientInfo, d.kekri, CMS_KEKRecipientInfo, 2),
223 ASN1_IMP(CMS_RecipientInfo, d.pwri, CMS_PasswordRecipientInfo, 3),
224 ASN1_IMP(CMS_RecipientInfo, d.ori, CMS_OtherRecipientInfo, 4)
225 } ASN1_CHOICE_END_cb(CMS_RecipientInfo, CMS_RecipientInfo, type)
230 ASN1_SET_OF(CMS_EnvelopedData, recipientInfos, CMS_RecipientInfo),
251 ASN1_SET_OF(CMS_AuthenticatedData, recipientInfos, CMS_RecipientInfo),
Dcms_kari.c22 int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri, in CMS_RecipientInfo_kari_get0_alg()
41 *CMS_RecipientInfo_kari_get0_reks(CMS_RecipientInfo *ri) in STACK_OF()
51 int CMS_RecipientInfo_kari_get0_orig_id(CMS_RecipientInfo *ri, in CMS_RecipientInfo_kari_get0_orig_id()
93 int CMS_RecipientInfo_kari_orig_id_cmp(CMS_RecipientInfo *ri, X509 *cert) in CMS_RecipientInfo_kari_orig_id_cmp()
155 int CMS_RecipientInfo_kari_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pk) in CMS_RecipientInfo_kari_set0_pkey()
174 EVP_CIPHER_CTX *CMS_RecipientInfo_kari_get0_ctx(CMS_RecipientInfo *ri) in CMS_RecipientInfo_kari_get0_ctx()
229 CMS_RecipientInfo *ri, in CMS_RecipientInfo_kari_decrypt()
287 int cms_RecipientInfo_kari_init(CMS_RecipientInfo *ri, X509 *recip, in cms_RecipientInfo_kari_init()
367 CMS_RecipientInfo *ri) in cms_RecipientInfo_kari_encrypt()
Dcms_local.h108 STACK_OF(CMS_RecipientInfo) *recipientInfos;
251 STACK_OF(CMS_RecipientInfo) *recipientInfos;
263 STACK_OF(CMS_RecipientInfo) *recipientInfos;
348 DECLARE_ASN1_ITEM(CMS_RecipientInfo)
407 int cms_env_asn1_ctrl(CMS_RecipientInfo *ri, int cmd);
410 int cms_RecipientInfo_kari_init(CMS_RecipientInfo *ri, X509 *recip,
413 CMS_RecipientInfo *ri);
416 int cms_RecipientInfo_pwri_crypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri,
Dcms_pwri.c21 int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, in CMS_RecipientInfo_set0_password()
38 CMS_RecipientInfo *CMS_add0_recipient_password(CMS_ContentInfo *cms, in CMS_add0_recipient_password()
45 CMS_RecipientInfo *ri = NULL; in CMS_add0_recipient_password()
116 ri = M_ASN1_new_of(CMS_RecipientInfo); in CMS_add0_recipient_password()
165 M_ASN1_free_of(ri, CMS_RecipientInfo); in CMS_add0_recipient_password()
276 int cms_RecipientInfo_pwri_crypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri, in cms_RecipientInfo_pwri_crypt()
Dcms_smime.c579 static int cms_kari_set1_pkey(CMS_ContentInfo *cms, CMS_RecipientInfo *ri, in cms_kari_set1_pkey()
603 STACK_OF(CMS_RecipientInfo) *ris; in CMS_decrypt_set1_pkey()
604 CMS_RecipientInfo *ri; in CMS_decrypt_set1_pkey()
676 STACK_OF(CMS_RecipientInfo) *ris; in CMS_decrypt_set1_key()
677 CMS_RecipientInfo *ri; in CMS_decrypt_set1_key()
711 STACK_OF(CMS_RecipientInfo) *ris; in CMS_decrypt_set1_password()
712 CMS_RecipientInfo *ri; in CMS_decrypt_set1_password()
/third_party/openssl/crypto/dh/
Ddh_ameth.c486 static int dh_cms_decrypt(CMS_RecipientInfo *ri);
487 static int dh_cms_encrypt(CMS_RecipientInfo *ri);
672 static int dh_cms_set_shared_info(EVP_PKEY_CTX *pctx, CMS_RecipientInfo *ri) in dh_cms_set_shared_info()
749 static int dh_cms_decrypt(CMS_RecipientInfo *ri) in dh_cms_decrypt()
777 static int dh_cms_encrypt(CMS_RecipientInfo *ri) in dh_cms_encrypt()
/third_party/openssl/crypto/ec/
Dec_ameth.c22 static int ecdh_cms_decrypt(CMS_RecipientInfo *ri);
23 static int ecdh_cms_encrypt(CMS_RecipientInfo *ri);
736 static int ecdh_cms_set_shared_info(EVP_PKEY_CTX *pctx, CMS_RecipientInfo *ri) in ecdh_cms_set_shared_info()
795 static int ecdh_cms_decrypt(CMS_RecipientInfo *ri) in ecdh_cms_decrypt()
823 static int ecdh_cms_encrypt(CMS_RecipientInfo *ri) in ecdh_cms_encrypt()
/third_party/openssl/crypto/rsa/
Drsa_ameth.c23 static int rsa_cms_decrypt(CMS_RecipientInfo *ri);
24 static int rsa_cms_encrypt(CMS_RecipientInfo *ri);
915 static int rsa_cms_decrypt(CMS_RecipientInfo *ri) in rsa_cms_decrypt()
987 static int rsa_cms_encrypt(CMS_RecipientInfo *ri) in rsa_cms_encrypt()
/third_party/openssl/util/
Dindent.pro153 -T CMS_RecipientInfo
/third_party/openssl/apps/
Dcms.c822 CMS_RecipientInfo *ri; in cms_main()