A B C D E F G H I J K L M N O P Q R S T U V X 

A

AbstractCompressionCodec - Class in io.jsonwebtoken.impl.compression
Abstract class that asserts arguments and wraps IOException with CompressionException.
AbstractCompressionCodec() - Constructor for class io.jsonwebtoken.impl.compression.AbstractCompressionCodec
 
AbstractTextCodec - Class in io.jsonwebtoken.impl
 
AbstractTextCodec() - Constructor for class io.jsonwebtoken.impl.AbstractTextCodec
 
addClaims(Map<String, Object>) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
addClaims(Map<String, Object>) - Method in interface io.jsonwebtoken.JwtBuilder
Adds all given name/value pairs to the JSON Claims in the payload.
addObjectToArray(A[], O) - Static method in class io.jsonwebtoken.lang.Objects
Append the given object to the given array, returning a new array consisting of the input array contents plus the given object.
addStringToArray(String[], String) - Static method in class io.jsonwebtoken.lang.Strings
Append the given String to the given String array, returning a new array consisting of the input array contents plus the given String.
ALGORITHM - Static variable in interface io.jsonwebtoken.JwsHeader
JWS Algorithm header parameter name: "alg"
AndroidBase64Codec - Class in io.jsonwebtoken.impl
 
AndroidBase64Codec() - Constructor for class io.jsonwebtoken.impl.AndroidBase64Codec
 
