All Classes and Interfaces

Class
Description
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Validate the "aud" (Audience) Claim per http://tools.ietf.org/html/rfc7519#section-4.1.3
 
Provides Base64 encoding and decoding as defined by RFC 2045.
 
Abstract superclass for Base-N encoders and decoders.
 
 
 
 
 
 
 
Deprecated.
please use CompactSerializer This class was added back in as of 0.3.7 to help support code compiled against pre v0.3.0 that was using it directly.
 
 
 
 
An implementation of Concatenation Key Derivation Function (aka Concat KDF or ConcatKDF) from Section 5.8.1 of National Institute of Standards and Technology (NIST), "Recommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography", NIST Special Publication 800-56A, Revision 2, May 2013.
Container factory for creating containers for JSON object and JSON array.
 
 
 
 
 
A simplified and stoppable SAX-like content handler for stream processing of JSON text.
A wrapper class for a crypto primitive object, such as Signature and Mac, which helps them transcend abstraction layers to be accessed in places they arguably should't be.
 
A callback interface for resolving the key (by looking at headers like "kid", for example) to use to decrypt the JWE.
Deprecated.
this wasn't a good abstraction...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Values for these (the NIST P-*) curve parameters taken from FIPS PUB 186-3 and http://www.nsa.gov/ia/_files/nist-routines.pdf The secp256k1 curve parameters came from inspecting the params on a key pair generated with ECGenParameterSpec("secp256k1")
A VerificationKeyResolver implementation that uses the key in the "jwk" JWS header per https://tools.ietf.org/html/rfc7515#section-4.1.3
This Resolver should be used only with great care and only for specific circumstances.
Error codes, as int values, used by this library for programmatic access to (some) specific reasons for JWT invalidity by using InvalidJwtException.hasErrorCode(int).
 
JWT validation error with stable error code and friendly error message
 
 
 
An implantation of SimpleGet (used by HttpsJwks) that uses URL and HttpsURLConnection to make basic HTTP GET requests.
 
 
 
 
 
 
 
 
Represents a set of JSON Web Keys (typically public keys) published at an HTTPS URI.
 
 
Deprecated.
in draft -26 of the JWT spec the name changed from IntDate to NumericDate.
 
 
An exception thrown when a JWT is considered invalid or otherwise cannot be processed/consumed.
 
 
 
|a:b:c| => |a|,|b|,|c| |:| => ||,|| |a:| => |a|,||
 
A JSON array.
Beans that support customized output of JSON text shall implement this interface.
Deprecated.
as of 0.3.7 please use JsonUtil
 
A JSON object.
Parser for JSON text.
Beans that support customized output of JSON text to a writer shall implement this interface.
This class should be the point of contact for JSON processing.
 
 
 
 
 
 
The JsonWebSignature class is used to produce and consume JSON Web Signature (JWS) as defined in RFC 7515.
 
 
 
A callback interface that provides a hook to call arbitrary methods on the JsonWebEncryption prior to the JwtConsumer using it to decrypt the content.
 
 
A callback interface that provides a hook to call arbitrary methods on the JsonWebSignature prior to the JwtConsumer using it to verify the signature.
 
 
Use the JwtConsumerBuilder to create the appropriate JwtConsumer for your JWT processing needs.
 
 
 
 
"key_ops" (Key Operations) Parameter values as defined at https://tools.ietf.org/html/rfc7517#section-4.3
 
 
 
 
 
 
 
 
 
 
 
 
ParseException explains why and where the error occurs in source JSON text.
An implementation of PBKDF2 from RFC 2898 using HMAC as the underlying pseudorandom function.
 
 
 
 
 
Allows for the caller of various JOSE and JWT functionality to specify a particular Java Cryptography Architecture provider by name for various cryptographic operations as well as a SecureRandom source of randomness.
The cipher mode to use when deciphering/decrypting/unwrapping an encrypted content encryption key
Signature Algorithm info used to override normal defaults.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
A simple HTTP GET
 
 
The result of a simple HTTP GET
 
 
 
 
 
 
 
 
 
A callback interface for resolving the key (by looking at headers like "kid", for example) to use to verify the JWS signature.