|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JSSEProvider
JSSE provider utility interface.
This is the interface for the various JSSEProviders. For v7, mostly IBMJSSE2 is used, but for the pluggable client it could be SunJSSE.
Method Summary | |
---|---|
java.lang.String[] |
getCiphersForSecurityLevel(boolean isClient,
java.lang.String securityLevel)
Query all encryption ciphers for the specified security level supported by this provider. |
java.lang.String |
getContextProvider()
Get the name of the context provider, ie. |
java.lang.String |
getDefaultProtocol()
Query the default protocol value for this provider, ie. |
java.lang.String |
getKeyManager()
Get the name of key manager for this provider, ie "SunX509". |
javax.net.ssl.KeyManagerFactory |
getKeyManagerFactoryInstance()
Get the key manager factory for this provider. |
java.security.KeyStore |
getKeyStoreInstance(java.lang.String keystoretype,
java.lang.String keystoreprovider)
Get a keystore instance for the provided information. |
java.lang.String |
getKeyStoreProvider()
Get the name of the keystore provider, ie. |
java.lang.String |
getSocketFactory()
Get the package and class name of the socket factory for this provider. |
javax.net.ssl.SSLContext |
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. |
javax.net.ssl.SSLContext |
getSSLContextInstance(SSLConfig config)
Access the SSLContext instance that matchs the provided configuration. |
java.lang.String |
getSSLProtocolPackageHandler()
Query the package for the HTTPS classes for this provider. |
javax.net.ssl.SSLServerSocketFactory |
getSSLServerSocketFactory(SSLConfig config)
Get the SSL socket factory that matchs the provided parameters. |
javax.net.ssl.SSLSocketFactory |
getSSLSocketFactory(java.util.Map<java.lang.String,java.lang.Object> connectionInfo,
SSLConfig config)
Get the SSL socket factory that matchs the provided parameters. |
java.lang.String |
getTrustManager()
Get the name of the trust manager for this provider, ie. |
javax.net.ssl.TrustManagerFactory |
getTrustManagerFactoryInstance()
Get the trust manager factory for this provider. |
java.net.URLStreamHandler |
getURLStreamHandler(SSLConfig config)
Get the URL stream handler for the given configuration. |
void |
setServerDefaultSSLContext(SSLConfig sslConfig)
Set the default SSL factory for the server. |
Method Detail |
---|
java.lang.String getSSLProtocolPackageHandler()
java.lang.String getDefaultProtocol()
java.lang.String[] getCiphersForSecurityLevel(boolean isClient, java.lang.String securityLevel)
isClient
- securityLevel
-
javax.net.ssl.SSLContext getSSLContextInstance(SSLConfig config) throws SSLException
config
-
SSLException
javax.net.ssl.SSLContext getSSLContext(java.util.Map<java.lang.String,java.lang.Object> connectionInfo, SSLConfig config) throws java.lang.Exception
connectionInfo
- config
-
java.lang.Exception
java.net.URLStreamHandler getURLStreamHandler(SSLConfig config) throws java.lang.Exception
config
-
java.lang.Exception
javax.net.ssl.SSLSocketFactory getSSLSocketFactory(java.util.Map<java.lang.String,java.lang.Object> connectionInfo, SSLConfig config) throws java.lang.Exception
connectionInfo
- config
-
java.lang.Exception
javax.net.ssl.SSLServerSocketFactory getSSLServerSocketFactory(SSLConfig config) throws SSLException
config
-
SSLException
javax.net.ssl.TrustManagerFactory getTrustManagerFactoryInstance() throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
javax.net.ssl.KeyManagerFactory getKeyManagerFactoryInstance() throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
java.security.KeyStore getKeyStoreInstance(java.lang.String keystoretype, java.lang.String keystoreprovider) throws java.security.KeyStoreException, java.security.NoSuchProviderException
keystoretype
- keystoreprovider
-
java.security.KeyStoreException
java.security.NoSuchProviderException
java.lang.String getKeyManager()
java.lang.String getTrustManager()
java.lang.String getContextProvider()
java.lang.String getKeyStoreProvider()
java.lang.String getSocketFactory()
void setServerDefaultSSLContext(SSLConfig sslConfig) throws SSLException, java.lang.Exception
SSLException
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |