Uses of Class
org.forgerock.secrets.NoSuchSecretException
-
Packages that use NoSuchSecretException Package Description org.forgerock.json.jose.jwk Classes and interfaces for creating and manipulating JWKs.org.forgerock.json.jose.jws Classes and interfaces for JWT signing and JWS'.org.forgerock.openig.secrets Provides the Common Secrets API for accessing secrets of various kinds.org.forgerock.openig.tools.jwt.factory Provides JWT capabilities to the Identity Gateway.org.forgerock.secrets Provides a unified API for accessing secrets of various kinds.org.forgerock.secrets.jwkset Secret store backend for retrieving keys from a local or remote JWK Set.org.forgerock.secrets.keys Contains cryptographic key related API objects.org.forgerock.secrets.keystore Implementations ofSecretStore
for accessing keys stored in Java KeyStores, such as PKCS#11 Hardware Security Modules (HSMs) and PKCS#12 file-based encrypted key stores.org.forgerock.secrets.oauth2 A Secrets API backend that can obtain OAuth 2 access tokens from a token endpoint, along with a collection of grant type handlers.org.forgerock.secrets.propertyresolver Provides aSecretStore
implementation that loads secrets from a Common ConfigurationPropertyResolver
and then decodes it with aSecretPropertyFormat
. -
-
Uses of NoSuchSecretException in org.forgerock.json.jose.jwk
Methods in org.forgerock.json.jose.jwk that throw NoSuchSecretException Modifier and Type Method Description <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
Methods in org.forgerock.json.jose.jws that return types with arguments of type NoSuchSecretException Modifier and Type Method Description Promise<SigningHandler,NoSuchSecretException>
SigningManager. newSigningHandler(Purpose<SigningKey> purpose)
Constructs a new SigningHandler configured for signing with the provided secret purpose.Promise<SigningHandler,NoSuchSecretException>
SigningManager. newSigningHandler(SecretReference<SigningKey> secretReference)
Constructs a new SigningHandler configured for signing with the provided secret reference. -
Uses of NoSuchSecretException in org.forgerock.openig.secrets
Methods in org.forgerock.openig.secrets that return types with arguments of type NoSuchSecretException Modifier and Type Method Description <S extends GenericSecret>
Promise<S,NoSuchSecretException>Base64EncodedSecretStore. getActive(Purpose<S> purpose)
<S extends Secret>
Promise<S,NoSuchSecretException>DefaultSecretsService. getActiveSecret(Purpose<S> purpose)
Deprecated.<S extends Secret>
Promise<S,NoSuchSecretException>SecretsService. getActiveSecret(Purpose<S> purpose)
Gets the currently active secret for the given purpose.<S extends GenericSecret>
Promise<S,NoSuchSecretException>Base64EncodedSecretStore. getNamed(Purpose<S> purpose, String name)
<S extends Secret>
Promise<S,NoSuchSecretException>DefaultSecretsService. getNamedSecret(Purpose<S> purpose, String id)
Deprecated.<S extends Secret>
Promise<S,NoSuchSecretException>SecretsService. getNamedSecret(Purpose<S> purpose, String id)
Gets the secret for the given purpose with the given stable secret id.Methods in org.forgerock.openig.secrets that throw NoSuchSecretException Modifier and Type Method Description SecretBuilder
Base64PropertyFormat. decode(String value)
static Key
SecretsUtils. exportAsKey(CryptoKey cryptoKey)
Exports the key material in the raw format.static Key
SecretsUtils. exportAsKeyAndClose(CryptoKey cryptoKey)
Exports the key material in the raw format and close the provided key material.static byte[]
SecretsUtils. getPasswordSecretIdOrPasswordAsByte(SecretsProvider secretsProvider, JsonValue secretIdNode, JsonValue deprecatedNode, org.slf4j.Logger logger)
Retrieve a required shared secret value (asbyte[]
) from the givensecretIdNode
anddeprecatedNode
nodes.static <S extends CryptoKey>
SSecretsUtils. retrieveCryptoKeyFromSecretId(SecretsProvider secretsProvider, JsonValue secretIdNode, Class<S> type)
Retrieves aCryptoKey
from the given node. -
Uses of NoSuchSecretException in org.forgerock.openig.tools.jwt.factory
Methods in org.forgerock.openig.tools.jwt.factory that return types with arguments of type NoSuchSecretException Modifier and Type Method Description Promise<Jwt,NoSuchSecretException>
JwtFactory. create(Map<String,Object> template)
Produces a newJwt
.protected Promise<EncryptedJwtBuilder,NoSuchSecretException>
EncryptedJwtFactory. jwtBuilder()
protected Promise<SignedJwtBuilderImpl,NoSuchSecretException>
SignedJwtFactory. jwtBuilder()
protected Promise<SignedThenEncryptedJwtBuilder,NoSuchSecretException>
SignedThenEncryptedJwtFactory. jwtBuilder()
protected Promise<SignedJwtBuilderImpl,NoSuchSecretException>
UnsignedJwtFactory. jwtBuilder()
Deprecated. -
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 Promise<SecretBuilder,NoSuchSecretException>
SecretDecoder. decodeToPromise(byte[] data)
Decodes the raw data retrieved from a backend into aSecretBuilder
for further processing.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.jwkset
Methods in org.forgerock.secrets.jwkset that return types with arguments of type NoSuchSecretException Modifier and Type Method Description <S extends CryptoKey>
Promise<S,NoSuchSecretException>JwkSetSecretStore. getNamed(Purpose<S> purpose, String name)
-
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 CertificateVerificationKey(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
Methods in org.forgerock.secrets.keystore that return types with arguments of type NoSuchSecretException Modifier and Type Method Description <S extends Secret>
Promise<S,NoSuchSecretException>KeyStoreSecretStore. getActive(Purpose<S> purpose)
<S extends Secret>
Promise<S,NoSuchSecretException>KeyStoreSecretStore. getNamed(Purpose<S> purpose, String id)
Methods in org.forgerock.secrets.keystore that throw NoSuchSecretException Modifier and Type Method Description Key
KeyStoreSecretStore.KeyDetails. getSecretKey()
Get theKey
instance for the secret component of this key. -
Uses of NoSuchSecretException in org.forgerock.secrets.oauth2
Methods in org.forgerock.secrets.oauth2 that return types with arguments of type NoSuchSecretException Modifier and Type Method Description <S extends GenericSecret>
Promise<S,NoSuchSecretException>AccessTokenSecretStore. getActive(Purpose<S> purpose)
<S extends GenericSecret>
Promise<S,NoSuchSecretException>AccessTokenSecretStore. getNamed(Purpose<S> purpose, String name)
protected Promise<Form,NoSuchSecretException>
AuthorizationCodeGrantTypeHandler. handle(Request tokenEndpointRequest, Form form)
protected Promise<Form,NoSuchSecretException>
GrantTypeHandler. handle(Request tokenEndpointRequest, Form form)
Handles the request by adding appropriate parameters to the OAuth 2.0 token endpoint request.protected Promise<Form,NoSuchSecretException>
JwtBearerGrantTypeHandler. handle(Request tokenEndpointRequest, Form form)
protected Promise<Form,NoSuchSecretException>
RefreshTokenGrantTypeHandler. handle(Request tokenEndpointRequest, Form form)
protected Promise<Form,NoSuchSecretException>
ResourceOwnerPasswordGrantTypeHandler. handle(Request tokenEndpointRequest, Form form)
-
Uses of NoSuchSecretException in org.forgerock.secrets.propertyresolver
Methods in org.forgerock.secrets.propertyresolver that return types with arguments of type NoSuchSecretException Modifier and Type Method Description Promise<SecretBuilder,NoSuchSecretException>
PemPropertyFormat. 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>PropertyResolverSecretStore. getActive(Purpose<S> purpose)
<S extends Secret>
Promise<S,NoSuchSecretException>PropertyResolverSecretStore. getNamed(Purpose<S> purpose, String name)
Methods in org.forgerock.secrets.propertyresolver that throw NoSuchSecretException Modifier and Type Method Description SecretBuilder
JwkPropertyFormat. decode(String propertyValue)
SecretBuilder
PemPropertyFormat. decode(String propertyValue)
SecretBuilder
SecretKeyPropertyFormat. decode(String propertyValue)
SecretBuilder
SecretPropertyFormat. decode(String propertyValue)
Decodes the input property value, setting relevant properties on aSecretBuilder
object.
-