Package | Description |
---|---|
io.jsonwebtoken | |
io.jsonwebtoken.security |
Modifier and Type | Class and Description |
---|---|
class |
SignatureException
Deprecated.
in favor of
SignatureException ; this class will be removed before 1.0 |
Modifier and Type | Method and Description |
---|---|
Jwt<?,?> |
JwtParser.parse(CharSequence jwt)
Parses the specified compact serialized JWT string based on the builder's current configuration state and
returns the resulting JWT, JWS, or JWE instance.
|
<T> T |
JwtParser.parse(CharSequence jwt,
JwtHandler<T> handler)
Deprecated.
since 0.12.0 in favor of
|
Jws<Claims> |
JwtParser.parseClaimsJws(CharSequence jws)
Deprecated.
since 0.12.0 in favor of
JwtParser.parseSignedClaims(CharSequence) . |
Jwt<Header,Claims> |
JwtParser.parseClaimsJwt(CharSequence jwt)
Deprecated.
since 0.12.0 in favor of
JwtParser.parseUnsecuredClaims(CharSequence) . |
Jws<byte[]> |
JwtParser.parseContentJws(CharSequence jws)
Deprecated.
since 0.12.0 in favor of
JwtParser.parseSignedContent(CharSequence) . |
Jwt<Header,byte[]> |
JwtParser.parseContentJwt(CharSequence jwt)
Deprecated.
since 0.12.0 in favor of
JwtParser.parseUnsecuredContent(CharSequence) . |
Modifier and Type | Class and Description |
---|---|
class |
InvalidKeyException
A
KeyException thrown when encountering a key that is not suitable for the required functionality, or
when attempting to use a Key in an incorrect or prohibited manner. |
class |
KeyException
|
class |
MalformedKeyException
Exception thrown when encountering a key or key material that is incomplete or improperly configured or
formatted and cannot be used as expected.
|
class |
MalformedKeySetException
Exception thrown when encountering a
JwkSet that is incomplete or improperly configured or
formatted and cannot be used as expected. |
class |
UnsupportedKeyException
Exception thrown when encountering a key or key material that is not supported or recognized.
|
class |
WeakKeyException
Exception thrown when encountering a key that is not strong enough (of sufficient length) to be used with
a particular algorithm or in a particular security context.
|
Modifier and Type | Method and Description |
---|---|
void |
AeadAlgorithm.decrypt(DecryptAeadRequest request,
OutputStream out)
Decrypts ciphertext and authenticates any
associated data ,
writing the decrypted plaintext to the provided out put stream. |
byte[] |
DigestAlgorithm.digest(R request)
Returns a cryptographic digest of the request
payload . |
void |
AeadAlgorithm.encrypt(AeadRequest req,
AeadResult res)
Encrypts plaintext and signs any
associated data , placing the resulting
ciphertext, initialization vector and authentication tag in the provided result . |
SecretKey |
KeyAlgorithm.getDecryptionKey(DecryptionKeyRequest<D> request)
Return the
SecretKey that should be used to decrypt a JWE via the request's specified
AeadAlgorithm . |
KeyResult |
KeyAlgorithm.getEncryptionKey(KeyRequest<E> request)
Return the
SecretKey that should be used to encrypt a JWE via the request's specified
AeadAlgorithm . |
boolean |
DigestAlgorithm.verify(V request)
|
Copyright © 2014–2025 jsonwebtoken.io. All rights reserved.