class JWSAlg
extends BaseExtendedEnum
Re-export
import { JWSAlg } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";
"alg"
(Algorithm) Header Parameter Values for JWS.
For more details, see RFC 7518, 3.1. "alg" (Algorithm) Header Parameter Values for JWS.
Constructors
Properties
optional
hashAlg: HashAlgThe hash algorithm.
Static Properties
readonly
ES256: JWSAlgES256
(7); ECDSA using P-256 and SHA-256.
readonly
ES384: JWSAlgES384
(8); ECDSA using P-384 and SHA-384.
readonly
ES512: JWSAlgES512
(9); ECDSA using P-521 and SHA-512.
readonly
HS256: JWSAlgHS256
(1); HMAC using SHA-256.
readonly
HS384: JWSAlgHS384
(2); HMAC using SHA-384.
readonly
HS512: JWSAlgHS512
(3); HMAC using SHA-512.
readonly
NONE: JWSAlgnone
(0); No digital signature or MAC performed.
readonly
PS256: JWSAlgPS256
(10); RSASSA-PSS using SHA-256 and MGF1 with SHA-256.
readonly
PS384: JWSAlgPS384
(11); RSASSA-PSS using SHA-384 and MGF1 with SHA-384.
readonly
PS512: JWSAlgPS512
(12); RSASSA-PSS using SHA-512 and MGF1 with SHA-512.
readonly
RS256: JWSAlgRS256
(4); RSASSA-PKCS-v1_5 using SHA-256.
readonly
RS384: JWSAlgRS38
(5); RSASSA-PKCS-v1_5 using SHA-384.
readonly
RS512: JWSAlgRS512
(6); RSASSA-PKCS-v1_5 using SHA-512.