Welcome to the jsrsasign wiki! Project top page is here.
INSTALLATION
The 'jsrsasign' provides bower package and can be installed as following:
% bower install jsrsasign
It also provides npm packages for Node.js and can be installed as following ('-g' for global installation):
% npm install -g jsrsasign
Off course, you can also clone it by git:
% git clone https://github.com/kjur/jsrsasign.git
PROGRAMMING TUTORIAL
- Tutorial for MessageDigest class
- Tutorial for Signature class
- Tutorial for ASN1 DER Primitive Encoder
- Tutorial for generating X.509 certificate
- Tutorial for extensions when generating certificate
- Tutorial for parsing X.509 certificate
- Tutorial for interoperability with java signing
- Tutorial for interoperability with OpenSSL in ECDSA signing and verification
- Tutorial for accessing deep inside of ASN.1 structure by using new ASN1HEX.getIdxbyListEx
- Tutorial for JWS generation
- Tutorial for JWS verification
- Tutorial for JWT generation
- Tutorial for JWT verification
You can also find more sample codes in Node.js sample codes, tool web pages, test codes and API documents.
OBSOLETED OR DEPRECATED TUTORIAL
- Tutorial for ASN.1 structure classes of X.509 certificate OBSOLETED
- Tutorial for signing and verification with extended RSAKey class (DEPRECATED)
- Tutorial for reading PKCS5 RSA private key with password (class DELETED)
VERSION MIGRATION GUIDE
- jsrsasign 4.9.x to 5.0.0 JWS API migration guide
- jsrsasign 8.0.x to 9.0.0 Certificate and CSR API migration guide
NOTES
- DN(distinguished name) representation in jsrsasign (06-Nov-2016)
- jsrsasign subset package
- PKCS5 private key ASN.1 structure
- string converter list
- Commercial Product List Using jsrsasign
Sample Node script tools
NOTE: Before using there tools, please install "jsrsasign", "jsrsasign-util" and "commander" npm packages since "jsrsasign 6.0.0".