com.ibm.websphere.ssl
Interface JSSEProvider
- public interface JSSEProvider
This is the interface for the various JSSEProviders. For v7, mostly IBMJSSE2 is used, but for the pluggable client it could be SunJSSE.
Since:
WAS 7.0
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getCiphersForSecurityLevel(boolean isClient,java.lang.String securityLevel)
Query all encryption ciphers for the specified security level supported by
this provider.
|
|
getContextProvider()
Get the name of the context provider, ie.
|
|
getDefaultProtocol()
Query the default protocol value for this provider, ie.
|
|
getKeyManager()
Get the name of key manager for this provider, ie "SunX509".
|
|
getKeyManagerFactoryInstance()
Get the key manager factory for this provider.
|
|
getKeyStoreInstance(java.lang.String keystoretype,java.lang.String keystoreprovider)
Get a keystore instance for the provided information.
|
|
getKeyStoreProvider()
Get the name of the keystore provider, ie.
|
|
getSocketFactory()
Get the package and class name of the socket factory for this provider.
|
|
getSSLContext(java.util.Map<java.lang.String,java.lang.Object> connectionInfo,SSLConfig config)
Access the SSLContext instance that matchs the provided configuration and
connection information.
|
|
getSSLContextInstance(SSLConfig config)
Access the SSLContext instance that matchs the provided configuration.
|
|
getSSLProtocolPackageHandler()
Query the package for the HTTPS classes for this provider.
|
|
getSSLServerSocketFactory(SSLConfig config)
Get the SSL socket factory that matchs the provided parameters.
|
|
getSSLSocketFactory(java.util.Map<java.lang.String,java.lang.Object> connectionInfo,SSLConfig config)
Get the SSL socket factory that matchs the provided parameters.
|
|
getTrustManager()
Get the name of the trust manager for this provider, ie.
|
|
getTrustManagerFactoryInstance()
Get the trust manager factory for this provider.
|
|
getURLStreamHandler(SSLConfig config)
Get the URL stream handler for the given configuration.
|
|
setServerDefaultSSLContext(SSLConfig sslConfig)
Set the default SSL factory for the server.
|
Method Detail
getSSLProtocolPackageHandler
- java.lang.String getSSLProtocolPackageHandler( )
Query the package for the HTTPS classes for this provider.
Returns:
String
getDefaultProtocol
- java.lang.String getDefaultProtocol( )
Query the default protocol value for this provider, ie. SSL, TLS, etc.
Returns:
String
getCiphersForSecurityLevel
- java.lang.String[] getCiphersForSecurityLevel( boolean isClient,
- java.lang.String securityLevel)
Query all encryption ciphers for the specified security level supported by
this provider.
Parameters:
isClient
- securityLevel
- Returns:
String[]
getSSLContextInstance
- javax.net.ssl.SSLContext getSSLContextInstance( SSLConfig config)
- throws SSLException
Access the SSLContext instance that matchs the provided configuration.
getSSLContext
- javax.net.ssl.SSLContext getSSLContext( java.util.Map<java.lang.String,java.lang.Object> connectionInfo,
- SSLConfig config)
- throws java.lang.Exception
Access the SSLContext instance that matchs the provided configuration and
connection information.
Parameters:
connectionInfo
- config
- Returns:
SSLContext
Throws:
java.lang.Exception
getURLStreamHandler
- java.net.URLStreamHandler getURLStreamHandler( SSLConfig config)
- throws java.lang.Exception
Get the URL stream handler for the given configuration.
Parameters:
config
- Returns:
URLStreamHandler
Throws:
java.lang.Exception
getSSLSocketFactory
- javax.net.ssl.SSLSocketFactory getSSLSocketFactory( java.util.Map<java.lang.String,java.lang.Object> connectionInfo,
- SSLConfig config)
- throws java.lang.Exception
Get the SSL socket factory that matchs the provided parameters.
Parameters:
connectionInfo
- config
- Returns:
SSLSocketFactory
Throws:
java.lang.Exception
getSSLServerSocketFactory
- javax.net.ssl.SSLServerSocketFactory getSSLServerSocketFactory( SSLConfig config)
- throws SSLException
Get the SSL socket factory that matchs the provided parameters.
getTrustManagerFactoryInstance
- javax.net.ssl.TrustManagerFactory getTrustManagerFactoryInstance( )
- throws java.security.NoSuchAlgorithmException
- java.security.NoSuchProviderException
Get the trust manager factory for this provider.
Returns:
TrustManagerFactory
Throws:
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
getKeyManagerFactoryInstance
- javax.net.ssl.KeyManagerFactory getKeyManagerFactoryInstance( )
- throws java.security.NoSuchAlgorithmException
- java.security.NoSuchProviderException
Get the key manager factory for this provider.
Returns:
KeyManagerFactory
Throws:
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
getKeyStoreInstance
- java.security.KeyStore getKeyStoreInstance( java.lang.String keystoretype,
- java.lang.String keystoreprovider)
- throws java.security.KeyStoreException
- java.security.NoSuchProviderException
Get a keystore instance for the provided information.
Parameters:
keystoretype
- keystoreprovider
- Returns:
KeyStore
Throws:
java.security.KeyStoreException
java.security.NoSuchProviderException
getKeyManager
- java.lang.String getKeyManager( )
Get the name of key manager for this provider, ie "SunX509".
Returns:
String
getTrustManager
- java.lang.String getTrustManager( )
Get the name of the trust manager for this provider, ie. "SunX509".
Returns:
String
getContextProvider
- java.lang.String getContextProvider( )
Get the name of the context provider, ie. "SunJSSE".
Returns:
String
getKeyStoreProvider
- java.lang.String getKeyStoreProvider( )
Get the name of the keystore provider, ie. "SUN".
Returns:
String
getSocketFactory
- java.lang.String getSocketFactory( )
Get the package and class name of the socket factory for this provider.
Returns:
String
setServerDefaultSSLContext
- void setServerDefaultSSLContext( SSLConfig sslConfig)
- throws SSLException
- java.lang.Exception
Set the default SSL factory for the server.