Hi All,

I am using time stamp patch for openssl to manipulate time stamps (rfc3161).

I am using I have been using TS_RESP structure and its helping methods to
retrieve the TimeStamp status info and time stamp token info.
Now when I use the following method.

PKCS7 * tstoken  = TS_RESP_get_token(tsreponse);

But tstoken is not valid, it is not null but when I try 
PKCS7_get0_signers it fails.

Attached is the time stamp response I am trying to parse.


I tried the following code as well

FILE *pRespFile = fopen("C:\\ts\\tstResponse.tsr","rb");
TS_RESP *pResp = d2i_TS_RESP_fp(pRespFile,NULL);
fclose(pRespFile);
 
Regards
Muhammad Aftab Alam

Attachment: TstResponse.tsr
Description: Binary data

Reply via email to