JwtAlgorithm enumeration

Specifies supported JWT signing algorithms.

public enum JwtAlgorithm

Values

name value description
Auto 0 Automatically selects the algorithm based on the key length.
HS256 1 HMAC using SHA-256.
HS384 2 HMAC using SHA-384.
HS512 3 HMAC using SHA-512.
RS256 4 RSA using SHA-256.
RS384 5 RSA using SHA-384.
RS512 6 RSA using SHA-512.
PS256 7 RSASSA-PSS using SHA-256.
PS384 8 RSASSA-PSS using SHA-384.
PS512 9 RSASSA-PSS using SHA-512.
ES256 10 ECDSA using P-256 and SHA-256.
ES384 11 ECDSA using P-384 and SHA-384.
ES512 12 ECDSA using P-521 and SHA-512.

See Also