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.
|
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 |
---|---|
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 © 2010-2018, ForgeRock All Rights Reserved.