SIGNATURE ALGORITHMS¶
The available algorithm are:
- NONE: no encryption
- HS256: HMAC using SHA-256 (using a secret String)
- HS384: HMAC using SHA-384 (using a secret String)
- HS512: HMAC using SHA-512 (using a secret String)
- RS256: RSASSA-PKCS-v1_5 using SHA-256 (using RSA private key file for encoding, public key file for decoding)
- RS384: RSASSA-PKCS-v1_5 using SHA-384 (using RSA private key file for encoding, public key file for decoding)
- RS512: RSASSA-PKCS-v1_5 using SHA-512 (using RSA private key file for encoding, public key file for decoding)
- PS256: RSASSA-PSS using SHA-256 and MGF1 with SHA-2561 (using RSA private key file for encoding, public key file for decoding)
- PS384: RSASSA-PSS using SHA-384 and MGF1 with SHA-3841 (using RSA private key file for encoding, public key file for decoding)
- PS512: RSASSA-PSS using SHA-512 and MGF1 with SHA-5121 (using RSA private key file for encoding, public key file for decoding)
- ES256: ECDSA using P-256 and SHA-256 (using Elliptic Curve private key file for encoding, public key file for decoding)
- ES384: ECDSA using P-384 and SHA-384 (using Elliptic Curve private key file for encoding, public key file for decoding)
- ES512: ECDSA using P-521 and SHA-512 (using Elliptic Curve private key file for encoding, public key file for decoding)