Package | Description |
---|---|
org.forgerock.openig.secrets |
Provides the Common Secrets API for accessing secrets of various kinds.
|
org.forgerock.openig.tools.am |
Access Management Server.
|
org.forgerock.openig.util |
Miscellaneous utility classes.
|
org.forgerock.secrets |
Provides a unified API for accessing secrets of various kinds.
|
org.forgerock.secrets.keys |
Contains cryptographic key related API objects.
|
org.forgerock.secrets.keystore |
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. |
Modifier and Type | Method and Description |
---|---|
<S extends Secret> |
SecretsService.createReference(Purpose<S> purpose)
Create a
SecretReference for the given Purpose . |
<S extends Secret> |
DefaultSecretsService.createReference(Purpose<S> purpose) |
static SecretReference<GenericSecret> |
SecretsUtils.retrievePasswordAsReference(SecretsService secretsService,
JsonValue secretIdNode,
JsonValue deprecatedNode,
Clock clock)
Retrieve a required password as a
SecretReference from the given secretIdNode
and deprecatedNode nodes. |
Modifier and Type | Method and Description |
---|---|
static AmService.Builder |
AmService.builder(URI baseUri,
Handler amHandler,
Clock clock,
String agentId,
SecretReference<GenericSecret> agentPassword)
Returns a new
AmService.Builder for creating a new AmService instance. |
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,SecretReference<GenericSecret>,JsonValueException> |
JsonValues.constantSecretReference(Clock clock)
Returns a
constant(Secret) from a GenericSecret attribute value. |
Modifier and Type | Method and Description |
---|---|
static <T extends Secret> |
SecretReference.constant(T secret)
Create a constant
SecretReference for the given secret, that will never expire. |
Modifier and Type | Method and Description |
---|---|
KeyFormatPem |
KeyFormatPem.withEncryptionPassword(SecretReference<GenericSecret> encryptionPassword)
Returns a new PEM key format that will encrypt private keys with the given password.
|
Constructor and Description |
---|
KeyFormatPem(boolean includeCertificate,
SecretReference<GenericSecret> encryptionPassword)
Constructs a new PEM key format that encrypts private keys using the given password.
|
Constructor and Description |
---|
KeyStoreSecretStore(Function<char[],KeyStore,KeyStoreException> keyStoreLoader,
SecretReference<GenericSecret> keyStorePassword)
Initialises the keystore using the same password for the keystore and all keys and default configuration options.
|
KeyStoreSecretStore(Function<char[],KeyStore,KeyStoreException> keyStoreLoader,
SecretReference<GenericSecret> keyStorePassword,
Options options)
Initialises the keystore using the same password for the keystore and all keys.
|
KeyStoreSecretStore(Function<char[],KeyStore,KeyStoreException> keyStoreLoader,
SecretReference<GenericSecret> keyStorePassword,
SecretReference<GenericSecret> keyEntryPassword,
Options options,
KeyStoreSecretStore.StableIdProvider stableIdProvider)
Initialises the key store.
|
KeyStoreSecretStore(Function<char[],KeyStore,KeyStoreException> keyStoreLoader,
SecretReference<GenericSecret> keyStorePassword,
SecretReference<GenericSecret> keyEntryPassword,
Options options,
KeyStoreSecretStore.StableIdProvider stableIdProvider)
Initialises the key store.
|
Copyright 2011-2017 ForgeRock AS.