Uses of Class
org.forgerock.secrets.keys.SigningKey
Package
Description
This package provides APIs for OAuth 2.0 services implementations.
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.Provides a unified API for accessing secrets of various kinds.
-
Uses of SigningKey in org.forgerock.http.oauth2
Modifier and TypeMethodDescriptionPrivateKeyJwtClientAuthenticationFilter.Builder.withSigningPurpose
(Purpose<SigningKey> signingPurpose) Deprecated, for removal: This API element is subject to removal in a future version.PrivateKeyJwtClientAuthenticationFilter.Builder.withSigningSecretReference
(SecretReference<SigningKey> secretReference) SetsSecretReference
to use as the signing key. -
Uses of SigningKey in org.forgerock.json.jose.jws
Modifier and TypeMethodDescriptionSigningManager.newEcdsaSigningHandler
(SigningKey key) Constructs a new handler for signing ES256 signatures.SigningManager.newEdDsaSigningHandler
(SigningKey signingKey) Constructs a new handler for signing EdDSA signatures.SigningManager.newHmacSigningHandler
(SigningKey key) Constructs a new SecretHmacSigningHandler configured for signature validation.SigningManager.newRsaSigningHandler
(SigningKey key) Constructs a new SecretRSASigningHandler configured for signature validation.SigningManager.newSigningHandler
(SigningKey key) Returns the signing handler from the given SigningKey which will be used to sign the JWT.Modifier and TypeMethodDescriptionSigningManager.newSigningHandler
(JWK jwk, Purpose<SigningKey> purpose) Returns a signing handler from the given JSON Web Key (JWK) which will be used to sign a JWT.SigningManager.newSigningHandler
(JWK jwk, Purpose<SigningKey> purpose, Instant expiry) Returns a signing handler from the given JSON Web Key (JWK) which will be used to sign a JWT.SigningManager.newSigningHandler
(Purpose<SigningKey> purpose) Constructs a new SigningHandler configured for signing with the provided secret purpose.SigningManager.newSigningHandler
(SecretReference<SigningKey> secretReference) Constructs a new SigningHandler configured for signing with the provided secret reference. -
Uses of SigningKey in org.forgerock.json.jose.jws.handlers
ModifierConstructorDescriptionSecretECDSASigningHandler
(SigningKey signingKey) Constructs a new SecretECDSASigningHandler for creating signature with the givensigningKey
.SecretEdDSASigningHandler
(SigningKey signingKey) Initializes the handler for signing with the given key.SecretHmacSigningHandler
(SigningKey signingKey) Constructs a new SecretHmacSigningHandler for creating signature with the givensigningKey
.SecretRSASigningHandler
(SigningKey signingKey) Constructs a new SecretRSASigningHandler for creating signature with the givensigningKey
. -
Uses of SigningKey in org.forgerock.json.jose.tokenhandler
Modifier and TypeMethodDescriptionSecretsJwtTokenHandler.Builder.signingPurpose
(Purpose<SigningKey> signingKeyPurpose) Specifies thePurpose
used to retrieve signing keys from the secrets provider.ModifierConstructorDescriptionSecretsJwtTokenHandler
(JweAlgorithm jweAlgorithm, EncryptionMethod jweMethod, JwsAlgorithm jwsAlgorithm, Optional<Long> tokenLifeTimeInSeconds, KeyPair jweKeyPair, SigningManager manager, Purpose<SigningKey> signingKeyPurpose, Purpose<VerificationKey> verificationKeyPurpose, Clock clock) Deprecated.UseSecretsJwtTokenHandler.builder()
instead. -
Uses of SigningKey in org.forgerock.macaroons
Modifier and TypeMethodDescriptionstatic Macaroon
Macaroon.create
(SigningKey key) Creates a fresh Macaroon with no caveats, a blank location hint, and a random identifier.static Macaroon
Macaroon.create
(SigningKey key, String location) Creates a fresh Macaroon with no caveats and a random identifier.static Macaroon
Macaroon.create
(SigningKey signingKey, String location, byte[] identifier) Creates a fresh Macaroon with no caveats.static Macaroon
Macaroon.create
(SigningKey signingKey, String location, String identifier) Creates a fresh Macaroon with no caveats. -
Uses of SigningKey in org.forgerock.secrets
Modifier and TypeFieldDescriptionstatic final Purpose<SigningKey>
Purpose.SIGN
Indicates a key intended for creating digital signatures or message authentication codes (MACs).
PrivateKeyJwtClientAuthenticationFilter.Builder.withSigningSecretReference(SecretReference)
instead.