Home
last modified time | relevance | path

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

/openbsd-src/lib/libcrypto/cms/
H A Dcms_lib.c109 return cms->contentType;
120 cms->contentType = OBJ_nid2obj(NID_pkcs7_data); in cms_Data_create()
159 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataInit()
218 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataFinal()
243 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get_version()
291 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get0_content()
330 switch (OBJ_obj2nid(cms->contentType)) { in cms_get0_econtent_type()
335 return &cms->d.envelopedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
341 return &cms->d.encryptedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
492 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF()
[all...]
H A Dcms_enc.c224 ec->contentType = OBJ_nid2obj(NID_pkcs7_data); in cms_EncryptedContent_init()
245 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted); in CMS_EncryptedData_set1_key()
247 } else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted) { in CMS_EncryptedData_set1_key()
H A Dcms_local.h93 ASN1_OBJECT *contentType; member
164 ASN1_OBJECT *contentType; member
386 ASN1_OBJECT *contentType; member
H A Dcms_ess.c346 if (OBJ_cmp(octype, rct->contentType)) { in cms_Receipt_verify()
404 rct.contentType = ctype; in cms_encode_Receipt()
H A Dcms_dd.c83 cms->contentType = OBJ_nid2obj(NID_pkcs7_digest); in cms_DigestedData_create()
H A Dcms_env.c75 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_enveloped) { in cms_get0_enveloped()
92 cms->d.envelopedData->encryptedContentInfo->contentType = in cms_enveloped_data_init()
94 ASN1_OBJECT_free(cms->contentType); in cms_enveloped_data_init()
95 cms->contentType = OBJ_nid2obj(NID_pkcs7_enveloped); in cms_enveloped_data_init()
H A Dcms_io.c163 int ctype_nid = OBJ_obj2nid(cms->contentType); in SMIME_write_CMS()
H A Dcms_asn1.c446 .offset = offsetof(CMS_EncryptedContentInfo, contentType),
447 .field_name = "contentType",
1323 .offset = offsetof(CMS_ContentInfo, contentType),
1376 .offset = offsetof(CMS_ContentInfo, contentType),
1377 .field_name = "contentType",
1523 .offset = offsetof(CMS_Receipt, contentType),
1524 .field_name = "contentType",
H A Dcms_sd.c77 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_signed) { in cms_get0_signed()
97 ASN1_OBJECT_free(cms->contentType); in cms_signed_data_init()
98 cms->contentType = OBJ_nid2obj(NID_pkcs7_signed); in cms_signed_data_init()
/openbsd-src/lib/libexpat/examples/
H A Delement_declarations.c86 contentTypeName(enum XML_Content_Type contentType) { in contentTypeName()
87 switch (contentType) { in contentTypeName()
85 contentTypeName(enum XML_Content_Type contentType) contentTypeName() argument
/openbsd-src/lib/libcrypto/objects/
H A Dobjects.txt215 pkcs9 3 : : contentType