Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to generate my own timestamp

843811Dec 3 2009 — edited Jan 5 2010
Hi everyone,

At this time, i have to generate a timestamp for a record of a database. I have to canonicalizate the data, obtain the hash of it and do the timestamping. I have googled a lot, but im confused. I think that the tsp library of bouncy castle only allow to send a timestamp request to a TSA, so its not what i need. So, i dont know if is "criptographically correct", i think that i have to do the canonicalization, then obtain the hash, create a temporal with the hash and date and sign this in pkcs7. If this is correct, i dont have any idea of doing de canonicalization or the pkcs7 singature. Also, i have seen examples of sign with cms at bouncycastle library, but i dont understand at all the parameteres needed for my requirements.

I hope someone could understand what im trying to do (i didnt explained so well) :)

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 2 2010
Added on Dec 3 2009
6 comments
561 views