Skip navigation links
A B C D E F G H I K L M N O P R S T U V 

A

Assert - Class in dev.paseto.jpaseto.lang
 
AUDIENCE - Static variable in interface dev.paseto.jpaseto.Claims
Paseto Audience claims parameter name: "aud".

B

build() - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
 
builder() - Method in class dev.paseto.jpaseto.Pasetos.V1Local
 
builder() - Method in class dev.paseto.jpaseto.Pasetos.V1Public
 
builder() - Method in class dev.paseto.jpaseto.Pasetos.V2Local
 
builder() - Method in class dev.paseto.jpaseto.Pasetos.V2Public
 

C

ClaimPasetoException - Exception in dev.paseto.jpaseto
ClaimPasetoException is a subclass of the PasetoException that is thrown after a validation of an paseto claim failed.
Claims - Interface in dev.paseto.jpaseto
A map representing a the body of a paseto token.
clean(String) - Static method in class dev.paseto.jpaseto.lang.Strings
 
clean(CharSequence) - Static method in class dev.paseto.jpaseto.lang.Strings
 
Collections - Class in dev.paseto.jpaseto.lang
 
compact() - Method in interface dev.paseto.jpaseto.PasetoBuilder
 

D

DateFormats - Class in dev.paseto.jpaseto.lang
 
DescribedPredicate<T> - Class in dev.paseto.jpaseto.lang
 
DescribedPredicate(String, Predicate<T>) - Constructor for class dev.paseto.jpaseto.lang.DescribedPredicate
 
DeserializationException - Exception in dev.paseto.jpaseto.io
 
DeserializationException(String) - Constructor for exception dev.paseto.jpaseto.io.DeserializationException
 
DeserializationException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.io.DeserializationException
 
deserialize(byte[]) - Method in interface dev.paseto.jpaseto.io.Deserializer
 
Deserializer<T> - Interface in dev.paseto.jpaseto.io
Deserialize/unmarshal bytes into an object of type T.
dev.paseto.jpaseto - package dev.paseto.jpaseto
 
dev.paseto.jpaseto.io - package dev.paseto.jpaseto.io
 
dev.paseto.jpaseto.lang - package dev.paseto.jpaseto.lang
 

E

equalTo(T) - Static method in class dev.paseto.jpaseto.lang.DescribedPredicate
 
EXPIRATION - Static variable in interface dev.paseto.jpaseto.Claims
Paseto Expiration claims parameter name: "exp".
ExpiredPasetoException - Exception in dev.paseto.jpaseto
Exception indicating that a Paseto was accepted after it expired and must be rejected.
ExpiredPasetoException(Paseto, String) - Constructor for exception dev.paseto.jpaseto.ExpiredPasetoException
 
ExpiredPasetoException(Paseto, String, Throwable) - Constructor for exception dev.paseto.jpaseto.ExpiredPasetoException
 

F

FooterClaims - Interface in dev.paseto.jpaseto
A paseto footer.
formatIso8601(Instant) - Static method in class dev.paseto.jpaseto.lang.DateFormats
 
from(String) - Static method in enum dev.paseto.jpaseto.Purpose
 
from(String) - Static method in enum dev.paseto.jpaseto.Version
 

G

get(String, Class<T>) - Method in interface dev.paseto.jpaseto.Claims
 
get(String, Class<T>) - Method in interface dev.paseto.jpaseto.FooterClaims
 
getAudience() - Method in interface dev.paseto.jpaseto.Claims
 
getClaimDescription() - Method in exception dev.paseto.jpaseto.InvalidClaimException
 
getClaimName() - Method in exception dev.paseto.jpaseto.InvalidClaimException
 
getClaims() - Method in interface dev.paseto.jpaseto.Paseto
 
getDescription() - Method in class dev.paseto.jpaseto.lang.DescribedPredicate
 
getExpiration() - Method in interface dev.paseto.jpaseto.Claims
 
getFooter() - Method in interface dev.paseto.jpaseto.Paseto
 
getIssuedAt() - Method in interface dev.paseto.jpaseto.Claims
 
getIssuer() - Method in interface dev.paseto.jpaseto.Claims
 
