Package | Description |
---|---|
io.jsonwebtoken | |
io.jsonwebtoken.security |
Modifier and Type | Field and Description |
---|---|
static AeadAlgorithm |
Jwts.ENC.A128CBC_HS256
AES_128_CBC_HMAC_SHA_256 authenticated encryption algorithm as defined by
RFC 7518, Section 5.2.3. |
static AeadAlgorithm |
Jwts.ENC.A128GCM
"AES GCM using 128-bit key" as defined by
RFC 7518, Section 5.31.
|
static AeadAlgorithm |
Jwts.ENC.A192CBC_HS384
AES_192_CBC_HMAC_SHA_384 authenticated encryption algorithm, as defined by
RFC 7518, Section 5.2.4. |
static AeadAlgorithm |
Jwts.ENC.A192GCM
"AES GCM using 192-bit key" as defined by
RFC 7518, Section 5.31.
|
static AeadAlgorithm |
Jwts.ENC.A256CBC_HS512
AES_256_CBC_HMAC_SHA_512 authenticated encryption algorithm, as defined by
RFC 7518, Section 5.2.5. |
static AeadAlgorithm |
Jwts.ENC.A256GCM
"AES GCM using 256-bit key" as defined by
RFC 7518, Section 5.31.
|
Modifier and Type | Method and Description |
---|---|
NestedCollection<AeadAlgorithm,JwtParserBuilder> |
JwtParserBuilder.enc()
Configures the parser's supported
AeadAlgorithm s used to decrypt JWE payloads. |
static Registry<String,AeadAlgorithm> |
Jwts.ENC.get()
Returns all standard JWA Cryptographic
Algorithms for Content Encryption defined in the
JSON Web Signature and Encryption
Algorithms Registry.
|
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. |
JwtBuilder |
JwtBuilder.encryptWith(SecretKey key,
AeadAlgorithm enc)
Encrypts the constructed JWT with the specified symmetric
key using the provided enc ryption
algorithm, producing a JWE. |
Modifier and Type | Method and Description |
---|---|
AeadAlgorithm |
KeyRequest.getEncryptionAlgorithm()
Returns the
AeadAlgorithm that will be called for encryption or decryption after processing the
KeyRequest . |
Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.