applyRelativePath(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Apply the given relative path to the given path, assuming standard Java folder separation (i.e.
Arrays - Class in io.jsonwebtoken.lang
 
arrayToCommaDelimitedString(Object[]) - Static method in class io.jsonwebtoken.lang.Strings
Convenience method to return a String array as a CSV String.
arrayToDelimitedString(Object[], String) - Static method in class io.jsonwebtoken.lang.Strings
Convenience method to return a String array as a delimited (e.g.
arrayToList(Object) - Static method in class io.jsonwebtoken.lang.Collections
Convert the supplied array into a List.
Assert - Class in io.jsonwebtoken.lang
 
AUDIENCE - Static variable in interface io.jsonwebtoken.Claims
JWT Audience claims parameter name: "aud"

B

BASE64 - Static variable in interface io.jsonwebtoken.impl.TextCodec
 
Base64Codec - Class in io.jsonwebtoken.impl
 
Base64Codec() - Constructor for class io.jsonwebtoken.impl.Base64Codec
 
BASE64URL - Static variable in interface io.jsonwebtoken.impl.TextCodec
 
Base64UrlCodec - Class in io.jsonwebtoken.impl
 
Base64UrlCodec() - Constructor for class io.jsonwebtoken.impl.Base64UrlCodec
 
base64UrlEncode(Object, String) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
BOUNCY_CASTLE_AVAILABLE - Static variable in class io.jsonwebtoken.lang.RuntimeEnvironment
 
builder() - Static method in class io.jsonwebtoken.Jwts
Returns a new JwtBuilder instance that can be configured and then used to create JWT compact serialized strings.

C

capitalize(String) - Static method in class io.jsonwebtoken.lang.Strings
Capitalize a String, changing the first letter to upper case as per Character.toUpperCase(char).
caseInsensitiveValueOf(E[], String) - Static method in class io.jsonwebtoken.lang.Objects
Case insensitive alternative to Enum.valueOf(Class, String).
claim(String, Object) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
claim(String, Object) - Method in interface io.jsonwebtoken.JwtBuilder
Sets a custom JWT Claims parameter value.
ClaimJwtException - Exception in io.jsonwebtoken
ClaimJwtException is a subclass of the JwtException that is thrown after a validation of an JTW claim failed.
ClaimJwtException(Header, Claims, String) - Constructor for exception io.jsonwebtoken.ClaimJwtException
 
ClaimJwtException(Header, Claims, String, Throwable) - Constructor for exception io.jsonwebtoken.ClaimJwtException
 
Claims - Interface in io.jsonwebtoken
A JWT Claims set.
claims() - Static method in class io.jsonwebtoken.Jwts
Returns a new Claims instance to be used as a JWT body.
claims(Map<String, Object>) - Static method in class io.jsonwebtoken.Jwts
Returns a new Claims instance populated with the specified name/value pairs.
ClaimsMutator<T extends ClaimsMutator> - Interface in io.jsonwebtoken
Mutation (modifications) to a Claims instance.
Classes - Class in io.jsonwebtoken.lang
 
clean(byte[]) - Static method in class io.jsonwebtoken.lang.Arrays
 
clean(String) - Static method in class io.jsonwebtoken.lang.Strings
 
clean(CharSequence) - Static method in class io.jsonwebtoken.lang.Strings
 
cleanPath(String) - Static method in class io.jsonwebtoken.lang.Strings
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
clear() - Method in class io.jsonwebtoken.impl.JwtMap
 
Clock - Interface in io.jsonwebtoken
A clock represents a time source that can be used when creating and verifying JWTs.
Collections - Class in io.jsonwebtoken.lang
 
collectionToCommaDelimitedString(Collection<?>) - Static method in class io.jsonwebtoken.lang.Strings
Convenience method to return a Collection as a CSV String.
collectionToDelimitedString(Collection<?>, String, String, String) - Static method in class io.jsonwebtoken.lang.Strings
Convenience method to return a Collection as a delimited (e.g.
collectionToDelimitedString(Collection<?>, String) - Static method in class io.jsonwebtoken.lang.Strings
Convenience method to return a Collection as a delimited (e.g.
commaDelimitedListToSet(String) - Static method in class io.jsonwebtoken.lang.Strings
Convenience method to convert a CSV string list to a set.
commaDelimitedListToStringArray(String) - Static method in class io.jsonwebtoken.lang.Strings
Convert a CSV list into an array of Strings.
compact() - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
compact() - Method in interface io.jsonwebtoken.JwtBuilder
Actually builds the JWT and serializes it to a compact, URL-safe string according to the JWT Compact Serialization rules.
compress(byte[]) - Method in interface io.jsonwebtoken.CompressionCodec
Compresses the specified byte array according to the compression algorithm.
compress(byte[]) - Method in class io.jsonwebtoken.impl.compression.AbstractCompressionCodec
Asserts that payload is not null and calls doCompress
COMPRESSION_ALGORITHM - Static variable in interface io.jsonwebtoken.Header
JWT Compression Algorithm header parameter name: "zip"
CompressionCodec - Interface in io.jsonwebtoken
Compresses and decompresses byte arrays according to a compression algorithm.
CompressionCodecResolver - Interface in io.jsonwebtoken
Looks for a JWT calg header, and if found, returns the corresponding CompressionCodec the parser can use to decompress the JWT body.
CompressionCodecs - Class in io.jsonwebtoken
Provides default implementations of the CompressionCodec interface.
CompressionCodecs - Class in io.jsonwebtoken.impl.compression
Deprecated.
use CompressionCodecs instead.
CompressionException - Exception in io.jsonwebtoken
Exception indicating that either compressing or decompressing an JWT body failed.
CompressionException(String) - Constructor for exception io.jsonwebtoken.CompressionException
 
CompressionException(String, Throwable) - Constructor for exception io.jsonwebtoken.CompressionException
 
compressWith(CompressionCodec) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
compressWith(CompressionCodec) - Method in interface io.jsonwebtoken.JwtBuilder
Compresses the JWT body using the specified CompressionCodec.
concatenateStringArrays(String[], String[]) - Static method in class io.jsonwebtoken.lang.Strings
Concatenate the given String arrays into one, with overlapping array elements included twice.
contains(Iterator, Object) - Static method in class io.jsonwebtoken.lang.Collections
Check whether the given Iterator contains the given element.
contains(Enumeration, Object) - Static method in class io.jsonwebtoken.lang.Collections
Check whether the given Enumeration contains the given element.
containsAny(Collection, Collection) - Static method in class io.jsonwebtoken.lang.Collections
Return true if any element in 'candidates' is contained in 'source'; otherwise returns false.
containsConstant(Enum<?>[], String) - Static method in class io.jsonwebtoken.lang.Objects
Check whether the given array of enum constants contains a constant with the given name, ignoring case when determining a match.
containsConstant(Enum<?>[], String, boolean) - Static method in class io.jsonwebtoken.lang.Objects
Check whether the given array of enum constants contains a constant with the given name.
containsElement(Object[], Object) - Static method in class io.jsonwebtoken.lang.Objects
Check whether the given array contains the given element.
containsInstance(Collection, Object) - Static method in class io.jsonwebtoken.lang.Collections
Check whether the given Collection contains the given element instance.
containsKey(Object) - Method in class io.jsonwebtoken.impl.JwtMap
 
containsValue(Object) - Method in class io.jsonwebtoken.impl.JwtMap
 
containsWhitespace(CharSequence) - Static method in class io.jsonwebtoken.lang.Strings
Check whether the given CharSequence contains any whitespace characters.
containsWhitespace(String) - Static method in class io.jsonwebtoken.lang.Strings
Check whether the given String contains any whitespace characters.
CONTENT_TYPE - Static variable in interface io.jsonwebtoken.Header
JWT Content Type header parameter name: "cty"
countOccurrencesOf(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Count the occurrences of the substring in string s.
createSignatureInstance() - Method in class io.jsonwebtoken.impl.crypto.RsaProvider
 
createSignatureValidator(SignatureAlgorithm, Key) - Method in class io.jsonwebtoken.impl.crypto.DefaultSignatureValidatorFactory
 
createSignatureValidator(SignatureAlgorithm, Key) - Method in interface io.jsonwebtoken.impl.crypto.SignatureValidatorFactory
 
createSignatureValidator(SignatureAlgorithm, Key) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
createSigner(SignatureAlgorithm, Key) - Method in class io.jsonwebtoken.impl.crypto.DefaultSignerFactory
 
createSigner(SignatureAlgorithm, Key) - Method in interface io.jsonwebtoken.impl.crypto.SignerFactory
 
createSigner(SignatureAlgorithm, Key) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
CRITICAL - Static variable in interface io.jsonwebtoken.JwsHeader
JWS Critical header parameter name: "crit"

D

decode(String) - Method in class io.jsonwebtoken.impl.AndroidBase64Codec
 
decode(String) - Method in class io.jsonwebtoken.impl.Base64Codec
 
decode(String) - Method in class io.jsonwebtoken.impl.Base64UrlCodec
 
decode(String) - Method in interface io.jsonwebtoken.impl.TextCodec
 
decodeToString(String) - Method in class io.jsonwebtoken.impl.AbstractTextCodec
 
decodeToString(String) - Method in interface io.jsonwebtoken.impl.TextCodec
 
decompress(byte[]) - Method in interface io.jsonwebtoken.CompressionCodec
Decompresses the specified compressed byte array according to the compression algorithm.
decompress(byte[]) - Method in class io.jsonwebtoken.impl.compression.AbstractCompressionCodec
Asserts the compressed bytes is not null and calls doDecompress
DefaultClaims - Class in io.jsonwebtoken.impl
 
DefaultClaims() - Constructor for class io.jsonwebtoken.impl.DefaultClaims
 
DefaultClaims(Map<String, Object>) - Constructor for class io.jsonwebtoken.impl.DefaultClaims
 
DefaultClock - Class in io.jsonwebtoken.impl
Default Clock implementation.
DefaultClock() - Constructor for class io.jsonwebtoken.impl.DefaultClock
 
DefaultCompressionCodecResolver - Class in io.jsonwebtoken.impl.compression
Default implementation of CompressionCodecResolver that supports the following:
DefaultCompressionCodecResolver() - Constructor for class io.jsonwebtoken.impl.compression.DefaultCompressionCodecResolver
 
DefaultHeader<T extends Header<T>> - Class in io.jsonwebtoken.impl
 
DefaultHeader() - Constructor for class io.jsonwebtoken.impl.DefaultHeader
 
DefaultHeader(Map<String, Object>) - Constructor for class io.jsonwebtoken.impl.DefaultHeader
 
DefaultJws<B> - Class in io.jsonwebtoken.impl
 
DefaultJws(JwsHeader, B, String) - Constructor for class io.jsonwebtoken.impl.DefaultJws
 
DefaultJwsHeader - Class in io.jsonwebtoken.impl
 
DefaultJwsHeader() - Constructor for class io.jsonwebtoken.impl.DefaultJwsHeader
 
DefaultJwsHeader(Map<String, Object>) - Constructor for class io.jsonwebtoken.impl.DefaultJwsHeader
 
DefaultJwt<B> - Class in io.jsonwebtoken.impl
 
DefaultJwt(Header, B) - Constructor for class io.jsonwebtoken.impl.DefaultJwt
 
DefaultJwtBuilder - Class in io.jsonwebtoken.impl
 
DefaultJwtBuilder() - Constructor for class io.jsonwebtoken.impl.DefaultJwtBuilder
 
DefaultJwtParser - Class in io.jsonwebtoken.impl
 
DefaultJwtParser() - Constructor for class io.jsonwebtoken.impl.DefaultJwtParser
 
DefaultJwtSignatureValidator - Class in io.jsonwebtoken.impl.crypto
 
DefaultJwtSignatureValidator(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.DefaultJwtSignatureValidator
 
DefaultJwtSignatureValidator(SignatureValidatorFactory, SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.DefaultJwtSignatureValidator
 
DefaultJwtSigner - Class in io.jsonwebtoken.impl.crypto
 
DefaultJwtSigner(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.DefaultJwtSigner
 
DefaultJwtSigner(SignerFactory, SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.DefaultJwtSigner
 
DefaultSignatureValidatorFactory - Class in io.jsonwebtoken.impl.crypto
 
DefaultSignatureValidatorFactory() - Constructor for class io.jsonwebtoken.impl.crypto.DefaultSignatureValidatorFactory
 
DefaultSignerFactory - Class in io.jsonwebtoken.impl.crypto
 
DefaultSignerFactory() - Constructor for class io.jsonwebtoken.impl.crypto.DefaultSignerFactory
 
DefaultTextCodecFactory - Class in io.jsonwebtoken.impl
 
DefaultTextCodecFactory() - Constructor for class io.jsonwebtoken.impl.DefaultTextCodecFactory
 
DEFLATE - Static variable in class io.jsonwebtoken.CompressionCodecs
Codec implementing the JWA standard deflate compression algorithm
DEFLATE - Static variable in class io.jsonwebtoken.impl.compression.CompressionCodecs
Deprecated.
DeflateCompressionCodec - Class in io.jsonwebtoken.impl.compression
Codec implementing the deflate compression algorithm.
DeflateCompressionCodec() - Constructor for class io.jsonwebtoken.impl.compression.DeflateCompressionCodec
 
delete(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Delete all occurrences of the given substring.
deleteAny(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Delete any character in a given String.
delimitedListToStringArray(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Take a String which is a delimited list and convert it to a String array.
delimitedListToStringArray(String, String, String) - Static method in class io.jsonwebtoken.lang.Strings
Take a String which is a delimited list and convert it to a String array.
DEPRECATED_COMPRESSION_ALGORITHM - Static variable in interface io.jsonwebtoken.Header
Deprecated.
doCompress(byte[]) - Method in class io.jsonwebtoken.impl.compression.AbstractCompressionCodec
Implement this method to do the actual work of compressing the payload
doCompress(byte[]) - Method in class io.jsonwebtoken.impl.compression.DeflateCompressionCodec
 
doCompress(byte[]) - Method in class io.jsonwebtoken.impl.compression.GzipCompressionCodec
 
doDecompress(byte[]) - Method in class io.jsonwebtoken.impl.compression.AbstractCompressionCodec
Implement this method to do the actual work of decompressing the compressed bytes.
doDecompress(byte[]) - Method in class io.jsonwebtoken.impl.compression.DeflateCompressionCodec
 
doDecompress(byte[]) - Method in class io.jsonwebtoken.impl.compression.GzipCompressionCodec
 
doesNotContain(String, String, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that the given text does not contain the given substring.
doesNotContain(String, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that the given text does not contain the given substring.
doGetMacInstance() - Method in class io.jsonwebtoken.impl.crypto.MacSigner
 
doSetParameter(Signature, PSSParameterSpec) - Method in class io.jsonwebtoken.impl.crypto.RsaProvider
 
doSign(byte[]) - Method in class io.jsonwebtoken.impl.crypto.EllipticCurveSigner
 
doSign(byte[]) - Method in class io.jsonwebtoken.impl.crypto.RsaSigner
 
doVerify(Signature, PublicKey, byte[], byte[]) - Method in class io.jsonwebtoken.impl.crypto.EllipticCurveSignatureValidator
 
doVerify(Signature, PublicKey, byte[], byte[]) - Method in class io.jsonwebtoken.impl.crypto.RsaSignatureValidator
 

E

EllipticCurveProvider - Class in io.jsonwebtoken.impl.crypto
ElliptiCurve crypto provider.
EllipticCurveProvider(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.EllipticCurveProvider
 
EllipticCurveSignatureValidator - Class in io.jsonwebtoken.impl.crypto
 
EllipticCurveSignatureValidator(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.EllipticCurveSignatureValidator
 
EllipticCurveSigner - Class in io.jsonwebtoken.impl.crypto
 
EllipticCurveSigner(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.EllipticCurveSigner
 
enableBouncyCastleIfPossible() - Static method in class io.jsonwebtoken.lang.RuntimeEnvironment
 
encode(String) - Method in class io.jsonwebtoken.impl.AbstractTextCodec
 
encode(byte[]) - Method in class io.jsonwebtoken.impl.AndroidBase64Codec
 
encode(byte[]) - Method in class io.jsonwebtoken.impl.Base64Codec
 
encode(byte[]) - Method in class io.jsonwebtoken.impl.Base64UrlCodec
 
encode(String) - Method in interface io.jsonwebtoken.impl.TextCodec
 
encode(byte[]) - Method in interface io.jsonwebtoken.impl.TextCodec
 
endsWithIgnoreCase(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Test if the given String ends with the specified suffix, ignoring upper/lower case.
ensureClaims() - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
ensureHeader() - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
ensurePadding(char[]) - Method in class io.jsonwebtoken.impl.Base64UrlCodec
 
entrySet() - Method in class io.jsonwebtoken.impl.JwtMap
 
equals(Object) - Method in class io.jsonwebtoken.impl.JwtMap
 
EXPIRATION - Static variable in interface io.jsonwebtoken.Claims
JWT Expiration claims parameter name: "exp"
ExpiredJwtException - Exception in io.jsonwebtoken
Exception indicating that a JWT was accepted after it expired and must be rejected.
ExpiredJwtException(Header, Claims, String) - Constructor for exception io.jsonwebtoken.ExpiredJwtException
 
ExpiredJwtException(Header, Claims, String, Throwable) - Constructor for exception io.jsonwebtoken.ExpiredJwtException
 

F

findCommonElementType(Collection) - Static method in class io.jsonwebtoken.lang.Collections
Find the common element type of the given Collection, if any.
findFirstMatch(Collection, Collection) - Static method in class io.jsonwebtoken.lang.Collections
Return the first element in 'candidates' that is contained in 'source'.
findValueOfType(Collection<?>, Class<T>) - Static method in class io.jsonwebtoken.lang.Collections
Find a single value of the given type in the given Collection.
findValueOfType(Collection<?>, Class<?>[]) - Static method in class io.jsonwebtoken.lang.Collections
Find a single value of one of the given types in the given Collection: searching the Collection for a value of the first type, then searching for a value of the second type, etc.
FixedClock - Class in io.jsonwebtoken.impl
A Clock implementation that is constructed with a seed timestamp and always reports that same timestamp.
FixedClock() - Constructor for class io.jsonwebtoken.impl.FixedClock
Creates a new fixed clock using new Date() as the seed timestamp.
FixedClock(Date) - Constructor for class io.jsonwebtoken.impl.FixedClock
Creates a new fixed clock using the specified seed timestamp.
forName(String) - Static method in class io.jsonwebtoken.lang.Classes
Attempts to load the specified class name from the current thread's context class loader, then the current ClassLoader (Classes.class.getClassLoader()), then the system/application ClassLoader (ClassLoader.getSystemClassLoader(), in that order.
forName(String) - Static method in enum io.jsonwebtoken.SignatureAlgorithm
Looks up and returns the corresponding SignatureAlgorithm enum instance based on a case-insensitive name comparison.

G

generateKey() - Static method in class io.jsonwebtoken.impl.crypto.MacProvider
Generates a new secure-random 512 bit secret key suitable for creating and verifying HMAC signatures.
generateKey(SignatureAlgorithm) - Static method in class io.jsonwebtoken.impl.crypto.MacProvider
Generates a new secure-random secret key of a length suitable for creating and verifying HMAC signatures according to the specified SignatureAlgorithm using JJWT's default SecureRandom instance.
generateKey(SignatureAlgorithm, SecureRandom) - Static method in class io.jsonwebtoken.impl.crypto.MacProvider
Generates a new secure-random secret key of a length suitable for creating and verifying HMAC signatures according to the specified SignatureAlgorithm using the specified SecureRandom number generator.
generateKeyPair() - Static method in class io.jsonwebtoken.impl.crypto.EllipticCurveProvider
Generates a new secure-random key pair assuming strength enough for the SignatureAlgorithm.ES512 algorithm.
generateKeyPair(SignatureAlgorithm) - Static method in class io.jsonwebtoken.impl.crypto.EllipticCurveProvider
Generates a new secure-random key pair of sufficient strength for the specified Elliptic Curve SignatureAlgorithm (must be one of ES256, ES384 or ES512) using JJWT's default SecureRandom instance.
generateKeyPair(SignatureAlgorithm, SecureRandom) - Static method in class io.jsonwebtoken.impl.crypto.EllipticCurveProvider
Generates a new secure-random key pair of sufficient strength for the specified Elliptic Curve SignatureAlgorithm (must be one of ES256, ES384 or ES512) using the specified SecureRandom random number generator.
generateKeyPair(String, String, SignatureAlgorithm, SecureRandom) - Static method in class io.jsonwebtoken.impl.crypto.EllipticCurveProvider
Generates a new secure-random key pair of sufficient strength for the specified Elliptic Curve SignatureAlgorithm (must be one of ES256, ES384 or ES512) using the specified SecureRandom random number generator via the specified JCA provider and algorithm name.
generateKeyPair() - Static method in class io.jsonwebtoken.impl.crypto.RsaProvider
Generates a new RSA secure-random 4096 bit key pair.
generateKeyPair(int) - Static method in class io.jsonwebtoken.impl.crypto.RsaProvider
Generates a new RSA secure-randomly key pair of the specified size using JJWT's default SecureRandom instance.
generateKeyPair(int, SecureRandom) - Static method in class io.jsonwebtoken.impl.crypto.RsaProvider
Generates a new RSA secure-random key pair of the specified size using the given SecureRandom number generator.
generateKeyPair(String, int, SecureRandom) - Static method in class io.jsonwebtoken.impl.crypto.RsaProvider
Generates a new secure-random key pair of the specified size using the specified SecureRandom according to the specified jcaAlgorithmName.
get(String, Class<T>) - Method in interface io.jsonwebtoken.Claims
 
get(String, Class<T>) - Method in class io.jsonwebtoken.impl.DefaultClaims
 
get(Object) - Method in class io.jsonwebtoken.impl.JwtMap
 
getAlgorithm() - Method in class io.jsonwebtoken.impl.DefaultJwsHeader
 
getAlgorithm() - Method in interface io.jsonwebtoken.JwsHeader
Returns the JWS alg (algorithm) header value or null if not present.
getAlgorithmName() - Method in interface io.jsonwebtoken.CompressionCodec
The algorithm name to use as the JWT's calg header value.
getAlgorithmName() - Method in class io.jsonwebtoken.impl.compression.DeflateCompressionCodec
 
getAlgorithmName() - Method in class io.jsonwebtoken.impl.compression.GzipCompressionCodec
 
getAudience() - Method in interface io.jsonwebtoken.Claims
Returns the JWT aud (audience) value or null if not present.
getAudience() - Method in class io.jsonwebtoken.impl.DefaultClaims
 
getBody() - Method in class io.jsonwebtoken.impl.DefaultJws
 
getBody() - Method in class io.jsonwebtoken.impl.DefaultJwt
 
getBody() - Method in interface io.jsonwebtoken.Jwt
Returns the JWT body, either a String or a Claims instance.
getClaimName() - Method in exception io.jsonwebtoken.InvalidClaimException
 
getClaims() - Method in exception io.jsonwebtoken.ClaimJwtException
 
getClaimValue() - Method in exception io.jsonwebtoken.InvalidClaimException
 
getCompressionAlgorithm() - Method in interface io.jsonwebtoken.Header
Returns the JWT calg (Compression Algorithm) header value or null if not present.
getCompressionAlgorithm() - Method in class io.jsonwebtoken.impl.DefaultHeader
 
getConstructor(Class<T>, Class...) - Static method in class io.jsonwebtoken.lang.Classes
 
getContentType() - Method in interface io.jsonwebtoken.Header
Returns the cty (Content Type) header value or null if not present.
getContentType() - Method in class io.jsonwebtoken.impl.DefaultHeader
 
getDate(String) - Method in class io.jsonwebtoken.impl.JwtMap
 
getDescription() - Method in enum io.jsonwebtoken.SignatureAlgorithm
Returns the JWA algorithm description.
getDisplayString(Object) - Static method in class io.jsonwebtoken.lang.Objects
Return a content-based String representation if obj is not null; otherwise returns an empty String.
getExpiration() - Method in interface io.jsonwebtoken.Claims
Returns the JWT exp (expiration) timestamp or null if not present.
getExpiration() - Method in class io.jsonwebtoken.impl.DefaultClaims
 
getFamilyName() - Method in enum io.jsonwebtoken.SignatureAlgorithm
Returns the cryptographic family name of the signature algorithm.
getFilename(String) - Static method in class io.jsonwebtoken.lang.Strings
Extract the filename from the given path, e.g.
getFilenameExtension(String) - Static method in class io.jsonwebtoken.lang.Strings
Extract the filename extension from the given path, e.g.
getHeader() - Method in exception io.jsonwebtoken.ClaimJwtException
 
getHeader() - Method in class io.jsonwebtoken.impl.DefaultJws
 
getHeader() - Method in class io.jsonwebtoken.impl.DefaultJwt
 
getHeader() - Method in interface io.jsonwebtoken.Jwt
Returns the JWT Header or null if not present.
getId() - Method in interface io.jsonwebtoken.Claims
Returns the JWTs jti (JWT ID) value or null if not present.
getId() - Method in class io.jsonwebtoken.impl.DefaultClaims
 
getIdentityHexString(Object) - Static method in class io.jsonwebtoken.lang.Objects
Return a hex String form of an object's identity hash code.
getIssuedAt() - Method in interface io.jsonwebtoken.Claims
Returns the JWT iat (issued at) timestamp or null if not present.
getIssuedAt() - Method in class io.jsonwebtoken.impl.DefaultClaims
 
getIssuer() - Method in interface io.jsonwebtoken.Claims
Returns the JWT iss (issuer) value or null if not present.
getIssuer() - Method in class io.jsonwebtoken.impl.DefaultClaims
 
getJcaName() - Method in enum io.jsonwebtoken.SignatureAlgorithm
Returns the name of the JCA algorithm used to compute the signature.
getKeyId() - Method in class io.jsonwebtoken.impl.DefaultJwsHeader
 
getKeyId() - Method in interface io.jsonwebtoken.JwsHeader
Returns the JWS kid (Key ID) header value or null if not present.
getMacInstance() - Method in class io.jsonwebtoken.impl.crypto.MacSigner
 
getNotBefore() - Method in interface io.jsonwebtoken.Claims
Returns the JWT nbf (not before) timestamp or null if not present.
getNotBefore() - Method in class io.jsonwebtoken.impl.DefaultClaims
 
getResourceAsStream(String) - Static method in class io.jsonwebtoken.lang.Classes
Returns the specified resource by checking the current thread's context class loader, then the current ClassLoader (Classes.class.getClassLoader()), then the system/application ClassLoader (ClassLoader.getSystemClassLoader(), in that order, using getResourceAsStream(name).
getSignature() - Method in class io.jsonwebtoken.impl.DefaultJws
 
getSignature() - Method in interface io.jsonwebtoken.Jws
 
getSignatureByteArrayLength(SignatureAlgorithm) - Static method in class io.jsonwebtoken.impl.crypto.EllipticCurveProvider
Returns the expected signature byte array length (R + S parts) for the specified ECDSA algorithm.
getString(String) - Method in class io.jsonwebtoken.impl.JwtMap
 
getSubject() - Method in interface io.jsonwebtoken.Claims
Returns the JWT sub (subject) value or null if not present.
getSubject() - Method in class io.jsonwebtoken.impl.DefaultClaims
 
getSystemProperty(String) - Method in class io.jsonwebtoken.impl.DefaultTextCodecFactory
 
getTextCodec() - Method in class io.jsonwebtoken.impl.DefaultTextCodecFactory
 
getTextCodec() - Method in interface io.jsonwebtoken.impl.TextCodecFactory
 
getType() - Method in interface io.jsonwebtoken.Header
Returns the typ (type) header value or null if not present.
getType() - Method in class io.jsonwebtoken.impl.DefaultHeader
 
getValue() - Method in enum io.jsonwebtoken.SignatureAlgorithm
Returns the JWA algorithm name constant.
GZIP - Static variable in class io.jsonwebtoken.CompressionCodecs
Codec implementing the gzip compression algorithm.
GZIP - Static variable in class io.jsonwebtoken.impl.compression.CompressionCodecs
Deprecated.
GzipCompressionCodec - Class in io.jsonwebtoken.impl.compression
Codec implementing the gzip compression algorithm.
GzipCompressionCodec() - Constructor for class io.jsonwebtoken.impl.compression.GzipCompressionCodec
 

H

hashCode() - Method in class io.jsonwebtoken.impl.JwtMap
 
hashCode(boolean) - Static method in class io.jsonwebtoken.lang.Objects
Return the same value as Boolean.hashCode().
hashCode(double) - Static method in class io.jsonwebtoken.lang.Objects
Return the same value as Double.hashCode().
hashCode(float) - Static method in class io.jsonwebtoken.lang.Objects
Return the same value as Float.hashCode().
hashCode(long) - Static method in class io.jsonwebtoken.lang.Objects
Return the same value as Long.hashCode().
hasLength(String, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that the given String is not empty; that is, it must not be null and not the empty String.
hasLength(String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that the given String is not empty; that is, it must not be null and not the empty String.
hasLength(CharSequence) - Static method in class io.jsonwebtoken.lang.Strings
Check that the given CharSequence is neither null nor of length 0.
hasLength(String) - Static method in class io.jsonwebtoken.lang.Strings
Check that the given String is neither null nor of length 0.
hasText(String, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that the given String has valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that the given String has valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(CharSequence) - Static method in class io.jsonwebtoken.lang.Strings
Check whether the given CharSequence has actual text.
hasText(String) - Static method in class io.jsonwebtoken.lang.Strings
Check whether the given String has actual text.
hasUniqueObject(Collection) - Static method in class io.jsonwebtoken.lang.Collections
Determine whether the given Collection only contains a single unique object.
Header<T extends Header<T>> - Interface in io.jsonwebtoken
header() - Static method in class io.jsonwebtoken.Jwts
Creates a new Header instance suitable for plaintext (not digitally signed) JWTs.
header(Map<String, Object>) - Static method in class io.jsonwebtoken.Jwts
Creates a new Header instance suitable for plaintext (not digitally signed) JWTs, populated with the specified name/value pairs.

I

ID - Static variable in interface io.jsonwebtoken.Claims
JWT JWT ID claims parameter name: "jti"
identityToString(Object) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of an object's overall identity.
INCORRECT_EXPECTED_CLAIM_MESSAGE_TEMPLATE - Static variable in exception io.jsonwebtoken.ClaimJwtException
 
IncorrectClaimException - Exception in io.jsonwebtoken
Exception thrown when discovering that a required claim does not equal the required value, indicating the JWT is invalid and may not be used.
IncorrectClaimException(Header, Claims, String) - Constructor for exception io.jsonwebtoken.IncorrectClaimException
 
IncorrectClaimException(Header, Claims, String, Throwable) - Constructor for exception io.jsonwebtoken.IncorrectClaimException
 
INSTANCE - Static variable in class io.jsonwebtoken.impl.crypto.DefaultSignatureValidatorFactory
 
INSTANCE - Static variable in class io.jsonwebtoken.impl.crypto.DefaultSignerFactory
 
INSTANCE - Static variable in class io.jsonwebtoken.impl.DefaultClock
Default static instance that may be shared.
instantiate(Constructor<T>, Object...) - Static method in class io.jsonwebtoken.lang.Classes
 
InstantiationException - Exception in io.jsonwebtoken.lang
 
InstantiationException(String, Throwable) - Constructor for exception io.jsonwebtoken.lang.InstantiationException
 
InvalidClaimException - Exception in io.jsonwebtoken
Exception indicating a parsed claim is invalid in some way.
InvalidClaimException(Header, Claims, String) - Constructor for exception io.jsonwebtoken.InvalidClaimException
 
InvalidClaimException(Header, Claims, String, Throwable) - Constructor for exception io.jsonwebtoken.InvalidClaimException
 
io.jsonwebtoken - package io.jsonwebtoken
 
io.jsonwebtoken.impl - package io.jsonwebtoken.impl
 
io.jsonwebtoken.impl.compression - package io.jsonwebtoken.impl.compression
 
io.jsonwebtoken.impl.crypto - package io.jsonwebtoken.impl.crypto
 
io.jsonwebtoken.lang - package io.jsonwebtoken.lang
 
isAndroid() - Method in class io.jsonwebtoken.impl.DefaultTextCodecFactory
 
isArray(Object) - Static method in class io.jsonwebtoken.lang.Objects
Determine whether the given object is an array: either an Object array or a primitive array.
isAssignable(Class, Class) - Static method in class io.jsonwebtoken.lang.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class, Class, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAvailable(String) - Static method in class io.jsonwebtoken.lang.Classes
 
isCheckedException(Throwable) - Static method in class io.jsonwebtoken.lang.Objects
Return whether the given throwable is a checked exception: that is, neither a RuntimeException nor an Error.
isCompatibleWithThrowsClause(Throwable, Class[]) - Static method in class io.jsonwebtoken.lang.Objects
Check whether the given exception is compatible with the exceptions declared in a throws clause.
isEllipticCurve() - Method in enum io.jsonwebtoken.SignatureAlgorithm
Returns true if the enum instance represents an Elliptic Curve signature algorithm, false otherwise.
isEmpty() - Method in class io.jsonwebtoken.impl.JwtMap
 
isEmpty(Collection) - Static method in class io.jsonwebtoken.lang.Collections
Return true if the supplied Collection is null or empty.
isEmpty(Map) - Static method in class io.jsonwebtoken.lang.Collections
Return true if the supplied Map is null or empty.
isEmpty(Object[]) - Static method in class io.jsonwebtoken.lang.Objects
Determine whether the given array is empty: i.e.
isEmpty(byte[]) - Static method in class io.jsonwebtoken.lang.Objects
Returns true if the specified byte array is null or of zero length, false otherwise.
isHmac() - Method in enum io.jsonwebtoken.SignatureAlgorithm
Returns true if the enum instance represents an HMAC signature algorithm, false otherwise.
isInstanceOf(Class, Object) - Static method in class io.jsonwebtoken.lang.Assert
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class, Object, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that the provided object is an instance of the provided class.
isJdkStandard() - Method in enum io.jsonwebtoken.SignatureAlgorithm
Returns true if the algorithm is supported by standard JDK distributions or false if the algorithm implementation is not in the JDK and must be provided by a separate runtime JCA Provider (like BouncyCastle for example).
isNull(Object, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that an object is null .
isNull(Object) - Static method in class io.jsonwebtoken.lang.Assert
Assert that an object is null .
isRsa() - Method in enum io.jsonwebtoken.SignatureAlgorithm
Returns true if the enum instance represents an RSA public/private key pair signature algorithm, false otherwise.
isSigned(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
isSigned(String) - Method in interface io.jsonwebtoken.JwtParser
Returns true if the specified JWT compact string represents a signed JWT (aka a 'JWS'), false otherwise.
ISSUED_AT - Static variable in interface io.jsonwebtoken.Claims
JWT Issued At claims parameter name: "iat"
ISSUER - Static variable in interface io.jsonwebtoken.Claims
JWT Issuer claims parameter name: "iss"
isTrue(boolean, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.
isTrue(boolean) - Static method in class io.jsonwebtoken.lang.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.
isValid(String, String) - Method in class io.jsonwebtoken.impl.crypto.DefaultJwtSignatureValidator
 
isValid(byte[], byte[]) - Method in class io.jsonwebtoken.impl.crypto.EllipticCurveSignatureValidator
 
isValid(String, String) - Method in interface io.jsonwebtoken.impl.crypto.JwtSignatureValidator
 
isValid(byte[], byte[]) - Method in class io.jsonwebtoken.impl.crypto.MacValidator
 
isValid(byte[], byte[]) - Method in class io.jsonwebtoken.impl.crypto.RsaSignatureValidator
 
isValid(byte[], byte[]) - Method in interface io.jsonwebtoken.impl.crypto.SignatureValidator
 

J

JSON_WEB_KEY - Static variable in interface io.jsonwebtoken.JwsHeader
JWS JSON Web Key header parameter name: "jwk"
JWK_SET_URL - Static variable in interface io.jsonwebtoken.JwsHeader
JWS JWT Set URL header parameter name: "jku"
Jws<B> - Interface in io.jsonwebtoken
An expanded (not compact/serialized) Signed JSON Web Token.
JwsHeader<T extends JwsHeader<T>> - Interface in io.jsonwebtoken
A JWS header.
jwsHeader() - Static method in class io.jsonwebtoken.Jwts
Returns a new JwsHeader instance suitable for digitally signed JWTs (aka 'JWS's).
jwsHeader(Map<String, Object>) - Static method in class io.jsonwebtoken.Jwts
Returns a new JwsHeader instance suitable for digitally signed JWTs (aka 'JWS's), populated with the specified name/value pairs.
Jwt<H extends Header,B> - Interface in io.jsonwebtoken
An expanded (not compact/serialized) JSON Web Token.
JWT_TYPE - Static variable in interface io.jsonwebtoken.Header
JWT Type (typ) value: "JWT"
JwtBuilder - Interface in io.jsonwebtoken
A builder for constructing JWTs.
JwtException - Exception in io.jsonwebtoken
Base class for JWT-related runtime exceptions.
JwtException(String) - Constructor for exception io.jsonwebtoken.JwtException
 
JwtException(String, Throwable) - Constructor for exception io.jsonwebtoken.JwtException
 
JwtHandler<T> - Interface in io.jsonwebtoken
A JwtHandler is invoked by a JwtParser after parsing a JWT to indicate the exact type of JWT or JWS parsed.
JwtHandlerAdapter<T> - Class in io.jsonwebtoken
An Adapter implementation of the JwtHandler interface that allows for anonymous subclasses to process only the JWT results that are known/expected for a particular use case.
JwtHandlerAdapter() - Constructor for class io.jsonwebtoken.JwtHandlerAdapter
 
JwtMap - Class in io.jsonwebtoken.impl
 
JwtMap() - Constructor for class io.jsonwebtoken.impl.JwtMap
 
JwtMap(Map<String, Object>) - Constructor for class io.jsonwebtoken.impl.JwtMap
 
JwtParser - Interface in io.jsonwebtoken
A parser for reading JWT strings, used to convert them into a Jwt object representing the expanded JWT.
Jwts - Class in io.jsonwebtoken
Factory class useful for creating instances of JWT interfaces.
JwtSignatureValidator - Interface in io.jsonwebtoken.impl.crypto
 
JwtSigner - Interface in io.jsonwebtoken.impl.crypto
 

K

KEY_ID - Static variable in interface io.jsonwebtoken.JwsHeader
JWS Key ID header parameter name: "kid"
keySet() - Method in class io.jsonwebtoken.impl.JwtMap
 

L

length(byte[]) - Static method in class io.jsonwebtoken.lang.Arrays
 

M

MacProvider - Class in io.jsonwebtoken.impl.crypto
 
MacProvider(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.MacProvider
 
MacSigner - Class in io.jsonwebtoken.impl.crypto
 
MacSigner(SignatureAlgorithm, byte[]) - Constructor for class io.jsonwebtoken.impl.crypto.MacSigner
 
MacSigner(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.MacSigner
 
MacValidator - Class in io.jsonwebtoken.impl.crypto
 
MacValidator(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.MacValidator
 
MalformedJwtException - Exception in io.jsonwebtoken
Exception indicating that a JWT was not correctly constructed and should be rejected.
MalformedJwtException(String) - Constructor for exception io.jsonwebtoken.MalformedJwtException
 
MalformedJwtException(String, Throwable) - Constructor for exception io.jsonwebtoken.MalformedJwtException
 
mergeArrayIntoCollection(Object, Collection) - Static method in class io.jsonwebtoken.lang.Collections
Merge the given array into the given Collection.
mergePropertiesIntoMap(Properties, Map) - Static method in class io.jsonwebtoken.lang.Collections
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
mergeStringArrays(String[], String[]) - Static method in class io.jsonwebtoken.lang.Strings
Merge the given String arrays into one, with overlapping array elements only included once.
MISSING_EXPECTED_CLAIM_MESSAGE_TEMPLATE - Static variable in exception io.jsonwebtoken.ClaimJwtException
 
MissingClaimException - Exception in io.jsonwebtoken
Exception thrown when discovering that a required claim is not present, indicating the JWT is invalid and may not be used.
MissingClaimException(Header, Claims, String) - Constructor for exception io.jsonwebtoken.MissingClaimException
 
MissingClaimException(Header, Claims, String, Throwable) - Constructor for exception io.jsonwebtoken.MissingClaimException
 

N

newInstance(String) - Static method in class io.jsonwebtoken.lang.Classes
 
newInstance(String, Object...) - Static method in class io.jsonwebtoken.lang.Classes
 
newInstance(Class<T>) - Static method in class io.jsonwebtoken.lang.Classes
 
newInstance(Class<T>, Object...) - Static method in class io.jsonwebtoken.lang.Classes
 
noNullElements(Object[], String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that an array has no null elements.
noNullElements(Object[]) - Static method in class io.jsonwebtoken.lang.Assert
Assert that an array has no null elements.
NOT_BEFORE - Static variable in interface io.jsonwebtoken.Claims
JWT Not Before claims parameter name: "nbf"
notEmpty(Object[], String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that an array has elements; that is, it must not be null and must have at least one element.
notEmpty(Object[]) - Static method in class io.jsonwebtoken.lang.Assert
Assert that an array has elements; that is, it must not be null and must have at least one element.
notEmpty(byte[], String) - Static method in class io.jsonwebtoken.lang.Assert
 
notEmpty(Collection, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that a collection has elements; that is, it must not be null and must have at least one element.
notEmpty(Collection) - Static method in class io.jsonwebtoken.lang.Assert
Assert that a collection has elements; that is, it must not be null and must have at least one element.
notEmpty(Map, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
notEmpty(Map) - Static method in class io.jsonwebtoken.lang.Assert
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
notNull(Object, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert that an object is not null .
notNull(Object) - Static method in class io.jsonwebtoken.lang.Assert
Assert that an object is not null .
now() - Method in interface io.jsonwebtoken.Clock
Returns the clock's current timestamp at the instant the method is invoked.
now() - Method in class io.jsonwebtoken.impl.DefaultClock
Simply returns new Date().
now() - Method in class io.jsonwebtoken.impl.FixedClock
 
nullSafeClassName(Object) - Static method in class io.jsonwebtoken.lang.Objects
Determine the class name for the given object.
nullSafeClose(Closeable...) - Static method in class io.jsonwebtoken.lang.Objects
 
nullSafeEquals(Object, Object) - Static method in class io.jsonwebtoken.lang.Objects
Determine if the given objects are equal, returning true if both are null or false if only one is null.
nullSafeHashCode(Object) - Static method in class io.jsonwebtoken.lang.Objects
Return as hash code for the given object; typically the value of Object.hashCode().
nullSafeHashCode(Object[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(boolean[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(byte[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(char[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(double[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(float[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(int[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(long[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(short[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeToString(Object) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the specified Object.
nullSafeToString(Object[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(boolean[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(byte[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(char[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(double[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(float[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(int[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(long[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(short[]) - Static method in class io.jsonwebtoken.lang.Objects
Return a String representation of the contents of the specified array.

O

Objects - Class in io.jsonwebtoken.lang
 
onClaimsJws(Jws<Claims>) - Method in interface io.jsonwebtoken.JwtHandler
This method is invoked when a JwtParser determines that the parsed JWT is a valid Claims JWS.
onClaimsJws(Jws<Claims>) - Method in class io.jsonwebtoken.JwtHandlerAdapter
 
onClaimsJwt(Jwt<Header, Claims>) - Method in interface io.jsonwebtoken.JwtHandler
This method is invoked when a JwtParser determines that the parsed JWT is a Claims JWT.
onClaimsJwt(Jwt<Header, Claims>) - Method in class io.jsonwebtoken.JwtHandlerAdapter
 
onPlaintextJws(Jws<String>) - Method in interface io.jsonwebtoken.JwtHandler
This method is invoked when a JwtParser determines that the parsed JWT is a plaintext JWS.
onPlaintextJws(Jws<String>) - Method in class io.jsonwebtoken.JwtHandlerAdapter
 
onPlaintextJwt(Jwt<Header, String>) - Method in interface io.jsonwebtoken.JwtHandler
This method is invoked when a JwtParser determines that the parsed JWT is a plaintext JWT.
onPlaintextJwt(Jwt<Header, String>) - Method in class io.jsonwebtoken.JwtHandlerAdapter
 

P

parse(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
parse(String, JwtHandler<T>) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
parse(String) - Method in interface io.jsonwebtoken.JwtParser
Parses the specified compact serialized JWT string based on the builder's current configuration state and returns the resulting JWT or JWS instance.
parse(String, JwtHandler<T>) - Method in interface io.jsonwebtoken.JwtParser
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.
parseClaimsJws(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
parseClaimsJws(String) - Method in interface io.jsonwebtoken.JwtParser
Parses the specified compact serialized JWS string based on the builder's current configuration state and returns the resulting Claims JWS instance.
parseClaimsJwt(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
parseClaimsJwt(String) - Method in interface io.jsonwebtoken.JwtParser
Parses the specified compact serialized JWT string based on the builder's current configuration state and returns the resulting unsigned plaintext JWT instance.
parseLocaleString(String) - Static method in class io.jsonwebtoken.lang.Strings
Parse the given localeString value into a Locale.
parsePlaintextJws(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
parsePlaintextJws(String) - Method in interface io.jsonwebtoken.JwtParser
Parses the specified compact serialized JWS string based on the builder's current configuration state and returns the resulting plaintext JWS instance.
parsePlaintextJwt(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
parsePlaintextJwt(String) - Method in interface io.jsonwebtoken.JwtParser
Parses the specified compact serialized JWT string based on the builder's current configuration state and returns the resulting unsigned plaintext JWT instance.
parser() - Static method in class io.jsonwebtoken.Jwts
Returns a new JwtParser instance that can be configured and then used to parse JWT strings.
pathEquals(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Compare two paths after normalization of them.
PrematureJwtException - Exception in io.jsonwebtoken
Exception indicating that a JWT was accepted before it is allowed to be accessed and must be rejected.
PrematureJwtException(Header, Claims, String) - Constructor for exception io.jsonwebtoken.PrematureJwtException
 
PrematureJwtException(Header, Claims, String, Throwable) - Constructor for exception io.jsonwebtoken.PrematureJwtException
 
put(String, Object) - Method in class io.jsonwebtoken.impl.JwtMap
 
putAll(Map<? extends String, ?>) - Method in class io.jsonwebtoken.impl.JwtMap
 

Q

quote(String) - Static method in class io.jsonwebtoken.lang.Strings
Quote the given String with single quotes.
quoteIfString(Object) - Static method in class io.jsonwebtoken.lang.Strings
Turn the given Object into a String with single quotes if it is a String; keeping the Object as-is else.

R

readValue(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
remove(Object) - Method in class io.jsonwebtoken.impl.JwtMap
 
removeDuplicateStrings(String[]) - Static method in class io.jsonwebtoken.lang.Strings
Remove duplicate Strings from the given array.
removePadding(byte[]) - Method in class io.jsonwebtoken.impl.Base64UrlCodec
 
replace(String, String, String) - Static method in class io.jsonwebtoken.lang.Strings
Replace all occurences of a substring within a string with another string.
require(String, Object) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
require(String, Object) - Method in interface io.jsonwebtoken.JwtParser
Ensures that the specified claimName exists in the parsed JWT.
requireAudience(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
requireAudience(String) - Method in interface io.jsonwebtoken.JwtParser
Ensures that the specified aud exists in the parsed JWT.
RequiredTypeException - Exception in io.jsonwebtoken
Exception thrown when Claims.get(String, Class) is called and the value does not match the type of the Class argument.
RequiredTypeException(String) - Constructor for exception io.jsonwebtoken.RequiredTypeException
 
RequiredTypeException(String, Throwable) - Constructor for exception io.jsonwebtoken.RequiredTypeException
 
requireExpiration(Date) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
requireExpiration(Date) - Method in interface io.jsonwebtoken.JwtParser
Ensures that the specified exp exists in the parsed JWT.
requireId(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
requireId(String) - Method in interface io.jsonwebtoken.JwtParser
Ensures that the specified jti exists in the parsed JWT.
requireIssuedAt(Date) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
requireIssuedAt(Date) - Method in interface io.jsonwebtoken.JwtParser
Ensures that the specified iat exists in the parsed JWT.
requireIssuer(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
requireIssuer(String) - Method in interface io.jsonwebtoken.JwtParser
Ensures that the specified iss exists in the parsed JWT.
requireNotBefore(Date) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
requireNotBefore(Date) - Method in interface io.jsonwebtoken.JwtParser
Ensures that the specified nbf exists in the parsed JWT.
requireSubject(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
requireSubject(String) - Method in interface io.jsonwebtoken.JwtParser
Ensures that the specified sub exists in the parsed JWT.
resolveCompressionCodec(Header) - Method in interface io.jsonwebtoken.CompressionCodecResolver
Looks for a JWT calg header, and if found, returns the corresponding CompressionCodec the parser can use to decompress the JWT body.
resolveCompressionCodec(Header) - Method in class io.jsonwebtoken.impl.compression.DefaultCompressionCodecResolver
 
resolveSigningKey(JwsHeader, Claims) - Method in interface io.jsonwebtoken.SigningKeyResolver
Returns the signing key that should be used to validate a digital signature for the Claims JWS with the specified header and claims.
resolveSigningKey(JwsHeader, String) - Method in interface io.jsonwebtoken.SigningKeyResolver
Returns the signing key that should be used to validate a digital signature for the Plaintext JWS with the specified header and plaintext payload.
resolveSigningKey(JwsHeader, Claims) - Method in class io.jsonwebtoken.SigningKeyResolverAdapter
 
resolveSigningKey(JwsHeader, String) - Method in class io.jsonwebtoken.SigningKeyResolverAdapter
 
resolveSigningKeyBytes(JwsHeader, Claims) - Method in class io.jsonwebtoken.SigningKeyResolverAdapter
Convenience method invoked by SigningKeyResolverAdapter.resolveSigningKey(JwsHeader, Claims) that obtains the necessary signing key bytes.
resolveSigningKeyBytes(JwsHeader, String) - Method in class io.jsonwebtoken.SigningKeyResolverAdapter
Convenience method invoked by SigningKeyResolverAdapter.resolveSigningKey(JwsHeader, String) that obtains the necessary signing key bytes.
RsaProvider - Class in io.jsonwebtoken.impl.crypto
 
RsaProvider(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.RsaProvider
 
RsaSignatureValidator - Class in io.jsonwebtoken.impl.crypto
 
RsaSignatureValidator(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.RsaSignatureValidator
 
RsaSigner - Class in io.jsonwebtoken.impl.crypto
 
RsaSigner(SignatureAlgorithm, Key) - Constructor for class io.jsonwebtoken.impl.crypto.RsaSigner
 
RuntimeEnvironment - Class in io.jsonwebtoken.lang
 

S

SEPARATOR_CHAR - Static variable in interface io.jsonwebtoken.JwtParser
 
setAlgorithm(String) - Method in class io.jsonwebtoken.impl.DefaultJwsHeader
 
setAlgorithm(String) - Method in interface io.jsonwebtoken.JwsHeader
Sets the JWT alg (Algorithm) header value.
setAllowedClockSkewSeconds(long) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
setAllowedClockSkewSeconds(long) - Method in interface io.jsonwebtoken.JwtParser
Sets the amount of clock skew in seconds to tolerate when verifying the local time against the exp and nbf claims.
setAudience(String) - Method in interface io.jsonwebtoken.Claims
Sets the JWT aud (audience) value.
setAudience(String) - Method in interface io.jsonwebtoken.ClaimsMutator
Sets the JWT aud (audience) value.
setAudience(String) - Method in class io.jsonwebtoken.impl.DefaultClaims
 
setAudience(String) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setAudience(String) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT Claims aud (audience) value.
setClaimName(String) - Method in exception io.jsonwebtoken.InvalidClaimException
 
setClaims(Claims) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setClaims(Map<String, Object>) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setClaims(Claims) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT payload to be a JSON Claims instance.
setClaims(Map<String, Object>) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT payload to be a JSON Claims instance populated by the specified name/value pairs.
setClaimValue(Object) - Method in exception io.jsonwebtoken.InvalidClaimException
 
setClock(Clock) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
setClock(Clock) - Method in interface io.jsonwebtoken.JwtParser
Sets the Clock that determines the timestamp to use when validating the parsed JWT.
setCompressionAlgorithm(String) - Method in interface io.jsonwebtoken.Header
Sets the JWT calg (Compression Algorithm) header parameter value.
setCompressionAlgorithm(String) - Method in class io.jsonwebtoken.impl.DefaultHeader
 
setCompressionCodecResolver(CompressionCodecResolver) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
setCompressionCodecResolver(CompressionCodecResolver) - Method in interface io.jsonwebtoken.JwtParser
Sets the CompressionCodecResolver used to acquire the CompressionCodec that should be used to decompress the JWT body.
setContentType(String) - Method in interface io.jsonwebtoken.Header
Sets the JWT cty (Content Type) header parameter value.
setContentType(String) - Method in class io.jsonwebtoken.impl.DefaultHeader
 
setDate(String, Date) - Method in class io.jsonwebtoken.impl.JwtMap
 
setExpiration(Date) - Method in interface io.jsonwebtoken.Claims
Sets the JWT exp (expiration) timestamp.
setExpiration(Date) - Method in interface io.jsonwebtoken.ClaimsMutator
Sets the JWT exp (expiration) timestamp.
setExpiration(Date) - Method in class io.jsonwebtoken.impl.DefaultClaims
 
setExpiration(Date) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setExpiration(Date) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT Claims exp (expiration) value.
setHeader(Header) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setHeader(Map<String, Object>) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setHeader(Header) - Method in interface io.jsonwebtoken.JwtBuilder
Sets (and replaces) any existing header with the specified header.
setHeader(Map<String, Object>) - Method in interface io.jsonwebtoken.JwtBuilder
Sets (and replaces) any existing header with the specified header.
setHeaderParam(String, Object) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setHeaderParam(String, Object) - Method in interface io.jsonwebtoken.JwtBuilder
Applies the specified name/value pair to the header.
setHeaderParams(Map<String, Object>) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setHeaderParams(Map<String, Object>) - Method in interface io.jsonwebtoken.JwtBuilder
Applies the specified name/value pairs to the header.
setId(String) - Method in interface io.jsonwebtoken.Claims
Sets the JWT jti (JWT ID) value.
setId(String) - Method in interface io.jsonwebtoken.ClaimsMutator
Sets the JWT jti (JWT ID) value.
setId(String) - Method in class io.jsonwebtoken.impl.DefaultClaims
 
setId(String) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setId(String) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT Claims jti (JWT ID) value.
setIssuedAt(Date) - Method in interface io.jsonwebtoken.Claims
Sets the JWT iat (issued at) timestamp.
setIssuedAt(Date) - Method in interface io.jsonwebtoken.ClaimsMutator
Sets the JWT iat (issued at) timestamp.
setIssuedAt(Date) - Method in class io.jsonwebtoken.impl.DefaultClaims
 
setIssuedAt(Date) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setIssuedAt(Date) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT Claims iat (issued at) value.
setIssuer(String) - Method in interface io.jsonwebtoken.Claims
Sets the JWT iss (issuer) value.
setIssuer(String) - Method in interface io.jsonwebtoken.ClaimsMutator
Sets the JWT iss (issuer) value.
setIssuer(String) - Method in class io.jsonwebtoken.impl.DefaultClaims
 
setIssuer(String) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setIssuer(String) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT Claims iss (issuer) value.
setKeyId(String) - Method in class io.jsonwebtoken.impl.DefaultJwsHeader
 
setKeyId(String) - Method in interface io.jsonwebtoken.JwsHeader
Sets the JWT kid (Key ID) header value.
setNotBefore(Date) - Method in interface io.jsonwebtoken.Claims
Sets the JWT nbf (not before) timestamp.
setNotBefore(Date) - Method in interface io.jsonwebtoken.ClaimsMutator
Sets the JWT nbf (not before) timestamp.
setNotBefore(Date) - Method in class io.jsonwebtoken.impl.DefaultClaims
 
setNotBefore(Date) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setNotBefore(Date) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT Claims nbf (not before) value.
setParameter(Signature, PSSParameterSpec) - Method in class io.jsonwebtoken.impl.crypto.RsaProvider
 
setPayload(String) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setPayload(String) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT's payload to be a plaintext (non-JSON) string.
setSigningKey(byte[]) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
setSigningKey(String) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
setSigningKey(Key) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
setSigningKey(byte[]) - Method in interface io.jsonwebtoken.JwtParser
Sets the signing key used to verify any discovered JWS digital signature.
setSigningKey(String) - Method in interface io.jsonwebtoken.JwtParser
Sets the signing key used to verify any discovered JWS digital signature.
setSigningKey(Key) - Method in interface io.jsonwebtoken.JwtParser
Sets the signing key used to verify any discovered JWS digital signature.
setSigningKeyResolver(SigningKeyResolver) - Method in class io.jsonwebtoken.impl.DefaultJwtParser
 
setSigningKeyResolver(SigningKeyResolver) - Method in interface io.jsonwebtoken.JwtParser
Sets the SigningKeyResolver used to acquire the signing key that should be used to verify a JWS's signature.
setSubject(String) - Method in interface io.jsonwebtoken.Claims
Sets the JWT sub (subject) value.
setSubject(String) - Method in interface io.jsonwebtoken.ClaimsMutator
Sets the JWT sub (subject) value.
setSubject(String) - Method in class io.jsonwebtoken.impl.DefaultClaims
 
setSubject(String) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
setSubject(String) - Method in interface io.jsonwebtoken.JwtBuilder
Sets the JWT Claims sub (subject) value.
setType(String) - Method in interface io.jsonwebtoken.Header
Sets the JWT typ (Type) header value.
setType(String) - Method in class io.jsonwebtoken.impl.DefaultHeader
 
setValue(String, Object) - Method in class io.jsonwebtoken.impl.JwtMap
 
sign(String) - Method in class io.jsonwebtoken.impl.crypto.DefaultJwtSigner
 
sign(byte[]) - Method in class io.jsonwebtoken.impl.crypto.EllipticCurveSigner
 
sign(String) - Method in interface io.jsonwebtoken.impl.crypto.JwtSigner
 
sign(byte[]) - Method in class io.jsonwebtoken.impl.crypto.MacSigner
 
sign(byte[]) - Method in class io.jsonwebtoken.impl.crypto.RsaSigner
 
sign(byte[]) - Method in interface io.jsonwebtoken.impl.crypto.Signer
 
SignatureAlgorithm - Enum in io.jsonwebtoken
Type-safe representation of standard JWT signature algorithm names as defined in the JSON Web Algorithms specification.
SignatureException - Exception in io.jsonwebtoken
Exception indicating that either calculating a signature or verifying an existing signature of a JWT failed.
SignatureException(String) - Constructor for exception io.jsonwebtoken.SignatureException
 
SignatureException(String, Throwable) - Constructor for exception io.jsonwebtoken.SignatureException
 
SignatureValidator - Interface in io.jsonwebtoken.impl.crypto
 
SignatureValidatorFactory - Interface in io.jsonwebtoken.impl.crypto
 
Signer - Interface in io.jsonwebtoken.impl.crypto
 
SignerFactory - Interface in io.jsonwebtoken.impl.crypto
 
SigningKeyResolver - Interface in io.jsonwebtoken
A SigningKeyResolver can be used by a JwtParser to find a signing key that should be used to verify a JWS signature.
SigningKeyResolverAdapter - Class in io.jsonwebtoken
An Adapter implementation of the SigningKeyResolver interface that allows subclasses to process only the type of JWS body that is known/expected for a particular case.
SigningKeyResolverAdapter() - Constructor for class io.jsonwebtoken.SigningKeyResolverAdapter
 
signWith(SignatureAlgorithm, byte[]) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
signWith(SignatureAlgorithm, String) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
signWith(SignatureAlgorithm, Key) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
signWith(SignatureAlgorithm, byte[]) - Method in interface io.jsonwebtoken.JwtBuilder
Signs the constructed JWT using the specified algorithm with the specified key, producing a JWS.
signWith(SignatureAlgorithm, String) - Method in interface io.jsonwebtoken.JwtBuilder
Signs the constructed JWT using the specified algorithm with the specified key, producing a JWS.
signWith(SignatureAlgorithm, Key) - Method in interface io.jsonwebtoken.JwtBuilder
Signs the constructed JWT using the specified algorithm with the specified key, producing a JWS.
size() - Method in class io.jsonwebtoken.impl.JwtMap
 
size(Collection) - Static method in class io.jsonwebtoken.lang.Collections
Returns the collection's size or 0 if the collection is null.
size(Map) - Static method in class io.jsonwebtoken.lang.Collections
Returns the map's size or 0 if the map is null.
sortStringArray(String[]) - Static method in class io.jsonwebtoken.lang.Strings
Turn given source String array into sorted array.
split(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Split a String at the first occurrence of the delimiter.
splitArrayElementsIntoProperties(String[], String) - Static method in class io.jsonwebtoken.lang.Strings
Take an array Strings and split each element based on the given delimiter.
splitArrayElementsIntoProperties(String[], String, String) - Static method in class io.jsonwebtoken.lang.Strings
Take an array Strings and split each element based on the given delimiter.
startsWithIgnoreCase(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Test if the given String starts with the specified prefix, ignoring upper/lower case.
state(boolean, String) - Static method in class io.jsonwebtoken.lang.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
state(boolean) - Static method in class io.jsonwebtoken.lang.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
Strings - Class in io.jsonwebtoken.lang
 
stripFilenameExtension(String) - Static method in class io.jsonwebtoken.lang.Strings
Strip the filename extension from the given path, e.g.
SUBJECT - Static variable in interface io.jsonwebtoken.Claims
JWT Subject claims parameter name: "sub"
substringMatch(CharSequence, int, CharSequence) - Static method in class io.jsonwebtoken.lang.Strings
Test whether the given string matches the given substring at the given index.

T

TextCodec - Interface in io.jsonwebtoken.impl
 
TextCodecFactory - Interface in io.jsonwebtoken.impl
 
toArray(Enumeration<E>, A[]) - Static method in class io.jsonwebtoken.lang.Collections
Marshal the elements from the given enumeration into an array of the given type.
toDate(Object, String) - Static method in class io.jsonwebtoken.impl.JwtMap
 
toIterator(Enumeration<E>) - Static method in class io.jsonwebtoken.lang.Collections
Adapt an enumeration to an iterator.
toJson(Object) - Method in class io.jsonwebtoken.impl.DefaultJwtBuilder
 
tokenizeToStringArray(String, String) - Static method in class io.jsonwebtoken.lang.Strings
Tokenize the given String into a String array via a StringTokenizer.
tokenizeToStringArray(String, String, boolean, boolean) - Static method in class io.jsonwebtoken.lang.Strings
Tokenize the given String into a String array via a StringTokenizer.
toLanguageTag(Locale) - Static method in class io.jsonwebtoken.lang.Strings
Determine the RFC 3066 compliant language tag, as used for the HTTP "Accept-Language" header.
toObjectArray(Object) - Static method in class io.jsonwebtoken.lang.Objects
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects).
toString() - Method in class io.jsonwebtoken.impl.DefaultJws
 
toString() - Method in class io.jsonwebtoken.impl.DefaultJwt
 
toString() - Method in class io.jsonwebtoken.impl.JwtMap
 
toStringArray(Collection<String>) - Static method in class io.jsonwebtoken.lang.Strings
Copy the given Collection into a String array.
toStringArray(Enumeration<String>) - Static method in class io.jsonwebtoken.lang.Strings
Copy the given Enumeration into a String array.
transcodeSignatureToConcat(byte[], int) - Static method in class io.jsonwebtoken.impl.crypto.EllipticCurveProvider
Transcodes the JCA ASN.1/DER-encoded signature into the concatenated R + S format expected by ECDSA JWS.
transcodeSignatureToDER(byte[]) - Static method in class io.jsonwebtoken.impl.crypto.EllipticCurveProvider
Transcodes the ECDSA JWS signature into ASN.1/DER format for use by the JCA verifier.
trimAllWhitespace(String) - Static method in class io.jsonwebtoken.lang.Strings
Trim all whitespace from the given String: leading, trailing, and inbetween characters.
trimArrayElements(String[]) - Static method in class io.jsonwebtoken.lang.Strings
Trim the elements of the given String array, calling String.trim() on each of them.
trimLeadingCharacter(String, char) - Static method in class io.jsonwebtoken.lang.Strings
Trim all occurences of the supplied leading character from the given String.
trimLeadingWhitespace(String) - Static method in class io.jsonwebtoken.lang.Strings
Trim leading whitespace from the given String.
trimTrailingCharacter(String, char) - Static method in class io.jsonwebtoken.lang.Strings
Trim all occurences of the supplied trailing character from the given String.
trimTrailingWhitespace(String) - Static method in class io.jsonwebtoken.lang.Strings
Trim trailing whitespace from the given String.
trimWhitespace(String) - Static method in class io.jsonwebtoken.lang.Strings
Trim leading and trailing whitespace from the given String.
TYPE - Static variable in interface io.jsonwebtoken.Header
JWT Type header parameter name: "typ"

U

uncapitalize(String) - Static method in class io.jsonwebtoken.lang.Strings
Uncapitalize a String, changing the first letter to lower case as per Character.toLowerCase(char).
UnknownClassException - Exception in io.jsonwebtoken.lang
A RuntimeException equivalent of the JDK's ClassNotFoundException, to maintain a RuntimeException paradigm.
UnknownClassException(String) - Constructor for exception io.jsonwebtoken.lang.UnknownClassException
Constructs a new UnknownClassException.
unqualify(String) - Static method in class io.jsonwebtoken.lang.Strings
Unqualify a string qualified by a '.' dot character.
unqualify(String, char) - Static method in class io.jsonwebtoken.lang.Strings
Unqualify a string qualified by a separator character.
UnsupportedJwtException - Exception in io.jsonwebtoken
Exception thrown when receiving a JWT in a particular format/configuration that does not match the format expected by the application.
UnsupportedJwtException(String) - Constructor for exception io.jsonwebtoken.UnsupportedJwtException
 
UnsupportedJwtException(String, Throwable) - Constructor for exception io.jsonwebtoken.UnsupportedJwtException
 
US_ASCII - Static variable in class io.jsonwebtoken.impl.AbstractTextCodec
 
UTF8 - Static variable in class io.jsonwebtoken.impl.AbstractTextCodec
 
UTF_8 - Static variable in class io.jsonwebtoken.lang.Strings
 

V

valueOf(String) - Static method in enum io.jsonwebtoken.SignatureAlgorithm
Returns the enum constant of this type with the specified name.
values() - Method in class io.jsonwebtoken.impl.JwtMap
 
values() - Static method in enum io.jsonwebtoken.SignatureAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.

X

X509_CERT_CHAIN - Static variable in interface io.jsonwebtoken.JwsHeader
JWS X.509 Certificate Chain header parameter name: "x5c"
X509_CERT_SHA1_THUMBPRINT - Static variable in interface io.jsonwebtoken.JwsHeader
JWS X.509 Certificate SHA-1 Thumbprint header parameter name: "x5t"
X509_CERT_SHA256_THUMBPRINT - Static variable in interface io.jsonwebtoken.JwsHeader
JWS X.509 Certificate SHA-256 Thumbprint header parameter name: "x5t#S256"
X509_URL - Static variable in interface io.jsonwebtoken.JwsHeader
JWS X.509 URL header parameter name: "x5u"
A B C D E F G H I J K L M N O P Q R S T U V X 

Copyright © 2018. All rights reserved.