Searched refs:tsaResp (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10.1/Security-57031.1.35/Security/include/security_smime/
H A DtsaSupport.c493 static OSStatus sendTSARequestWithXPC(const unsigned char *tsaReq, size_t tsaReqLength, const unsigned char *tsaURL, unsigned char **tsaResp, size_t *tsaRespLength) argument
571 if ((result == noErr) && tsaResp && tsaRespLength)
574 *tsaResp = (unsigned char *)malloc(xpcTSRLength);
576 size_t bytesCopied = xpc_data_get_bytes(xpcTimeStampReply, *tsaResp, 0, xpcTSRLength);
580 if ((result = checkForNonDERResponse(*tsaResp,bytesCopied)))
804 unsigned char *tsaResp = NULL; local
808 require_noerr(result = sendTSARequestWithXPC(tsaReq, tsaReqLength, tsaURL, &tsaResp, &tsaRespLength), xit);
812 signedDERBlob->Data = tsaResp;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_smime/lib/
H A DtsaSupport.c493 static OSStatus sendTSARequestWithXPC(const unsigned char *tsaReq, size_t tsaReqLength, const unsigned char *tsaURL, unsigned char **tsaResp, size_t *tsaRespLength) argument
571 if ((result == noErr) && tsaResp && tsaRespLength)
574 *tsaResp = (unsigned char *)malloc(xpcTSRLength);
576 size_t bytesCopied = xpc_data_get_bytes(xpcTimeStampReply, *tsaResp, 0, xpcTSRLength);
580 if ((result = checkForNonDERResponse(*tsaResp,bytesCopied)))
804 unsigned char *tsaResp = NULL; local
808 require_noerr(result = sendTSARequestWithXPC(tsaReq, tsaReqLength, tsaURL, &tsaResp, &tsaRespLength), xit);
812 signedDERBlob->Data = tsaResp;

Completed in 129 milliseconds