Timestamp PKCS#7 structure (RFC 3161)
With the Aloaha Smart Card Connector / API it is possible to timestamp any PKCS #7 signature. Timestamps are RFC 3161 compatible.
Please find some sample code below
Configure TSA Server
dim tsa
set tsa = createobject("aloahacsp.aloaha_csp")
call tsa.show_TSAConfig(cbool(false))
set tsa = nothing
Timestamp a PKCs #7 structure. Input and Output has to be in HEX format.
dim tsa
dim input 'input contains PKCS7 signature in HEX
dim output 'output will hold PKCS7 stamped in HEX
set tsa = createobject("aloahacsp.aloaha_csp")
output = tsa.TimeStamp_PKCS7(cstr(input))
set tsa = nothing
Aloaha Software / Knowledge Base / Smart Card API / Timestamp PKCS7 Signature