Uses of Class
org.forgerock.secrets.NoSuchSecretException
Package
Description
This package contains
Filter
to authenticate and authorize LDAP connections.Provides a unified API for accessing secrets of various kinds.
Contains secret credential related API objects.
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.Provides a
SecretStore
implementation that loads secrets from a Common Configuration
PropertyResolver
and then decodes it with a
SecretPropertyFormat
.-
Uses of NoSuchSecretException in org.forgerock.opendj.rest2ldap.authz
Modifier and TypeMethodDescriptionPromise<org.forgerock.json.jose.jws.SignedJwt,
NoSuchSecretException> JwtFactories.SignedJwtFactory.sign
(Function<org.forgerock.json.jose.builders.JwtClaimsSetBuilder, org.forgerock.json.jose.builders.JwtClaimsSetBuilder> claimsSetMapper) Returns aSignedJwt
produced by this factory. -
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.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.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.
SecretBuilder.build(Purpose)
instead.