Home
last modified time | relevance | path

Searched refs:contentType (Results 1 – 11 of 11) sorted by relevance

/openssl/crypto/cms/
H A Dcms_lib.c109 return cms->contentType; in CMS_get0_type()
117 cms->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_Data_create()
153 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataInit()
229 switch (OBJ_obj2nid(cms->contentType)) { in ossl_cms_DataFinal()
262 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get0_content()
305 switch (OBJ_obj2nid(cms->contentType)) { in cms_get0_econtent_type()
311 return &cms->d.envelopedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
317 return &cms->d.encryptedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
321 ->contentType; in cms_get0_econtent_type()
472 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF()
[all …]
H A Dcms_cd.c48 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_compressedData); in ossl_cms_CompressedData_create()
71 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) { in ossl_cms_CompressedData_init_bio()
H A Dcms_enc.c218 ec->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_EncryptedContent_init()
237 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted); in CMS_EncryptedData_set1_key()
239 } else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted) { in CMS_EncryptedData_set1_key()
H A Dcms_env.c31 int nid = OBJ_obj2nid(cms->contentType); in cms_get_enveloped_type_simple()
56 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_enveloped) { in ossl_cms_get0_enveloped()
65 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_authEnvelopedData) { in ossl_cms_get0_auth_enveloped()
81 cms->d.envelopedData->encryptedContentInfo->contentType = in cms_enveloped_data_init()
83 ASN1_OBJECT_free(cms->contentType); in cms_enveloped_data_init()
84 cms->contentType = OBJ_nid2obj(NID_pkcs7_enveloped); in cms_enveloped_data_init()
101 cms->d.authEnvelopedData->authEncryptedContentInfo->contentType = in cms_auth_enveloped_data_init()
103 ASN1_OBJECT_free(cms->contentType); in cms_auth_enveloped_data_init()
104 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_authEnvelopedData); in cms_auth_enveloped_data_init()
272 ci->contentType = OBJ_nid2obj(NID_pkcs7_enveloped); in CMS_EnvelopedData_decrypt()
[all …]
H A Dcms_asn1.c105 ASN1_SIMPLE(CMS_EncryptedContentInfo, contentType, ASN1_OBJECT),
302 } ASN1_ADB_END(CMS_ContentInfo, 0, contentType, 0, &cms_default_tt, NULL);
341 ASN1_SIMPLE(CMS_ContentInfo, contentType, ASN1_OBJECT),
381 ASN1_SIMPLE(CMS_Receipt, contentType, ASN1_OBJECT),
H A Dcms_local.h53 ASN1_OBJECT *contentType; member
127 ASN1_OBJECT *contentType; member
362 ASN1_OBJECT *contentType; member
H A Dcms_dd.c36 cms->contentType = OBJ_nid2obj(NID_pkcs7_digest); in ossl_cms_DigestedData_create()
H A Dcms_ess.c351 if (OBJ_cmp(octype, rct->contentType)) { in ossl_cms_Receipt_verify()
410 rct.contentType = ctype; in ossl_cms_encode_Receipt()
H A Dcms_io.c84 int ctype_nid = OBJ_obj2nid(cms->contentType); in SMIME_write_CMS()
H A Dcms_sd.c29 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_signed) { in cms_get0_signed()
48 ASN1_OBJECT_free(cms->contentType); in cms_signed_data_init()
49 cms->contentType = OBJ_nid2obj(NID_pkcs7_signed); in cms_signed_data_init()
1095 ci->contentType = OBJ_nid2obj(NID_pkcs7_signed); in CMS_SignedData_verify()
/openssl/crypto/objects/
H A Dobjects.txt228 pkcs9 3 : : contentType

Completed in 24 milliseconds