getKeyId() - Method in interface dev.paseto.jpaseto.FooterClaims
 
getNotBefore() - Method in interface dev.paseto.jpaseto.Claims
 
getPaseto() - Method in exception dev.paseto.jpaseto.ClaimPasetoException
 
getPurpose() - Method in interface dev.paseto.jpaseto.Paseto
 
getSubject() - Method in interface dev.paseto.jpaseto.Claims
 
getTokenId() - Method in interface dev.paseto.jpaseto.Claims
 
getVersion() - Method in interface dev.paseto.jpaseto.Paseto
 

H

hashCode(boolean) - Static method in class dev.paseto.jpaseto.lang.Objects
Return the same value as Boolean.hashCode().
hashCode(double) - Static method in class dev.paseto.jpaseto.lang.Objects
Return the same value as Double.hashCode().
hashCode(float) - Static method in class dev.paseto.jpaseto.lang.Objects
Return the same value as Float.hashCode().
hashCode(long) - Static method in class dev.paseto.jpaseto.lang.Objects
Return the same value as Long.hashCode().
hasLength(CharSequence) - Static method in class dev.paseto.jpaseto.lang.Strings
Check that the given CharSequence is neither null nor of length 0.
hasText(String, String) - Static method in class dev.paseto.jpaseto.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 dev.paseto.jpaseto.lang.Strings
Check whether the given CharSequence has actual text.
hasText(String) - Static method in class dev.paseto.jpaseto.lang.Strings
Check whether the given String has actual text.

I

INCORRECT_EXPECTED_CLAIM_MESSAGE_TEMPLATE - Static variable in exception dev.paseto.jpaseto.ClaimPasetoException
 
IncorrectClaimException - Exception in dev.paseto.jpaseto
Exception thrown when discovering that a required claim does not equal the required value, indicating the paseto is invalid and may not be used.
IncorrectClaimException(Paseto, String, String, String) - Constructor for exception dev.paseto.jpaseto.IncorrectClaimException
 
IncorrectClaimException(Paseto, String, String, String, Throwable) - Constructor for exception dev.paseto.jpaseto.IncorrectClaimException
 
InvalidClaimException - Exception in dev.paseto.jpaseto
Exception indicating a parsed claim is invalid in some way.
InvalidClaimException(Paseto, String, String, String) - Constructor for exception dev.paseto.jpaseto.InvalidClaimException
 
InvalidClaimException(Paseto, String, String, String, Throwable) - Constructor for exception dev.paseto.jpaseto.InvalidClaimException
 
InvalidMacException - Exception in dev.paseto.jpaseto
Thrown when an encryption mac is invalid.
InvalidMacException(String) - Constructor for exception dev.paseto.jpaseto.InvalidMacException
 
InvalidMacException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.InvalidMacException
 
isEmpty(Collection) - Static method in class dev.paseto.jpaseto.lang.Collections
Return true if the supplied Collection is null or empty.
isEmpty(Map) - Static method in class dev.paseto.jpaseto.lang.Collections
Return true if the supplied Map is null or empty.
ISO_OFFSET_DATE_TIME - Static variable in class dev.paseto.jpaseto.lang.DateFormats
 
ISSUED_AT - Static variable in interface dev.paseto.jpaseto.Claims
Paseto Issued At claims parameter name: "iat".
ISSUER - Static variable in interface dev.paseto.jpaseto.Claims
Paseto Issuer claims parameter name: "iss".
isTrue(boolean, String) - Static method in class dev.paseto.jpaseto.lang.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.

K

KEY_ID - Static variable in interface dev.paseto.jpaseto.FooterClaims
Paseto Key ID claims parameter name: "kid", registered footer claim.
keyPairFor(Version) - Static method in class dev.paseto.jpaseto.lang.Keys
 
KeyResolver - Interface in dev.paseto.jpaseto
A PubicKeyResolver can be used by a PasetoParser to find a public key that should be used to verify a paseto token signature.
KeyResolverAdapter - Class in dev.paseto.jpaseto
An Adapter implementation of the KeyResolver interface that allows subclasses to process only the type of paseto token that is known/expected for a particular case.
KeyResolverAdapter() - Constructor for class dev.paseto.jpaseto.KeyResolverAdapter
 
