Uses of Interface
org.forgerock.openig.tools.jwt.validation.JwtConstraint
-
Packages that use JwtConstraint Package Description org.forgerock.openig.tools.jwt.validation This package contains classes used to perform JWT validation. -
-
Uses of JwtConstraint in org.forgerock.openig.tools.jwt.validation
Classes in org.forgerock.openig.tools.jwt.validation that implement JwtConstraint Modifier and Type Class Description class
JweDecryptionConstraint
Class supportingEncryptedJwt
encryption verification with a verificationPurpose
and aSecretsProvider
responsible for getting the decryption key.Methods in org.forgerock.openig.tools.jwt.validation that return JwtConstraint Modifier and Type Method Description static JwtConstraint
Constraints. canBeDecrypted(SecretsProvider secretsProvider, Purpose<DataDecryptionKey> purpose)
Provides aJwtConstraint
configured with the suppliedSecretsProvider
that contain a secret capable of decrypting and verifying a JWT's encryption.static JwtConstraint
Constraints. hasClaims()
Returnsempty
if the JWT does contain claims.static JwtConstraint
Constraints. hasValidSignature(JwsSignatureVerifier verifier)
Validates the signature of thisSignedJwt
.static JwtConstraint
Constraints. hasValidSignatureAndEncryption(JwtConstraint signatureConstraint, JwtConstraint decryptionConstraint)
Provides aJwtConstraint
configured with the suppliedJwtConstraint
s verifying both signature and encryption.Methods in org.forgerock.openig.tools.jwt.validation with parameters of type JwtConstraint Modifier and Type Method Description static JwtConstraint
Constraints. hasValidSignatureAndEncryption(JwtConstraint signatureConstraint, JwtConstraint decryptionConstraint)
Provides aJwtConstraint
configured with the suppliedJwtConstraint
s verifying both signature and encryption.JwtValidator.Builder
JwtValidator.Builder. jwt(JwtConstraint jwtConstraint)
Adds aJwtConstraint
on the JWT.
-