com.genesyslab.platform.commons.connection.tls
Class TLSConfigurationHelper
java.lang.Object
com.genesyslab.platform.commons.connection.tls.TLSConfigurationHelper
public class TLSConfigurationHelper
- extends java.lang.Object
Provides methods to create TLS configuration objects for endpoints and connections out of
ITLSConnectionConfiguration instance.
Field Summary |
static char[] |
DEFAULT_PASSWORD
Default entry password used when creating KeyStore. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PASSWORD
public static final char[] DEFAULT_PASSWORD
- Default entry password used when creating KeyStore.
TLSConfigurationHelper
public TLSConfigurationHelper()
createSslContext
public static javax.net.ssl.SSLContext createSslContext(TLSConfiguration config)
throws java.lang.SecurityException
- Prepares SSLContext that can be then used to create Endpoints.
- Parameters:
config
- ITLSConnectionConfiguration instance with TLS parameters.
- Returns:
- Configured SSLContext instance.
- Throws:
java.lang.SecurityException
- if TLS parameters are inconsistent, not valid or
do not match OS/Java configuration.- See Also:
TLSConfigurationParser
createSslExtendedOptions
public static SSLExtendedOptions createSslExtendedOptions(TLSConfiguration config)
- Prepares SSLExtendedOptions instance that can be then used to create Endpoints. SSLExtendedOptions carries
TLS/SSL options that can not be set directly to SSLContext.
- Parameters:
config
- ITLSConnectionConfiguration instance with TLS parameters.
- Returns:
- Configured SSLExtendedOptions instance.
- See Also:
TLSConfigurationParser
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.