Package org.forgerock.secrets
Class SecretsKeyManager
java.lang.Object
javax.net.ssl.X509ExtendedKeyManager
org.forgerock.secrets.SecretsKeyManager
- All Implemented Interfaces:
 KeyManager,X509KeyManager
An 
X509ExtendedKeyManager implementation that gets keys and certificates from a SecretsProvider.
 This implementation ensures that updates to the secrets are reflected in the keys and certificates available from
 the key manager. Use SecretsProvider.getKeyManager(Purpose, org.forgerock.util.Options) to obtain a copy of
 this key manager.- 
Field Summary
FieldsModifier and TypeFieldDescriptionThe algorithm of the underlyingX509ExtendedKeyManagerimplementation to use. - 
Method Summary
Modifier and TypeMethodDescriptionchooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine sslEngine) chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine sslEngine) chooseServerAlias(String keyType, Principal[] issuers, Socket socket) getCertificateChain(String alias) String[]getClientAliases(String keyType, Principal[] issuers) getPrivateKey(String alias) String[]getServerAliases(String keyType, Principal[] issuers)  
- 
Field Details
- 
KEY_MANAGER_ALGORITHM
The algorithm of the underlyingX509ExtendedKeyManagerimplementation to use. 
 - 
 - 
Method Details
- 
chooseEngineClientAlias
- Overrides:
 chooseEngineClientAliasin classX509ExtendedKeyManager
 - 
chooseEngineServerAlias
- Overrides:
 chooseEngineServerAliasin classX509ExtendedKeyManager
 - 
getClientAliases
 - 
chooseClientAlias
 - 
getServerAliases
 - 
chooseServerAlias
 - 
getCertificateChain
 - 
getPrivateKey
 
 -