public final class SSLUtilityFactory extends Object
SSLContext
Modifier and Type | Method and Description |
---|---|
static SSLContext |
createSSLContext()
Returns instance of
SSLContext initialized with the platform's
trust store and key store |
static SSLContext |
createSSLContext(SSLProtocolType sslProtocolType)
Returns instance of
SSLContext initialized with the platform's
trust store and key store and with the specified SSL protocol |
public static SSLContext createSSLContext() throws SSLUtilityException
SSLContext
initialized with the platform's
trust store and key storeSSLContext
initialized with the platform's
trust store and key store
The SSL protocol used is TLSv1.0
By default host name will be verified, any customization like
AllowAnyHost should be handled by the client
SSLUtilityException
public static SSLContext createSSLContext(SSLProtocolType sslProtocolType) throws SSLUtilityException
SSLContext
initialized with the platform's
trust store and key store and with the specified SSL protocolsslProtocolType
- SSLProtocolType
SSLContext
initialized with the platform's
trust store and key store and with the specified SSL protocol
Supported SSL protocols are SSLv3.0 and TLSv1.0
By default host name will be verified, any customization like
AllowAnyHost should be handled by the client
SSLUtilityException
Copyright © 2014 Avaya. All Rights Reserved.