Uses of Class
org.forgerock.secrets.NoSuchSecretException
-
Packages that use NoSuchSecretException Package Description org.forgerock.secrets Provides a unified API for accessing secrets of various kinds.org.forgerock.secrets.keys Contains cryptographic key related API objects. -
-
Uses of NoSuchSecretException in org.forgerock.secrets
Methods in org.forgerock.secrets that return types with arguments of type NoSuchSecretException Modifier and Type Method Description default <S extends T>
Promise<S,NoSuchSecretException>SecretStore. getActive(Purpose<S> purpose)
Returns the active secret for the given purpose.<S extends T>
Promise<S,NoSuchSecretException>ThreadPoolSecretStore. getActive(Purpose<S> purpose)
<S extends Secret>
Promise<S,NoSuchSecretException>SecretsProvider. getActiveSecret(Purpose<S> purpose)
Gets the currently active secret for the given purpose.Promise<T,NoSuchSecretException>
SecretReference. getAsync()
Gets the current active secret object asynchronously, refreshing it if necessary.default <S extends T>
Promise<S,NoSuchSecretException>SecretStore. getNamed(Purpose<S> purpose, String name)
Returns the named secret from this store.<S extends T>
Promise<S,NoSuchSecretException>ThreadPoolSecretStore. getNamed(Purpose<S> purpose, String name)
<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.Methods in org.forgerock.secrets that throw NoSuchSecretException Modifier and Type Method Description <T extends Secret>
TSecretBuilder. build(Class<T> secretType)
Deprecated.UseSecretBuilder.build(Purpose)
instead.<T extends Secret>
TSecretBuilder. build(Purpose<T> purpose)
Builds a secret of the given type, enforcing anyconstraints
attached to the purpose.T
SecretReference. get()
Gets the current active secret object, refreshing it if necessary.byte[]
SecretBuilder. getRawData()
Returns the raw secret data, or null if the raw data is not available.Key
SecretBuilder. getSecretKey()
Returns the secret (or private) key associated with this secret, or null if not specified.Constructors in org.forgerock.secrets that throw NoSuchSecretException Constructor Description GenericSecret(SecretBuilder builder)
Constructs a generic secret with the given stable identifier and secret data. -
Uses of NoSuchSecretException in org.forgerock.secrets.keys
Methods in org.forgerock.secrets.keys that throw NoSuchSecretException Modifier and Type Method Description <T> T
CryptoKey. export(KeyFormat<T> format)
Exports the key material in the given format.T
KeyFormat. export(CryptoKey key, Key rawKey)
Exports the given crypto key and raw key material.Constructors in org.forgerock.secrets.keys that throw NoSuchSecretException Constructor Description 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.
-