Keys - Class in dev.paseto.jpaseto.lang
 

L

loadAll(Class<T>) - Static method in class dev.paseto.jpaseto.lang.Services
Loads and instantiates all service implementation of the given SPI class and returns them as a List.
loadFirst(Class<T>) - Static method in class dev.paseto.jpaseto.lang.Services
Loads the first available implementation the given SPI class from the classpath.
loadFirst(Class<T>, T) - Static method in class dev.paseto.jpaseto.lang.Services
Loads the first available implementation the given SPI class from the classpath.
LOCAL - Static variable in class dev.paseto.jpaseto.Pasetos.V1
 
LOCAL - Static variable in class dev.paseto.jpaseto.Pasetos.V2
 

M

MISSING_EXPECTED_CLAIM_MESSAGE_TEMPLATE - Static variable in exception dev.paseto.jpaseto.ClaimPasetoException
 
MissingClaimException - Exception in dev.paseto.jpaseto
Exception thrown when discovering that a required claim is not present, indicating the paseto is invalid and may not be used.
MissingClaimException(Paseto, String, String, String) - Constructor for exception dev.paseto.jpaseto.MissingClaimException
 
MissingClaimException(Paseto, String, String, String, Throwable) - Constructor for exception dev.paseto.jpaseto.MissingClaimException
 

N

