I need to add a ContentTimeStamp in an document. If I read right, in this moment the ContentTimeStamp is not supported.

If I understand it, for this I need to add manually the "id-aa-ets-contentTimeStamp" attribute using the component TELMessageSigned. After, call the TimeStamp method (I have configured the TSPClient property of the TELMessageSigned at TELHTTPTSPClient)

Content timestamps are actually supported by the CMS classes (TElSignedCMSMessage, TElCMSSignature). To add content timestamp with the use of TElMessageSigner class, you will need to request the timestamp manually before calling the Sign() method (by passing the hash of the document to the TElHTTPTSPClient.Timestamp() method), and then add the obtained timestamp as a id-aa-ets-contentTimeStamp attribute.

The document you attached is not a PKCS#7/CMS-compliant one. Instead, it contains data of "TimestampedData" type (defined in RFC 5544). This format is not supported by SecureBlackbox at the moment. Sorry for disappointing you.

You are also welcome to submit a request to the wish list. If there is a good demand for this feature, we will add it to the product.

Unfortunately, no quick-and-dirty workaround is available. Timestamped Data type is too different to PKCS#7 structure, so it cannot be implemented, say, by simply tweaking existing PKCS#7 code. It would take dozens of hours to implement this format correctly from scratch, and we just cannot sacrifice our current tasks for the sake of implementing it out-of-band. Indeed, we are looking positively at covering as large scope of security standards as possible, but this standard is just too different to all the functionality we already have. Sorry.

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.