Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractJsonWebToken - Class in org.eclipse.ditto.jwt.model
-
Abstract implementation of
JsonWebToken. - AbstractJsonWebToken(String) - Constructor for class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- AbstractJsonWebToken(JsonWebToken) - Constructor for class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- AUD - Static variable in class org.eclipse.ditto.jwt.model.JsonWebToken.JsonFields
-
JSON field containing the audience.
- Audience - Class in org.eclipse.ditto.jwt.model
-
Java representation of the audience field specified by: rfc7519.
- AZP - Static variable in class org.eclipse.ditto.jwt.model.JsonWebToken.JsonFields
-
JSON field containing the authorized party.
D
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.jwt.model.JwtAudienceInvalidException.Builder
- doBuild(DittoHeaders, String, String, Throwable, URI) - Method in class org.eclipse.ditto.jwt.model.JwtInvalidException.Builder
E
- empty() - Static method in class org.eclipse.ditto.jwt.model.Audience
-
builds and Audience without any principles.
- equals(Object) - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- equals(Object) - Method in class org.eclipse.ditto.jwt.model.Audience
- equals(Object) - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- equals(Object) - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebToken
- ERROR_CODE_PREFIX - Static variable in interface org.eclipse.ditto.jwt.model.JwtException
-
Error code prefix of errors related to JWT.
- EXP - Static variable in class org.eclipse.ditto.jwt.model.JsonWebToken.JsonFields
-
JSON field containing the expiration time.
F
- fromAuthorization(String) - Static method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebToken
-
Returns a new
ImmutableJsonWebTokenfor the givenauthorization. - fromJson(String) - Static method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
-
Returns a new
JsonWebKeyfor the givenjsonString. - fromJson(JsonObject) - Static method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
-
Returns a new
JsonWebKeyfor the givenjsonObject. - fromJson(JsonObject, DittoHeaders) - Static method in exception class org.eclipse.ditto.jwt.model.JwtAudienceInvalidException
-
Constructs a new
JwtAudienceInvalidExceptionobject with the exception message extracted from the given JSON object. - fromJson(JsonObject, DittoHeaders) - Static method in exception class org.eclipse.ditto.jwt.model.JwtInvalidException
-
Constructs a new
JwtInvalidExceptionobject with the exception message extracted from the given JSON object. - fromToken(String) - Static method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebToken
-
Returns a new
ImmutableJsonWebTokenfor the giventoken.
G
- getAlgorithm() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- getAlgorithm() - Method in interface org.eclipse.ditto.jwt.model.JsonWebKey
-
Returns the algorithm parameter.
- getAudience() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getAudience() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the audience of the token.
- getAuthorizedParty() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getAuthorizedParty() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the authorized party of the token.
- getBody() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getBody() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the body JSON object of the token.
- getCurveType() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- getCurveType() - Method in interface org.eclipse.ditto.jwt.model.JsonWebKey
-
Returns the curve type.
- getExpirationTime() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getExpirationTime() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the expiration time of the token.
- getExponent() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- getExponent() - Method in interface org.eclipse.ditto.jwt.model.JsonWebKey
-
Returns the exponent parameter.
- getHeader() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getHeader() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the header JSON object of the token.
- getId() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- getId() - Method in interface org.eclipse.ditto.jwt.model.JsonWebKey
-
Returns the id parameter.
- getIssuer() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getIssuer() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the issuer of the token.
- getKeyId() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getKeyId() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns identifier of the key.
- getModulus() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- getModulus() - Method in interface org.eclipse.ditto.jwt.model.JsonWebKey
-
Returns the modulus parameter.
- getPrinciples() - Method in class org.eclipse.ditto.jwt.model.Audience
-
Returns the principles of this audience.
- getScopes() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getScopes() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the scopes of the token.
- getSignature() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getSignature() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the signature of the token.
- getSinglePrinciple() - Method in class org.eclipse.ditto.jwt.model.Audience
-
Returns the single principle if this audience does contain only a single principle.
- getSubjects() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebToken
- getSubjects() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the subjects which can be used for authorization, e.g. the "sub" claim.
- getToken() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- getToken() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns the encoded token.
- getType() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- getType() - Method in interface org.eclipse.ditto.jwt.model.JsonWebKey
-
Returns the key type parameter.
- getUsage() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- getUsage() - Method in interface org.eclipse.ditto.jwt.model.JsonWebKey
-
Returns the usage parameter.
- getXCoordinate() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- getXCoordinate() - Method in interface org.eclipse.ditto.jwt.model.JsonWebKey
-
Returns the EC X coordinate.
- getYCoordinate() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- getYCoordinate() - Method in interface org.eclipse.ditto.jwt.model.JsonWebKey
-
Returns the EC Y coordinate.
H
- hashCode() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- hashCode() - Method in class org.eclipse.ditto.jwt.model.Audience
- hashCode() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- hashCode() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebToken
I
- ImmutableJsonWebKey - Class in org.eclipse.ditto.jwt.model
-
Immutable implementation of
JsonWebKey. - ImmutableJsonWebToken - Class in org.eclipse.ditto.jwt.model
-
Immutable implementation of
JsonWebTokenfor standard JSON Web Tokens. - isExpired() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- isExpired() - Method in interface org.eclipse.ditto.jwt.model.JsonWebToken
-
Returns true if the token is expired.
- ISS - Static variable in class org.eclipse.ditto.jwt.model.JsonWebToken.JsonFields
-
JSON field containing the issuer.
J
- JsonWebKey - Interface in org.eclipse.ditto.jwt.model
-
Representation for a JSON Web Key.
- JsonWebKey.JsonFields - Class in org.eclipse.ditto.jwt.model
-
An enumeration of the known
JsonFields of a JSON Web Key. - JsonWebToken - Interface in org.eclipse.ditto.jwt.model
-
Representation for a JSON Web Token.
- JsonWebToken.JsonFields - Class in org.eclipse.ditto.jwt.model
-
An enumeration of the known
JsonFields of a JSON Web Token. - JwtAudienceInvalidException - Exception Class in org.eclipse.ditto.jwt.model
- JwtAudienceInvalidException.Builder - Class in org.eclipse.ditto.jwt.model
-
A mutable builder with a fluent API for a
JwtAudienceInvalidException. - JwtException - Interface in org.eclipse.ditto.jwt.model
- JwtInvalidException - Exception Class in org.eclipse.ditto.jwt.model
- JwtInvalidException.Builder - Class in org.eclipse.ditto.jwt.model
-
A mutable builder with a fluent API for a
JwtInvalidException.
K
- KEY_ALGORITHM - Static variable in class org.eclipse.ditto.jwt.model.JsonWebKey.JsonFields
-
JSON field containing the key's algorithm.
- KEY_CURVE - Static variable in class org.eclipse.ditto.jwt.model.JsonWebKey.JsonFields
-
JSON field containing the key's EC curve.
- KEY_EXPONENT - Static variable in class org.eclipse.ditto.jwt.model.JsonWebKey.JsonFields
-
JSON field containing the key's exponent.
- KEY_ID - Static variable in class org.eclipse.ditto.jwt.model.JsonWebKey.JsonFields
-
JSON field containing the key's id.
- KEY_MODULUS - Static variable in class org.eclipse.ditto.jwt.model.JsonWebKey.JsonFields
-
JSON field containing the key's modulus.
- KEY_TYPE - Static variable in class org.eclipse.ditto.jwt.model.JsonWebKey.JsonFields
-
JSON field containing the key's type.
- KEY_USAGE - Static variable in class org.eclipse.ditto.jwt.model.JsonWebKey.JsonFields
-
JSON field containing the key's usage.
- KEY_X_COORDINATE - Static variable in class org.eclipse.ditto.jwt.model.JsonWebKey.JsonFields
-
JSON field containing the key's EC X coordinate.
- KEY_Y_COORDINATE - Static variable in class org.eclipse.ditto.jwt.model.JsonWebKey.JsonFields
-
JSON field containing the key's EC Y coordinate.
- KID - Static variable in class org.eclipse.ditto.jwt.model.JsonWebToken.JsonFields
-
JSON field containing the key identifier.
N
- newBuilder() - Static method in exception class org.eclipse.ditto.jwt.model.JwtAudienceInvalidException
-
A mutable builder for this exception.
- newBuilder() - Static method in exception class org.eclipse.ditto.jwt.model.JwtInvalidException
-
A mutable builder for this exception.
- newBuilder(JsonValue) - Static method in exception class org.eclipse.ditto.jwt.model.JwtAudienceInvalidException
-
A mutable builder for this exception.
O
- of(String, String, String, String, BigInteger, BigInteger, BigInteger, BigInteger, String) - Static method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
-
Returns a new
JsonWebKeyfor the giventype,algorithm,usage,id,modulusandexponent. - org.eclipse.ditto.jwt.model - package org.eclipse.ditto.jwt.model
S
- SCOPE - Static variable in class org.eclipse.ditto.jwt.model.JsonWebToken.JsonFields
-
JSON field containing the scope.
- setDittoHeaders(DittoHeaders) - Method in exception class org.eclipse.ditto.jwt.model.JwtAudienceInvalidException
- setDittoHeaders(DittoHeaders) - Method in exception class org.eclipse.ditto.jwt.model.JwtInvalidException
- SUB - Static variable in class org.eclipse.ditto.jwt.model.JsonWebToken.JsonFields
-
JSON field containing the subject, e.g. user identifier.
T
- toString() - Method in class org.eclipse.ditto.jwt.model.AbstractJsonWebToken
- toString() - Method in class org.eclipse.ditto.jwt.model.Audience
- toString() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebKey
- toString() - Method in class org.eclipse.ditto.jwt.model.ImmutableJsonWebToken
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form