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
.Implementation of
Macaroons: Cookies with contextual caveats for decentralized
authorization in the cloud. See
Macaroon
for more details.This package contains classes to generate Open ID Resolvers, which can
validate a supplied JWS against an Open ID Connect provider.
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.macaroons
ModifierConstructorDescriptionMacaroonVerifier
(SecretsProvider secretsProvider, Purpose<VerificationKey> purpose) Constructs the macaroon verifier with the given source of verification keys. -
Uses of VerificationKey in org.forgerock.oauth.resolvers
Modifier and TypeMethodDescriptionOpenIdResolverFactory.createSecretsProviderResolver
(String issuer, SecretsProvider provider, Purpose<VerificationKey> purpose) Creates a public key based resolver for the suppliedissuer
using keys available through the givenprovider
. -
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.