CAdES Generator

RFC 5126 CAdES Long Term Signature Generator by pure JavaScript

TOP | DOWNLOADS | TUTORIALS | API REFERENCE | DEMOS |
This tool can generate CAdES-BES/EPES signature and then convert it to CAdES-T by adding SignatureTimeStamp.
NOTE: Currently jsrsasign supports CAdES-BES, EPES and T formats.

(Step1) Generate CAdES-BES or EPES

Message to be signed (i.e. eContent):
SignerInfo
Signer's Private Key (PEM):
Signer's Certificate (PEM):
SignerInfo Attributes
SigningTime , SigningCertificate(V1) , SigningCertificateV2
Signature
Policy
(for EPES)
policy OID:
hash alg:
hash value:
RESULT:

(Step2)Parse CAdES-BES/EPES for adding SigTS

Parse above CAdES-BES/EPES signature and and get the signature value of signerInfo.

signature value of the first SignerInfo

(Step3)Get TimeStampToken

Get TimeStampToken for above signature value. You can get it from trusted time stamp authority or use sample TSA using jsrsasign.

TimeStampToken for the signature value in SignerInfo


(Step4)Convert CAdES-BES/EPES to CAdES-T

You can convert it to CAdES-T signature by adding SignatureTimeStamp attribute with the above signature time stamp.

CAdES-T signature as the result