Package | Description |
---|---|
io.jsonwebtoken | |
io.jsonwebtoken.impl | |
io.jsonwebtoken.impl.crypto |
Modifier and Type | Method and Description |
---|---|
static SignatureAlgorithm |
SignatureAlgorithm.forName(String value)
Looks up and returns the corresponding
SignatureAlgorithm enum instance based on a
case-insensitive name comparison. |
Jwt |
JwtParser.parse(String jwt)
Parses the specified compact serialized JWT string based on the builder's current configuration state and
returns the resulting JWT or JWS instance.
|
<T> T |
JwtParser.parse(String jwt,
JwtHandler<T> handler)
Parses the specified compact serialized JWT string based on the builder's current configuration state and
invokes the specified
handler with the resulting JWT or JWS instance. |
Jws<Claims> |
JwtParser.parseClaimsJws(String claimsJws)
Parses the specified compact serialized JWS string based on the builder's current configuration state and
returns
the resulting Claims JWS instance.
|
Jwt<Header,Claims> |
JwtParser.parseClaimsJwt(String claimsJwt)
Parses the specified compact serialized JWT string based on the builder's current configuration state and
returns
the resulting unsigned plaintext JWT instance.
|
Jws<String> |
JwtParser.parsePlaintextJws(String plaintextJws)
Parses the specified compact serialized JWS string based on the builder's current configuration state and
returns
the resulting plaintext JWS instance.
|
Jwt<Header,String> |
JwtParser.parsePlaintextJwt(String plaintextJwt)
Parses the specified compact serialized JWT string based on the builder's current configuration state and
returns
the resulting unsigned plaintext JWT instance.
|
Modifier and Type | Method and Description |
---|---|
Jwt |
DefaultJwtParser.parse(String jwt) |
<T> T |
DefaultJwtParser.parse(String compact,
JwtHandler<T> handler) |
Modifier and Type | Method and Description |
---|---|
protected Mac |
MacSigner.getMacInstance() |
byte[] |
Signer.sign(byte[] data) |
Copyright © 2014. All rights reserved.