Uses of Interface
org.forgerock.openig.tools.jwt.validation.JwtConstraint
Packages that use JwtConstraint
Package
Description
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 JwtConstraintModifier and TypeClassDescriptionclassClass supportingEncryptedJwtencryption verification with a verificationPurposeand aSecretsProviderresponsible for getting the decryption key.Methods in org.forgerock.openig.tools.jwt.validation that return JwtConstraintModifier and TypeMethodDescriptionstatic JwtConstraintConstraints.canBeDecrypted(SecretsProvider secretsProvider, Purpose<DataDecryptionKey> purpose) Provides aJwtConstraintconfigured with the suppliedSecretsProviderthat contain a secret capable of decrypting and verifying a JWT's encryption.static JwtConstraintConstraints.hasClaims()Returnsemptyif the JWT does contain claims.static JwtConstraintConstraints.hasValidSignature(JwsSignatureVerifier verifier) Validates the signature of thisSignedJwt.static JwtConstraintConstraints.hasValidSignature(SecretsProvider secretsProvider, Purpose<VerificationKey> purpose) Validates the signature of thisSignedJwt.static JwtConstraintConstraints.hasValidSignatureAndEncryption(JwtConstraint signatureConstraint, JwtConstraint decryptionConstraint) Provides aJwtConstraintconfigured with the suppliedJwtConstraints verifying both signature and encryption.Methods in org.forgerock.openig.tools.jwt.validation with parameters of type JwtConstraintModifier and TypeMethodDescriptionstatic JwtConstraintConstraints.hasValidSignatureAndEncryption(JwtConstraint signatureConstraint, JwtConstraint decryptionConstraint) Provides aJwtConstraintconfigured with the suppliedJwtConstraints verifying both signature and encryption.JwtValidator.Builder.jwt(JwtConstraint jwtConstraint) Adds aJwtConstrainton the JWT.