Searched refs:eContentType (Results 1 - 10 of 10) sorted by relevance

/macosx-10.9.5/Security-55471.14.18/libsecurity_cms/lib/
H A DCMSEncoder.cpp84 CSSM_OID eContentType; member in struct:_CMSEncoder
327 if(cmsEncoder->eContentType.Data != NULL) {
328 free(cmsEncoder->eContentType.Data);
406 if(cmsEncoder->eContentType.Data != NULL) {
407 /* Override the default eContentType of id-data */
412 &cmsEncoder->eContentType);
604 if(cmsEncoder->eContentType.Data != NULL) {
610 &cmsEncoder->eContentType);
890 * Optionally specify an eContentType OID for the inner EncapsulatedData for
891 * a signed message. The default eContentType, use
894 CMSEncoderSetEncapsulatedContentType( CMSEncoderRef cmsEncoder, const CSSM_OID *eContentType) argument
930 CMSEncoderCopyEncapsulatedContentType( CMSEncoderRef cmsEncoder, CFDataRef *eContentType) argument
1216 CMSEncode( CFTypeRef signers, CFTypeRef recipients, const CSSM_OID *eContentType, Boolean detachedContent, CMSSignedAttributes signedAttributes, const void *content, size_t contentLen, CFDataRef *encodedContent) argument
[all...]
H A DCMSEncoder.h149 * Optionally specify an eContentType OID for the inner EncapsulatedData for
150 * a signed message. The default eContentType, used if this function is not
151 * called, is id-data (which is the normal eContentType for applications such
162 const CSSM_OID *eContentType)
167 * Optionally specify an eContentType OID for the inner EncapsulatedData for
169 * called, is id-data (which is the normal eContentType for applications such
184 * Obtain the eContentType OID specified in CMSEncoderSetEncapsulatedContentType().
334 * eContentType : contentType for inner EncapsulatedData.
350 const CSSM_OID *eContentType,
H A DCMSDecoder.cpp78 CSSM_OID *eContentType; member in struct:_CMSDecoder
310 /* dig down one more layer for eContentType */
312 cmsDecoder->eContentType = SecCmsContentInfoGetContentTypeOID(ci);
667 * Obtain the eContentType OID for a SignedData's EncapsulatedContentType, if
672 CFDataRef *eContentType) /* RETURNED */
674 if((cmsDecoder == NULL) || (eContentType == NULL)) {
681 *eContentType = NULL;
684 CSSM_OID *ecOid = cmsDecoder->eContentType;
685 *eContentType = CFDataCreate(NULL, ecOid->Data, ecOid->Length);
670 CMSDecoderCopyEncapsulatedContentType( CMSDecoderRef cmsDecoder, CFDataRef *eContentType) argument
/macosx-10.9.5/Security-55471.14.18/include/security_smime/
H A DSecCmsContentInfo.h173 SecCmsContentInfoSetContentOther(SecCmsMessageRef cmsg, SecCmsContentInfoRef cinfo, CSSM_DATA_PTR data, Boolean detached, const CSSM_OID *eContentType);
H A Dcmscinfo.c217 SecCmsContentInfoSetContentOther(SecCmsMessageRef cmsg, SecCmsContentInfoRef cinfo, CSSM_DATA_PTR data, Boolean detached, const CSSM_OID *eContentType) argument
224 srtn = SECITEM_CopyItem (cmsg->poolp, &(cinfo->contentType), eContentType);
235 srtn = SECITEM_CopyItem (cmsg->poolp, &(cinfo->contentTypeTag->oid), eContentType);
/macosx-10.9.5/Security-55471.14.18/libsecurity_smime/lib/
H A DSecCmsContentInfo.h173 SecCmsContentInfoSetContentOther(SecCmsMessageRef cmsg, SecCmsContentInfoRef cinfo, CSSM_DATA_PTR data, Boolean detached, const CSSM_OID *eContentType);
H A Dcmscinfo.c217 SecCmsContentInfoSetContentOther(SecCmsMessageRef cmsg, SecCmsContentInfoRef cinfo, CSSM_DATA_PTR data, Boolean detached, const CSSM_OID *eContentType) argument
224 srtn = SECITEM_CopyItem (cmsg->poolp, &(cinfo->contentType), eContentType);
235 srtn = SECITEM_CopyItem (cmsg->poolp, &(cinfo->contentTypeTag->oid), eContentType);
/macosx-10.9.5/Heimdal-323.92.1/lib/hx509/
H A Dcms.c1009 if (der_heim_oid_cmp(match_oid, &sd.encapContentInfo.eContentType) &&
1085 ret = der_copy_oid(&sd.encapContentInfo.eContentType, contentType);
1148 * @param eContentType the type of the data.
1169 const heim_oid *eContentType,
1191 ret = hx509_cms_create_signed(context, flags, eContentType, data, length,
1203 const heim_oid *eContentType; member in struct:sigctx
1284 if (der_heim_oid_cmp(sigctx->eContentType, &asn1_oid_id_pkcs7_data) != 0) {
1331 sigctx->eContentType,
1462 const heim_oid *eContentType,
1480 if (eContentType
1167 hx509_cms_create_signed_1(hx509_context context, int flags, const heim_oid *eContentType, const void *data, size_t length, const AlgorithmIdentifier *digest_alg, hx509_cert cert, hx509_peer_info peer, hx509_certs anchors, hx509_certs pool, heim_octet_string *signed_data) argument
1460 hx509_cms_create_signed(hx509_context context, int flags, const heim_oid *eContentType, const void *data, size_t length, const AlgorithmIdentifier *digest_alg, hx509_certs certs, hx509_peer_info peer, hx509_certs anchors, hx509_certs pool, heim_octet_string *signed_data) argument
[all...]
/macosx-10.9.5/Heimdal-323.92.1/kdc/
H A Dpkinit.c502 heim_oid eContentType = { 0, NULL }, contentInfoOid = { 0, NULL }; local
736 &eContentType,
779 if (der_heim_oid_cmp(&eContentType, &asn1_oid_id_pkcs7_data) != 0 &&
780 der_heim_oid_cmp(&eContentType, &asn1_oid_id_pkauthdata) != 0)
915 der_free_oid(&eContentType);
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dpkinit.c209 const heim_oid *eContentType,
222 eContentType,
208 create_signature(krb5_context context, const heim_oid *eContentType, krb5_data *eContent, struct krb5_pk_identity *id, hx509_peer_info peer, krb5_data *sd_data) argument

Completed in 221 milliseconds