Uses of Class
org.forgerock.secrets.keys.VerificationKey
Package
Description
Classes and interfaces for JWT signing and JWS'.
Signing Handler classes for each possible signing algorithm.
JWT implementation(s) of
TokenHandler
.This package contains classes used to perform JWT validation.
Provides a unified API for accessing secrets of various kinds.
-
Uses of VerificationKey in org.forgerock.json.jose.jws
Modifier and TypeMethodDescriptionSigningManager.newEcdsaVerificationHandler
(VerificationKey key) Constructs a new handler for verifying ES256 signatures.SigningManager.newEdDsaVerificationHandler
(VerificationKey verificationKey) Constructs a new handler for verifying EdDSA signatures.SigningManager.newHmacVerificationHandler
(VerificationKey key) Constructs a new SecretHmacSigningHandler configured for signature validation.SigningManager.newRsaVerificationHandler
(VerificationKey key) Constructs a new SecretRSASigningHandler configured for signature validation.SigningManager.newVerificationHandler
(VerificationKey key) Returns the signing handler from the given VerificationKey which will be used to verify the JWT.Modifier and TypeMethodDescriptionSigningManager.newVerificationHandler
(JWK jwk, Purpose<VerificationKey> purpose) Returns a signing handler from the given JSON Web Key (JWK) which will be used to verify a JWT.SigningManager.newVerificationHandler
(JWK jwk, Purpose<VerificationKey> purpose, Instant expiry) Returns a signing handler from the given JSON Web Key (JWK) which will be used to verify a JWT.SigningManager.newVerificationHandler
(Purpose<VerificationKey> purpose, String keyId) Constructs a new SigningHandler configured for verifying with the provided secret purpose.SigningManager.newVerificationHandler
(ValidSecretsReference<VerificationKey, NeverThrowsException> validSecrets) Constructs a new SigningHandler configured for verifying with the provided valid secrets reference. -
Uses of VerificationKey in org.forgerock.json.jose.jws.handlers
ModifierConstructorDescriptionSecretECDSASigningHandler
(VerificationKey verificationKey) Constructs a new SecretECDSASigningHandler for verifying signature with the givenverificationKey
.SecretEdDSASigningHandler
(VerificationKey verificationKey) Initializes the handler for verifying with the given key.SecretHmacSigningHandler
(VerificationKey verificationKey) Constructs a new SecretHmacSigningHandler for verifying signature with the givenverificationKey
.SecretRSASigningHandler
(VerificationKey verificationKey) Constructs a new SecretRSASigningHandler for verifying signature with the givenverificationKey
. -
Uses of VerificationKey in org.forgerock.json.jose.tokenhandler
Modifier and TypeMethodDescriptionSecretsJwtTokenHandler.Builder.verificationPurpose
(Purpose<VerificationKey> verificationKeyPurpose) Specifies thePurpose
used to retrieve verification keys from the secrets provider. -
Uses of VerificationKey in org.forgerock.openig.tools.jwt.validation
ModifierConstructorDescriptionJwsSignatureVerifier
(SigningManager signingManager, Purpose<VerificationKey> verificationPurpose) Constructor taking aSigningManager
and verificationPurpose
. -
Uses of VerificationKey in org.forgerock.secrets
Modifier and TypeFieldDescriptionstatic final Purpose<VerificationKey>
Purpose.VERIFY
Indicates a key intended for verifying digital signatures or message authentication codes.