Uses of Class
org.forgerock.secrets.NoSuchSecretException
Package
Description
This package contains classes for the Jwt Session JASPI Authentication Module.
Classes and interfaces for creating and manipulating JWKs.
Classes and interfaces for JWT signing and JWS'.
OAuth 2.0 ForgeRock Client Implementation.
The AM supporting classes for centrally configuring secrets.
Provides a unified API for accessing secrets of various kinds.
Contains secret credential related API objects.
Classes for integrating Google Secret Manager
into the ForgeRock Secrets API.
A secret store implementation that can retrieve keys from a Google Cloud Platform Key Management Service.
Secret store backend for retrieving keys from a local or remote JWK Set.
Contains cryptographic key related API objects.
Implementations of
SecretStore
for accessing keys stored in Java KeyStores, such as
PKCS#11 Hardware Security Modules (HSMs) and PKCS#12 file-based encrypted key stores.A Secrets API backend that can obtain OAuth 2 access tokens from a token endpoint, along with a collection of
grant type handlers.
Provides a
SecretStore
implementation that loads secrets from a Common Configuration
PropertyResolver
and then decodes it with a
SecretPropertyFormat
.Secrets backend that reads secrets from a remote Hashicorp Vault server.
-
Uses of NoSuchSecretException in org.forgerock.jaspi.modules.session.jwt
Modifier and TypeMethodDescriptionAuthenticatedEncryptionCryptographyHandler.buildJwtAsync
(JwtBuilderFactory jwtBuilderFactory, JwtClaimsSet claimsSet) default Promise<String,
NoSuchSecretException> JwtCryptographyHandler.buildJwtAsync
(JwtBuilderFactory jwtBuilderFactory, JwtClaimsSet claimsSet) Builds a JWT with the given claims set. -
Uses of NoSuchSecretException in org.forgerock.json.jose.jwk
Modifier and TypeMethodDescription<T extends CryptoKey>
TJWK.toCryptoKey
(Purpose<T> purpose, Instant expiry) Converts this JWK into aCryptoKey
subclass object for use with the Secrets API. -
Uses of NoSuchSecretException in org.forgerock.json.jose.jws
Modifier and TypeMethodDescriptionSigningManager.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 NoSuchSecretException in org.forgerock.oauth.clients.oauth2
Modifier and TypeMethodDescriptionprotected static <T> Function<NoSuchSecretException,
T, OAuthException> OAuth2Client.throwIfNoClientSecret()
Handles a missing client secret. -
Uses of NoSuchSecretException in org.forgerock.openam.secrets
Modifier and TypeMethodDescription<S extends Secret>
Promise<S,NoSuchSecretException> SecretsProviderFacade.getActiveSecret
(DefaultingPurpose<S> defaultingPurpose, String instanceId) Get the active secret for aDefaultingPurpose
.<S extends Secret>
Promise<S,NoSuchSecretException> SecretsProviderFacade.getActiveSecret
(Purpose<S> purpose) <S extends Secret>
Promise<S,NoSuchSecretException> SecretsProviderFacade.getNamedSecret
(DefaultingPurpose<S> defaultingPurpose, String instanceId, String keyId) Get the named secret for aDefaultingPurpose
.<S extends Secret>
Promise<S,NoSuchSecretException> SecretsProviderFacade.getNamedSecret
(Purpose<S> purpose, String id) Modifier and TypeMethodDescriptionstatic Key
SecretsUtils.convertRawEncryptionKey
(CryptoKey cryptoKey, JweAlgorithm jweAlgorithm, EncryptionMethod encryptionMethod) Converts symmetric encryption key that was created using the RAW algorithm to a more suitable key, but only if the key material is available. -
Uses of NoSuchSecretException in org.forgerock.secrets
Modifier and TypeMethodDescriptionSecretDecoder.decodeToPromise
(byte[] data) Decodes the raw data retrieved from a backend into aSecretBuilder
for further processing.default <S extends T>
Promise<S,NoSuchSecretException> Returns the active secret for the given purpose.<S extends T>
Promise<S,NoSuchSecretException> <S extends Secret>
Promise<S,NoSuchSecretException> SecretsProvider.getActiveSecret
(Purpose<S> purpose) Gets the currently active secret for the given purpose.SecretReference.getAsync()
Gets the current active secret object asynchronously, refreshing it if necessary.default <S extends T>
Promise<S,NoSuchSecretException> Returns the named secret from this store.<S extends T>
Promise<S,NoSuchSecretException> <S extends Secret>
Promise<S,NoSuchSecretException> SecretsProvider.getNamedSecret
(Purpose<S> purpose, String id) Gets the secret for the given purpose with the given stable secret id.Modifier and TypeMethodDescription<T extends Secret>
TDeprecated.<T extends Secret>
TBuilds a secret of the given type, enforcing anyconstraints
attached to the purpose.SecretReference.get()
Gets the current active secret object, refreshing it if necessary.ValidSecretsReference.get()
Gets the current secrets, refreshing them if necessary.byte[]
SecretBuilder.getRawData()
Returns the raw secret data, or null if the raw data is not available.SecretBuilder.getSecretKey()
Returns the secret (or private) key associated with this secret, or null if not specified.ModifierConstructorDescriptionGenericSecret
(SecretBuilder builder) Constructs a generic secret with the given stable identifier and secret data. -
Uses of NoSuchSecretException in org.forgerock.secrets.credentials
Modifier and TypeMethodDescriptionCredentialPair.getAsync()
Gets thePrincipalAndSecret
asynchronously.Modifier and TypeMethodDescriptionstatic <T extends Secret>
CredentialPair<T>CredentialPair.credentialPair
(SecretReference<T> secretReference, Function<T, PrincipalAndSecret<T>, NoSuchSecretException> mapper) Factory method to create a new instance ofCredentialPair
from a reference to a secret containing both the principal and secret. -
Uses of NoSuchSecretException in org.forgerock.secrets.gcp.sm
-
Uses of NoSuchSecretException in org.forgerock.secrets.gcpkms
Modifier and TypeMethodDescriptionGoogleKmsEncryptedPropertyFormat.decodeToPromise
(String propertyValue) <S extends CryptoKey>
Promise<S,NoSuchSecretException> <S extends CryptoKey>
Promise<S,NoSuchSecretException> Modifier and TypeMethodDescription -
Uses of NoSuchSecretException in org.forgerock.secrets.jwkset
-
Uses of NoSuchSecretException in org.forgerock.secrets.keys
Modifier and TypeMethodDescription<T> T
Exports the key material in the given format.Exports the given crypto key and raw key material.ModifierConstructorDescriptionCertificateVerificationKey
(SecretBuilder builder) Initialises the key with the given secret data.DataDecryptionKey
(SecretBuilder builder) Initialises the key with the given secret data.DataEncryptionKey
(SecretBuilder builder) Initialises the key with the given secret data.KeyAgreementKey
(SecretBuilder builder) Initialises the key with the given secret data.KeyDecryptionKey
(SecretBuilder builder) Initialises the key with the given secret data.KeyEncryptionKey
(SecretBuilder builder) Initialises the key with the given secret data.SigningKey
(SecretBuilder builder) Initialises the key with the given secret data.VerificationKey
(SecretBuilder builder) Initialises the key with the given secret data. -
Uses of NoSuchSecretException in org.forgerock.secrets.keystore
Modifier and TypeMethodDescription<S extends Secret>
Promise<S,NoSuchSecretException> <S extends Secret>
Promise<S,NoSuchSecretException> Modifier and TypeMethodDescriptionKeyStoreSecretStore.KeyDetails.getSecretKey()
Get theKey
instance for the secret component of this key. -
Uses of NoSuchSecretException in org.forgerock.secrets.oauth2
Modifier and TypeMethodDescription<S extends GenericSecret>
Promise<S,NoSuchSecretException> <S extends GenericSecret>
Promise<S,NoSuchSecretException> protected Promise<Form,
NoSuchSecretException> protected Promise<Form,
NoSuchSecretException> Handles the request by adding appropriate parameters to the OAuth 2.0 token endpoint request.protected Promise<Form,
NoSuchSecretException> protected Promise<Form,
NoSuchSecretException> protected Promise<Form,
NoSuchSecretException> -
Uses of NoSuchSecretException in org.forgerock.secrets.propertyresolver
Modifier and TypeMethodDescriptionPemPropertyFormat.decodeToPromise
(String propertyValue) default Promise<SecretBuilder,
NoSuchSecretException> SecretPropertyFormat.decodeToPromise
(byte[] data) Decodes the data as a UTF-8 string and then callsSecretPropertyFormat.decodeToPromise(String)
to decode the string value.default Promise<SecretBuilder,
NoSuchSecretException> SecretPropertyFormat.decodeToPromise
(String propertyValue) Decodes the input property value, setting relevant properties on aSecretBuilder
object.<S extends Secret>
Promise<S,NoSuchSecretException> <S extends Secret>
Promise<S,NoSuchSecretException> <S extends Secret>
Promise<S,NoSuchSecretException> <S extends Secret>
Promise<S,NoSuchSecretException> Modifier and TypeMethodDescriptionDecodes the input property value, setting relevant properties on aSecretBuilder
object. -
Uses of NoSuchSecretException in org.forgerock.secrets.vault
Modifier and TypeMethodDescriptionVaultKeyValueSecretStore.SecretFieldDecoder.apply
(SecretBuilder secretBuilder, JsonValue jsonValue) Decodes a JSON value into one or more fields on aSecretBuilder
.
SecretBuilder.build(Purpose)
instead.