NOT_BEFORE - Static variable in interface dev.paseto.jpaseto.Claims
Paseto Not Before claims parameter name: "nbf".
notNull(Object, String) - Static method in class dev.paseto.jpaseto.lang.Assert
Assert that an object is not null .
nullSafeHashCode(Object) - Static method in class dev.paseto.jpaseto.lang.Objects
Return as hash code for the given object; typically the value of Object.hashCode().
nullSafeHashCode(Object[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(boolean[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(byte[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(char[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(double[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(float[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(int[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(long[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeHashCode(short[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a hash code based on the contents of the specified array.
nullSafeToString(Object) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the specified Object.
nullSafeToString(Object[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(boolean[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(byte[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(char[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(double[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(float[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(int[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(long[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the contents of the specified array.
nullSafeToString(short[]) - Static method in class dev.paseto.jpaseto.lang.Objects
Return a String representation of the contents of the specified array.

O

Objects - Class in dev.paseto.jpaseto.lang
 

P

parse(String) - Method in interface dev.paseto.jpaseto.PasetoParser
 
parseIso8601Date(String) - Static method in class dev.paseto.jpaseto.lang.DateFormats
 
parserBuilder() - Static method in class dev.paseto.jpaseto.Pasetos
 
Paseto - Interface in dev.paseto.jpaseto
An expanded (not compact/serialized) paseto token.
PasetoBuilder<T extends PasetoBuilder> - Interface in dev.paseto.jpaseto
A builder interface for creating paseto tokens.
PasetoException - Exception in dev.paseto.jpaseto
Base class for Paseto-related runtime exceptions.
PasetoException(String) - Constructor for exception dev.paseto.jpaseto.PasetoException
 
PasetoException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.PasetoException
 
PasetoIOException - Exception in dev.paseto.jpaseto
A general IO exception for the JPaseto library.
PasetoIOException(String) - Constructor for exception dev.paseto.jpaseto.PasetoIOException
 
PasetoIOException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.PasetoIOException
 
PasetoKeyException - Exception in dev.paseto.jpaseto
Thrown when a key or secret cannot be created or is invalid.
PasetoKeyException(String) - Constructor for exception dev.paseto.jpaseto.PasetoKeyException
 
PasetoKeyException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.PasetoKeyException
 
PasetoParser - Interface in dev.paseto.jpaseto
A parser for parsing and validating paseto tokens.
PasetoParserBuilder - Interface in dev.paseto.jpaseto
A builder for constructing a PasetoParser.
Pasetos - Class in dev.paseto.jpaseto
Factory class useful for creating instances of Paseto interfaces.
Pasetos.V1 - Class in dev.paseto.jpaseto
 
Pasetos.V1Local - Class in dev.paseto.jpaseto
 
Pasetos.V1Public - Class in dev.paseto.jpaseto
 
Pasetos.V2 - Class in dev.paseto.jpaseto
 
Pasetos.V2Local - Class in dev.paseto.jpaseto
 
Pasetos.V2Public - Class in dev.paseto.jpaseto
 
PasetoSecurityException - Exception in dev.paseto.jpaseto
Thrown when a paseto token cannot be verified.
PasetoSecurityException(String) - Constructor for exception dev.paseto.jpaseto.PasetoSecurityException
 
PasetoSecurityException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.PasetoSecurityException
 
PasetoSignatureException - Exception in dev.paseto.jpaseto
Thrown when public paseto tokens signature cannot be validated.
PasetoSignatureException(String) - Constructor for exception dev.paseto.jpaseto.PasetoSignatureException
 
PasetoSignatureException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.PasetoSignatureException
 
PasetoV1LocalBuilder - Interface in dev.paseto.jpaseto
A builder for constructing Paseto v1.local tokens.
PasetoV1PublicBuilder - Interface in dev.paseto.jpaseto
A builder for constructing Paseto v1.public tokens.
PasetoV2LocalBuilder - Interface in dev.paseto.jpaseto
A builder for constructing Paseto v2.local tokens.
PasetoV2PublicBuilder - Interface in dev.paseto.jpaseto
A builder for constructing Paseto v2.public tokens.
PrematurePasetoException - Exception in dev.paseto.jpaseto
Exception indicating that a Paseto was accepted before it is allowed to be accessed and must be rejected.
PrematurePasetoException(Paseto, String) - Constructor for exception dev.paseto.jpaseto.PrematurePasetoException
 
PrematurePasetoException(Paseto, String, Throwable) - Constructor for exception dev.paseto.jpaseto.PrematurePasetoException
 
PUBLIC - Static variable in class dev.paseto.jpaseto.Pasetos.V1
 
PUBLIC - Static variable in class dev.paseto.jpaseto.Pasetos.V2
 
Purpose - Enum in dev.paseto.jpaseto
Enum representing Paseto purposes.

R

require(String, Object) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Ensures that the specified claimName exists in the parsed Paseto.
require(String, Predicate<Object>) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
 
requireAudience(String) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Ensures that the specified aud exists in the parsed Paseto.
RequiredTypeException - Exception in dev.paseto.jpaseto
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 dev.paseto.jpaseto.RequiredTypeException
 
RequiredTypeException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.RequiredTypeException
 
requireExpiration(Instant) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Ensures that the specified exp exists in the parsed Paseto.
requireFooter(String, Predicate<Object>) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
 
requireIssuedAt(Instant) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Ensures that the specified iat exists in the parsed Paseto.
requireIssuer(String) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Ensures that the specified iss exists in the parsed Paseto.
requireKeyId(String) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Ensures that the specified kid exists in the parsed Paseto footer.
requireNotBefore(Instant) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Ensures that the specified nbf exists in the parsed Paseto.
requireSubject(String) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Ensures that the specified sub exists in the parsed Paseto.
requireTokenId(String) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Ensures that the specified jti exists in the parsed Paseto.
resolvePublicKey(Version, Purpose, FooterClaims) - Method in interface dev.paseto.jpaseto.KeyResolver
Returns the signing key that should be used to validate a digital signature for the paseto token.
resolvePublicKey(Version, Purpose, FooterClaims) - Method in class dev.paseto.jpaseto.KeyResolverAdapter
 
resolvePublicKeyBytes(Version, Purpose, FooterClaims) - Method in class dev.paseto.jpaseto.KeyResolverAdapter
Convenience method invoked by KeyResolverAdapter.resolvePublicKey(Version, Purpose, FooterClaims) that obtains the necessary public key bytes.
resolveSharedKey(Version, Purpose, FooterClaims) - Method in interface dev.paseto.jpaseto.KeyResolver
Returns the signing key that should be used to validate a digital signature for the paseto token.
resolveSharedKey(Version, Purpose, FooterClaims) - Method in class dev.paseto.jpaseto.KeyResolverAdapter
 
resolveSharedKeyBytes(Version, Purpose, FooterClaims) - Method in class dev.paseto.jpaseto.KeyResolverAdapter
Convenience method invoked by KeyResolverAdapter.resolveSharedKey(Version, Purpose, FooterClaims) that obtains the necessary signing key bytes.

S

secretKey(byte[]) - Static method in class dev.paseto.jpaseto.lang.Keys
 
secretKey() - Static method in class dev.paseto.jpaseto.lang.Keys
 
SerialException - Exception in dev.paseto.jpaseto.io
 
SerialException(String) - Constructor for exception dev.paseto.jpaseto.io.SerialException
 
SerialException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.io.SerialException
 
SerializationException - Exception in dev.paseto.jpaseto.io
 
SerializationException(String) - Constructor for exception dev.paseto.jpaseto.io.SerializationException
 
SerializationException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.io.SerializationException
 
serialize(T) - Method in interface dev.paseto.jpaseto.io.Serializer
 
Serializer<T> - Interface in dev.paseto.jpaseto.io
Serialize/marshal an object of type T.
Services - Class in dev.paseto.jpaseto.lang
Helper class for loading services from the classpath, using a ServiceLoader.
setAllowedClockSkew(Duration) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Sets the amount of clock skew tolerate when verifying the local time against the exp and nbf claims.
setClock(Clock) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Sets the Clock that determines the timestamp to use when validating the parsed Paseto.
setDeserializer(Deserializer<Map<String, Object>>) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
 
setKeyResolver(KeyResolver) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
Sets the KeyResolver used to acquire the signing key that should be used to verify a paseto tokens's signature.
setPrivateKey(PrivateKey) - Method in interface dev.paseto.jpaseto.PasetoV1PublicBuilder
 
setPrivateKey(PrivateKey) - Method in interface dev.paseto.jpaseto.PasetoV2PublicBuilder
 
setPublicKey(PublicKey) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
 
setSerializer(Serializer<Map<String, Object>>) - Method in interface dev.paseto.jpaseto.PasetoBuilder
 
setSharedSecret(byte[]) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
 
setSharedSecret(SecretKey) - Method in interface dev.paseto.jpaseto.PasetoParserBuilder
 
setSharedSecret(SecretKey) - Method in interface dev.paseto.jpaseto.PasetoV1LocalBuilder
 
setSharedSecret(SecretKey) - Method in interface dev.paseto.jpaseto.PasetoV2LocalBuilder
 
Strings - Class in dev.paseto.jpaseto.lang
 
SUBJECT - Static variable in interface dev.paseto.jpaseto.Claims
Paseto Subject claims parameter name: "sub".

T

test(T) - Method in class dev.paseto.jpaseto.lang.DescribedPredicate
 
TOKEN_ID - Static variable in interface dev.paseto.jpaseto.Claims
Paseto Token ID claims parameter name: "jti".
toString() - Method in class dev.paseto.jpaseto.lang.DescribedPredicate
 
toString() - Method in enum dev.paseto.jpaseto.Purpose
 
toString() - Method in enum dev.paseto.jpaseto.Version
 
trimWhitespace(String) - Static method in class dev.paseto.jpaseto.lang.Strings
Trim leading and trailing whitespace from the given String.

U

UnsupportedPasetoException - Exception in dev.paseto.jpaseto
Exception thrown when receiving a JWT in a particular format/configuration that does not match the format expected by the application.
UnsupportedPasetoException(String) - Constructor for exception dev.paseto.jpaseto.UnsupportedPasetoException
 
UnsupportedPasetoException(String, Throwable) - Constructor for exception dev.paseto.jpaseto.UnsupportedPasetoException
 

V

value() - Method in interface dev.paseto.jpaseto.FooterClaims
 
valueOf(String) - Static method in enum dev.paseto.jpaseto.Purpose
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.paseto.jpaseto.Version
Returns the enum constant of this type with the specified name.
values() - Static method in enum dev.paseto.jpaseto.Purpose
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.paseto.jpaseto.Version
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Enum in dev.paseto.jpaseto
Enum representing Paseto versions.
A B C D E F G H I K L M N O P R S T U V 
Skip navigation links

Copyright © 2019-2020 paseto.dev. All Rights Reserved.