/macosx-10.9.5/Security-55471.14.18/sec/Security/ |
H A D | SecCMS.h | 102 @param signed_data (output) return signed message. 109 bool detached, CFMutableDataRef signed_data, CFDictionaryRef signed_attributes); 116 @param signed_data (output) return signed message. 123 CFMutableDataRef signed_data, CFDictionaryRef signed_attributes); 133 @param signed_data (output) return signed message. 139 CFMutableDataRef signed_data);
|
H A D | SecCMS.c | 26 * signed_data.c 261 CFMutableDataRef signed_data, CFDictionaryRef signed_attributes, SecCmsCertChainMode chainMode, CFArrayRef additional_certs) 293 require_noerr(SecCmsMessageEncode(cmsg, NULL, signed_data), out); 296 require_noerr(SecCmsMessageEncode(cmsg, (data && input.Length) ? &input : NULL, signed_data), out); 305 CFMutableDataRef signed_data, CFDictionaryRef signed_attributes) 308 signed_data, signed_attributes, SecCmsCMCertChain, NULL); 312 CFMutableDataRef signed_data, CFDictionaryRef signed_attributes) 315 signed_data, signed_attributes, SecCmsCMCertChain, NULL); 321 CFMutableDataRef signed_data) 357 signed_data, signed_attribute 259 SecCMSSignDataOrDigestAndAttributes(SecIdentityRef identity, CFDataRef data, bool detached, bool data_is_digest, SECOidTag sign_algorithm, CFMutableDataRef signed_data, CFDictionaryRef signed_attributes, SecCmsCertChainMode chainMode, CFArrayRef additional_certs) argument 304 SecCMSSignDataAndAttributes(SecIdentityRef identity, CFDataRef data, bool detached, CFMutableDataRef signed_data, CFDictionaryRef signed_attributes) argument 311 SecCMSSignDigestAndAttributes(SecIdentityRef identity, CFDataRef digest, CFMutableDataRef signed_data, CFDictionaryRef signed_attributes) argument 319 SecCMSCreateSignedData(SecIdentityRef identity, CFDataRef data, CFDictionaryRef parameters, CFDictionaryRef signed_attributes, CFMutableDataRef signed_data) argument [all...] |
/macosx-10.9.5/Heimdal-323.92.1/lib/hx509/ |
H A D | cms.c | 865 heim_octet_string signed_data; local 982 signed_data.data, 983 signed_data.length, 992 if (size != signed_data.length) 996 signed_data.data = content->data; 997 signed_data.length = content->length; 1022 &signed_data, 1030 free(signed_data.data); 1160 * @param signed_data the output of the function, free with 1176 heim_octet_string *signed_data) 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/xar-202/xar/lib/ |
H A D | signature.c | 242 uint8_t xar_signature_copy_signed_data(xar_signature_t sig, uint8_t **data, uint32_t *length, uint8_t **signed_data, uint32_t *signed_length, off_t *signed_offset) argument 248 // xar 1.6 fails this method if any of data, length, signed_data, signed_length are NULL 288 if(signed_data) { 289 *signed_data = malloc(sizeof(char)*(*signed_length)); 291 _xar_signature_read_from_heap(x, offset, *signed_length, *signed_data);
|
H A D | archive.c | 656 uint8_t *signed_data = NULL; local 663 if( 0 != sig->signer_callback( sig, sig->callback_context, chkstr, data_len, &signed_data, &signed_len ) ){ 680 write(XAR(x)->fd, signed_data,XAR_SIGNATURE(sig)->len); 682 free(signed_data);
|
/macosx-10.9.5/xar-202/xar/include/ |
H A D | xar.h | 85 /* the signed_data must be allocated durring the callback and will be released by the xar lib after the callback */ 86 typedef int32_t (*xar_signer_callback)(xar_signature_t sig, void *context, uint8_t *data, uint32_t length, uint8_t **signed_data, uint32_t *signed_len); 209 uint8_t xar_signature_copy_signed_data(xar_signature_t sig, uint8_t **data, uint32_t *length, uint8_t **signed_data, uint32_t *signed_length);
|
H A D | xar.h.in | 85 /* the signed_data must be allocated durring the callback and will be released by the xar lib after the callback */ 86 typedef int32_t (*xar_signer_callback)(xar_signature_t sig, void *context, uint8_t *data, uint32_t length, uint8_t **signed_data, uint32_t *signed_len); 211 uint8_t xar_signature_copy_signed_data(xar_signature_t sig, uint8_t **data, uint32_t *length, uint8_t **signed_data, uint32_t *signed_length, off_t *signed_offset);
|
/macosx-10.9.5/Heimdal-323.92.1/kdc/ |
H A D | pkinit.c | 954 krb5_data buf, signed_data; local 959 krb5_data_zero(&signed_data); 1076 &signed_data); 1086 &signed_data, 1090 krb5_data_free(&signed_data); 1091 signed_data = buf; 1097 signed_data.data, signed_data.length, 1114 krb5_data_free(&signed_data); 1130 krb5_data signed_data, bu local [all...] |
/macosx-10.9.5/Security-55471.14.18/sec/Security/Tool/ |
H A D | codesign.c | 357 CFDataRef signed_data = CFDictionaryGetValue(signature, CFSTR("SignedData")); local 369 if (signed_data) { 370 if (SecCMSVerify(signed_data, code_dir, policy, NULL, NULL)) {
|
H A D | spc.c | 368 CFMutableDataRef signed_data = CFDataCreateMutable(kCFAllocatorDefault, 0); local 369 if (SecCMSSignDataAndAttributes(identity, machine_dict_data, false, signed_data, NULL)) 378 CFHTTPMessageSetBody(request, signed_data);
|
/macosx-10.9.5/xar-202/xarsig/ |
H A D | xar-sig.c | 105 static int32_t signingCallback(xar_signature_t sig, void *context, uint8_t *data, uint32_t length, uint8_t **signed_data, uint32_t *signed_len); 537 static int32_t signingCallback(xar_signature_t sig, void *context, uint8_t *data, uint32_t length, uint8_t **signed_data, uint32_t *signed_len) { argument 555 *signed_data = (uint8_t *)malloc(SigSize); 556 memset(*signed_data, 0, SigSize); 557 strncpy((char *)*signed_data, "helloworld", 10); // debug
|
/macosx-10.9.5/SecurityTool-55115/ |
H A D | cmsutil.c | 593 static SecCmsMessageRef signed_data(struct signOptionsStr *signOptions) function 605 fprintf(stderr, "Input to signed_data:\n"); 1406 cmsg = signed_data(&signOptions);
|
/macosx-10.9.5/Security-55471.14.18/sec/Security/Regressions/secitem/ |
H A D | si-66-smime.c | 2434 CFMutableDataRef signed_data = CFDataCreateMutable(kCFAllocatorDefault, 0); local 2450 ok_status(SecCmsMessageEncode(cmsg, NULL, signed_data), "encode signed message"); 2454 write(data_file, CFDataGetBytePtr(signed_data), CFDataGetLength(signed_data));
|