edu.vt.middleware.ldap.ssl
public abstract class AbstractSSLContextInitializer extends java.lang.Object implements SSLContextInitializer
SSLContextInitializer.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger
Log for this class.
|
| Constructor and Description |
|---|
AbstractSSLContextInitializer() |
| Modifier and Type | Method and Description |
|---|---|
abstract javax.net.ssl.KeyManager[] |
getKeyManagers()
Returns the key managers used when creating SSL contexts.
|
abstract 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.
|
public javax.net.ssl.SSLContext initSSLContext(java.lang.String protocol)
throws java.security.GeneralSecurityException
initSSLContext in interface SSLContextInitializerprotocol - type to use for SSLSSLContextjava.security.GeneralSecurityException - if the SSLContext cannot be createdpublic abstract javax.net.ssl.TrustManager[] getTrustManagers()
throws java.security.GeneralSecurityException
getTrustManagers in interface SSLContextInitializerTrustManager[]java.security.GeneralSecurityException - if an errors occurs while loading the
TrustManagerspublic abstract javax.net.ssl.KeyManager[] getKeyManagers()
throws java.security.GeneralSecurityException
getKeyManagers in interface SSLContextInitializerKeyManagers[]java.security.GeneralSecurityException - if an errors occurs while loading the
KeyManagersCopyright © 2014. All Rights Reserved.