| Package | Description |
|---|---|
| io.jsonwebtoken | |
| io.jsonwebtoken.impl |
| Modifier and Type | Method and Description |
|---|---|
static JwtParser |
Jwts.parser()
Returns a new
JwtParser instance that can be configured and then used to parse JWT strings. |
JwtParser |
JwtParser.setSigningKey(byte[] key)
Sets the signing key used to verify any discovered JWS digital signature.
|
JwtParser |
JwtParser.setSigningKey(Key key)
Sets the signing key used to verify any discovered JWS digital signature.
|
JwtParser |
JwtParser.setSigningKey(String base64EncodedKeyBytes)
Sets the signing key used to verify any discovered JWS digital signature.
|
JwtParser |
JwtParser.setSigningKeyResolver(SigningKeyResolver signingKeyResolver)
Sets the
SigningKeyResolver used to acquire the signing key that should be used to verify
a JWS's signature. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultJwtParser |
| Modifier and Type | Method and Description |
|---|---|
JwtParser |
DefaultJwtParser.setSigningKey(byte[] key) |
JwtParser |
DefaultJwtParser.setSigningKey(Key key) |
JwtParser |
DefaultJwtParser.setSigningKey(String base64EncodedKeyBytes) |
JwtParser |
DefaultJwtParser.setSigningKeyResolver(SigningKeyResolver signingKeyResolver) |
Copyright © 2014. All rights reserved.