edu.vt.middleware.ldap.ssl
public interface SSLContextInitializer
Modifier and Type | Method and Description |
---|---|
javax.net.ssl.KeyManager[] |
getKeyManagers()
Returns the key managers used when creating SSL contexts.
|
javax.net.ssl.TrustManager[] |
getTrustManagers()
Returns the trust managers used when creating SSL contexts.
|
javax.net.ssl.SSLContext |
initSSLContext(java.lang.String protocol)
Creates an initialized SSLContext for the supplied protocol.
|
javax.net.ssl.SSLContext initSSLContext(java.lang.String protocol) throws java.security.GeneralSecurityException
protocol
- type to use for SSLSSLContext
java.security.GeneralSecurityException
- if the SSLContext cannot be createdjavax.net.ssl.TrustManager[] getTrustManagers() throws java.security.GeneralSecurityException
TrustManager[]
java.security.GeneralSecurityException
- if an errors occurs while loading the
TrustManagersjavax.net.ssl.KeyManager[] getKeyManagers() throws java.security.GeneralSecurityException
KeyManagers[]
java.security.GeneralSecurityException
- if an errors occurs while loading the
KeyManagersCopyright © 2014. All Rights Reserved.