/macosx-10.10/Security-57031.1.35/Security/libsecurity_cms/lib/ |
H A D | CMSDecoder.cpp | 67 CFDataRef detachedContent; member in struct:_CMSDecoder 135 CFRELEASE(cmsDecoder->detachedContent); 149 * SignedData when already have detachedContent, or CMSDecoderSetDetachedContent() 155 ASSERT((cmsDecoder->signedData != NULL) && (cmsDecoder->detachedContent != NULL)); 167 SecCmsDigestContextUpdate(digcx, CFDataGetBytePtr(cmsDecoder->detachedContent), 168 CFDataGetLength(cmsDecoder->detachedContent)); 327 if(cmsDecoder->detachedContent != NULL) { 348 CFDataRef detachedContent) 350 if((cmsDecoder == NULL) || (detachedContent == NULL)) { 353 cmsDecoder->detachedContent 346 CMSDecoderSetDetachedContent( CMSDecoderRef cmsDecoder, CFDataRef detachedContent) argument 369 CMSDecoderCopyDetachedContent( CMSDecoderRef cmsDecoder, CFDataRef *detachedContent) argument [all...] |
H A D | CMSEncoder.h | 124 * of TRUE for detachedContent. The default, if this function is not called, 125 * is detachedContent=FALSE, i.e., the message contains the data to be signed. 134 Boolean detachedContent) 335 * detachedContent : when true, do not include the signed data in the message. 351 Boolean detachedContent, 372 * detachedContent : when true, do not include the signed data in the message. 385 Boolean detachedContent,
|
H A D | CMSEncoder.cpp | 83 Boolean detachedContent; member in struct:_CMSEncoder 411 cmsEncoder->detachedContent, 418 cmsEncoder->detachedContent); 609 FALSE, /* detachedContent */ 616 cmsEncoder->detachedContent); 866 Boolean detachedContent) 874 cmsEncoder->detachedContent = detachedContent; 880 Boolean *detachedContent) /* RETURNED */ 882 if((cmsEncoder == NULL) || (detachedContent 864 CMSEncoderSetHasDetachedContent( CMSEncoderRef cmsEncoder, Boolean detachedContent) argument 878 CMSEncoderGetHasDetachedContent( CMSEncoderRef cmsEncoder, Boolean *detachedContent) argument 1216 CMSEncode( CFTypeRef signers, CFTypeRef recipients, const CSSM_OID *eContentType, Boolean detachedContent, CMSSignedAttributes signedAttributes, const void *content, size_t contentLen, CFDataRef *encodedContent) argument 1285 CMSEncodeContent( CFTypeRef signers, CFTypeRef recipients, CFTypeRef eContentTypeOID, Boolean detachedContent, CMSSignedAttributes signedAttributes, const void *content, size_t contentLen, CFDataRef *encodedContentOut) argument [all...] |
H A D | CMSDecoder.h | 109 CFDataRef detachedContent) 114 * Returns a NULL detachedContent if no detached content has been specified.
|
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/newCmsTool/ |
H A D | newCmsTool.cpp | 45 printf(" -D detachedContent -- detached content (parse only)\n"); 345 const unsigned char *detachedContent, 399 if(detachedContent != NULL) { 407 CFDataRef cfDetach = CFDataCreate(NULL, detachedContent, detachedContentLen); 461 CFDataRef cfDetach = CFDataCreate(NULL, detachedContent, detachedContentLen); 761 bool detachedContent, 808 if(detachedContent) { 809 ortn = CMSEncoderSetHasDetachedContent(cmsEncoder, detachedContent); 893 detachedContent, 958 FALSE, /* detachedContent */ 342 doParse( const unsigned char *data, unsigned dataLen, const unsigned char *detachedContent, unsigned detachedContentLen, bool multiUpdate, CT_Vfy vfyOp, const CSSM_OID *eContentVfy, int numSignersVfy, int numCertsVfy, bool parseSignerCert, const char *certFileBase, bool customDecoder, bool manTrustEval, CFMutableArrayRef anchorArray, bool quiet, CFDataRef *outData) argument 756 doSign( CFTypeRef signerOrArray, const unsigned char *inData, unsigned inDataLen, bool multiUpdate, bool detachedContent, const CSSM_OID *eContentType, CMSSignedAttributes attrs, CFTypeRef otherCerts, bool customCoder, bool getCmsMsg, CMSCertificateChainMode chainMode, bool quiet, CFDataRef *outData) argument 1175 bool detachedContent = false; local [all...] |
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/cmstool/ |
H A D | cmstool.cpp | 57 printf(" -D detachedContent -- detached content (parse only)\n"); 298 fprintf(stderr, "<provided detachedContent, but msg has digests> "); 318 fprintf(stderr, "<Msg has no digest: need detachedContent> "); 664 bool detachedContent, 720 detachedContent, 729 detachedContent); 1021 bool detachedContent = false; local 1082 detachedContent = true; 1168 detachedContent, eContentType, 660 doSign( SecIdentityRef signerId, const unsigned char *inData, unsigned inDataLen, bool detachedContent, const CSSM_OID *eContentType, unsigned char **outData, unsigned *outDataLen) argument
|