public interface SSLContextInitializer
| Modifier and Type | Method and Description |
|---|---|
KeyManager[] |
getKeyManagers()
Returns the key managers used when creating SSL contexts.
|
TrustManager[] |
getTrustManagers()
Returns the trust managers used when creating SSL contexts.
|
SSLContext |
initSSLContext(String protocol)
Creates an initialized SSLContext for the supplied protocol.
|
SSLContext initSSLContext(String protocol) throws GeneralSecurityException
protocol - type to use for SSLSSLContextGeneralSecurityException - if the SSLContext cannot be createdTrustManager[] getTrustManagers() throws GeneralSecurityException
TrustManager[]GeneralSecurityException - if an errors occurs while loading the
TrustManagersKeyManager[] getKeyManagers() throws GeneralSecurityException
KeyManagers[]GeneralSecurityException - if an errors occurs while loading the
KeyManagersCopyright © 2014. All rights reserved.