Package | Description |
---|---|
io.jsonwebtoken.security |
Modifier and Type | Field and Description |
---|---|
static HashAlgorithm |
Jwks.HASH.SHA256
|
static HashAlgorithm |
Jwks.HASH.SHA3_256
|
static HashAlgorithm |
Jwks.HASH.SHA3_384
|
static HashAlgorithm |
Jwks.HASH.SHA3_512
|
static HashAlgorithm |
Jwks.HASH.SHA384
|
static HashAlgorithm |
Jwks.HASH.SHA512
|
Modifier and Type | Method and Description |
---|---|
HashAlgorithm |
JwkThumbprint.getHashAlgorithm()
Returns the
HashAlgorithm used to compute the thumbprint. |
Modifier and Type | Method and Description |
---|---|
static Registry<String,HashAlgorithm> |
Jwks.HASH.get()
Returns a registry of various (but not all)
IANA Hash
Algorithms commonly used to compute
JWK Thumbprint s and ensure valid
JWK Thumbprint URIs. |
Modifier and Type | Method and Description |
---|---|
T |
JwkBuilder.idFromThumbprint(HashAlgorithm alg)
Sets the JWK's
kid value to be the Base64URL-encoding of its
thumbprint using the specified HashAlgorithm . |
JwkThumbprint |
Jwk.thumbprint(HashAlgorithm alg)
Computes and returns the canonical JWK Thumbprint of this
JWK using the specified hash algorithm.
|
Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.