ConfigurableFileBasedKeyStoresFactory@Private @Evolving public interface KeyStoresFactory extends Configurable
KeyManager and TrustManager
implementations.| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
Releases any resources being used.
|
javax.net.ssl.KeyManager[] |
getKeyManagers() |
Returns the keymanagers for owned certificates.
|
javax.net.ssl.TrustManager[] |
getTrustManagers() |
Returns the trustmanagers for trusted certificates.
|
void |
init(SSLFactory.Mode mode) |
Initializes the keystores of the factory.
|
getConf, setConfvoid init(SSLFactory.Mode mode) throws java.io.IOException, java.security.GeneralSecurityException
mode - if the keystores are to be used in client or server mode.java.io.IOException - thrown if the keystores could not be initialized due
to an IO error.java.security.GeneralSecurityException - thrown if the keystores could not be
initialized due to an security error.void destroy()
javax.net.ssl.KeyManager[] getKeyManagers()
javax.net.ssl.TrustManager[] getTrustManagers()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.