Package | Description |
---|---|
io.jsonwebtoken | |
io.jsonwebtoken.security |
Modifier and Type | Field and Description |
---|---|
static KeyAlgorithm<SecretKey,SecretKey> |
Jwts.KEY.DIRECT
Key algorithm reflecting direct use of a shared symmetric key as the JWE AEAD encryption key, as defined
by RFC 7518 (JWA), Section 4.5.
|
static KeyAlgorithm<PublicKey,PrivateKey> |
Jwts.KEY.ECDH_ES
Key Agreement with
ECDH-ES using Concat KDF as defined by
RFC 7518 (JWA), Section 4.6. |
static KeyAlgorithm<PublicKey,PrivateKey> |
Jwts.KEY.ECDH_ES_A128KW
Key Agreement with Key Wrapping via
ECDH-ES using Concat KDF and CEK wrapped with "A128KW" as defined by
RFC 7518 (JWA), Section 4.6. |
static KeyAlgorithm<PublicKey,PrivateKey> |
Jwts.KEY.ECDH_ES_A192KW
Key Agreement with Key Wrapping via
ECDH-ES using Concat KDF and CEK wrapped with "A192KW" as defined by
RFC 7518 (JWA), Section 4.6. |
static KeyAlgorithm<PublicKey,PrivateKey> |
Jwts.KEY.ECDH_ES_A256KW
Key Agreement with Key Wrapping via
ECDH-ES using Concat KDF and CEK wrapped with "A256KW" as defined by
RFC 7518 (JWA), Section 4.6. |
static KeyAlgorithm<Password,Password> |
Jwts.KEY.PBES2_HS256_A128KW
Key encryption algorithm using
PBES2 with HMAC SHA-256 and "A128KW" wrapping
as defined by
RFC 7518 (JWA), Section 4.8. |
static KeyAlgorithm<Password,Password> |
Jwts.KEY.PBES2_HS384_A192KW
Key encryption algorithm using
PBES2 with HMAC SHA-384 and "A192KW" wrapping
as defined by
RFC 7518 (JWA), Section 4.8. |
static KeyAlgorithm<Password,Password> |
Jwts.KEY.PBES2_HS512_A256KW
Key encryption algorithm using
PBES2 with HMAC SHA-512 and "A256KW" wrapping
as defined by
RFC 7518 (JWA), Section 4.8. |
static KeyAlgorithm<PublicKey,PrivateKey> |
Jwts.KEY.RSA_OAEP
Key Encryption with
RSAES OAEP using default parameters , as defined by
RFC 7518 (JWA), Section 4.3. |
static KeyAlgorithm<PublicKey,PrivateKey> |
Jwts.KEY.RSA_OAEP_256
Key Encryption with
RSAES OAEP using SHA-256 and MGF1 with SHA-256 , as defined by
RFC 7518 (JWA), Section 4.3. |
static KeyAlgorithm<PublicKey,PrivateKey> |
Jwts.KEY.RSA1_5
Key Encryption with
RSAES-PKCS1-v1_5 , as defined by
RFC 7518 (JWA), Section 4.2. |
Modifier and Type | Method and Description |
---|---|
static Registry<String,KeyAlgorithm<?,?>> |
Jwts.KEY.get()
Returns all standard JWA standard Cryptographic
Algorithms for Key Management..
|
NestedCollection<KeyAlgorithm<?,?>,JwtParserBuilder> |
JwtParserBuilder.key()
Configures the parser's supported
KeyAlgorithm s used to obtain a JWE's decryption key. |
Modifier and Type | Method and Description |
---|---|
<K extends Key> |
JwtBuilder.encryptWith(K key,
KeyAlgorithm<? super K,?> keyAlg,
AeadAlgorithm enc)
Encrypts the constructed JWT using the specified
enc algorithm with the symmetric key produced by the
keyAlg when invoked with the given key , producing a JWE. |
Modifier and Type | Interface and Description |
---|---|
interface |
SecretKeyAlgorithm
A
KeyAlgorithm that uses symmetric SecretKey s to obtain AEAD encryption and decryption keys. |
Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.