Skip to main content
Module

x/authlete_deno/mod.ts>JWEAlg

Authlete Library for Deno
Go to Latest
class JWEAlg
Re-export
import { JWEAlg } from "https://deno.land/x/authlete_deno@v1.2.9/mod.ts";

"alg" (Algorithm) Header Parameter Values for JWE.

For more details, see RFC 7518, 4.1. "alg" (Algorithm) Header Parameter Values for JWE.

Static Properties

readonly
A128GCMKW: JWEAlg

A128GCMKW (12); Key wrapping with AES GCM using 128 bit key.

readonly
A128KW: JWEAlg

A128KW (4); AES Key Wrap with default initial value using 128 bit key.

readonly
A192GCMKW: JWEAlg

A192GCMKW (13); Key wrapping with AES GCM using 192 bit key.

readonly
A192KW: JWEAlg

A192KW (5); AES Key Wrap with default initial value using 192 bit key.

readonly
A256GCMKW: JWEAlg

A256GCMKW (14); Key wrapping with AES GCM using 256 bit key.

readonly
A256KW: JWEAlg

A256KW (6); AES Key Wrap with default initial value using 256 bit key.

readonly
DIR: JWEAlg

dir (7); Direct use of a shared symmetric key as the CEK.

readonly
ECDH_ES: JWEAlg

ECDH-ES (8); Elliptic Curve Diffie-Hellman Ephemeral Static key agreement using Concat KDF.

readonly
ECDH_ES_A128KW: JWEAlg

ECDH-ES+A128KW (9); ECDH-ES using Concat KDF and CEK wrapped with 'A128KW'.

readonly
ECDH_ES_A192KW: JWEAlg

ECDH-ES+A192KW (10); ECDH-ES using Concat KDF and CEK wrapped with 'A192KW'.

readonly
ECDH_ES_A256KW: JWEAlg

ECDH-ES+A256KW (11); ECDH-ES using Concat KDF and CEK wrapped with 'A256KW'.

readonly
PBES2_HS256_A128KW: JWEAlg

PBES2-HS256+A128KW (15); PBES2 with HMAC SHA-256 and 'A128KW'.

readonly
PBES2_HS384_A192KW: JWEAlg

PBES2-HS384+A192KW (16); PBES2 with HMAC SHA-384 and 'A192KW'.

readonly
PBES2_HS512_A256KW: JWEAlg

PBES2-HS512+A256KW (17); PBES2 with HMAC SHA-512 and 'A256KW'.

readonly
RSA_OAEP: JWEAlg

RSA-OAEP (2); RSAES OAEP using default parameters.

readonly
RSA_OAEP_256: JWEAlg

RSA-OAEP-256 (3); RSAES OAEP using SHA-256 and MGF1 with SHA-256.

readonly
RSA1_5: JWEAlg

RSA1_5 (1); RSAES-PKCS1-V1_5.