public class EPPSSLImpl
extends java.lang.Object
EPP.SSLProtocol
- Required property that can be either SSL,
SSLv2, SSLv3, TLS, or TLSv1
EPP.SSLKeyManager
- Required SSL key manager property, for
example, SunX509
EPP.SSLKeyStore
- Required SSL Keystore format property, for
example, JKS
EPP.SSLKeyFileName
- Required Identity SSL Keystore file
name.
EPP.SSLPassPhrase
- Required Identity SSL Keystore
passphrase.
EPP.SSLKeyPassPhrase
- Optional Identity SSL private key
passphrase. If not defined, EPP.SSLPassPhrase
is used.
EPP.SSLTrustStoreFileName
- Optional Trust SSK Keystore file
name. If not defined, the trust Keystore of the JRE is used.
EPP.SSLTrustStoreFileName
is specified.
SSLContext
and SSLSocketFactory
. The
initialize
method is synchronized and will immediately return if
EPPSSLImpl
has already been successfully initialized. The method
isInitialized
can be used to check if EPPSSLImpl
has already been initialized.Constructor and Description |
---|
EPPSSLImpl() |
Modifier and Type | Method and Description |
---|---|
static EPPSSLContext |
getEPPSSLContext()
Gets the single
EPPSSLContext initialized by the
EPPSSLImpl . |
static javax.net.ssl.SSLContext |
getSSLContext()
Gets the SSLContext that has been initialized if
isInitialized returns true , otherwise it will
be null . |
static java.lang.String[] |
getSSLEnabledCipherSuites()
Gets the SSL enabled cipher suites.
|
static java.lang.String[] |
getSSLEnabledProtocols()
Gets the SSL enabled protocols.
|
static javax.net.ssl.SSLSocketFactory |
getSSLSocketFactory()
Gets the initialize
SSLSocketFactory . |
static boolean |
hasSSLEnabledCipherSuites()
Is the SSL enabled cipher suites specified?
|
static boolean |
hasSSLEnabledProtocols()
Is the SSL enabled protocols specified?
|
static void |
initialize()
Initialize the
EPPSSLImpl , which will create an initialize
the SSLContext . |
static EPPSSLContext |
initialize(EPPSSLConfig aConfig) |
static boolean |
isInitialized()
Has EPPSSLImpl been successfully initialized?
|
public static javax.net.ssl.SSLContext getSSLContext()
isInitialized
returns true
, otherwise it will
be null
. The following configuration properties are used to
initialize SSL:SSLContext
if successfully initialized;
null
otherwise.public static boolean hasSSLEnabledProtocols()
true
if specified;false
otherwise.public static java.lang.String[] getSSLEnabledProtocols()
String
array of SSL enabled protocols if defined;
null
otherwise.public static boolean hasSSLEnabledCipherSuites()
true
if specified;false
otherwise.public static java.lang.String[] getSSLEnabledCipherSuites()
String
array of SSL enabled cipher suites if
defined;null
otherwise.public static EPPSSLContext getEPPSSLContext()
EPPSSLContext
initialized by the
EPPSSLImpl
.EPPSSLContext
instance if initialized;
null
otherwise.public static boolean isInitialized()
true
if initialized; false
otherwisepublic static javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
SSLSocketFactory
.SSLSocketFactory
if successfully
initialized; null
otherwise.public static EPPSSLContext initialize(EPPSSLConfig aConfig) throws EPPConException
EPPConException
public static void initialize() throws EPPConException
EPPSSLImpl
, which will create an initialize
the SSLContext
. If EPPSSLImpl
has already been
successfully initialized, this method will simply return.EPPConException
- Error initializing EPPSSLImpl
Copyright © VeriSign Inc. All Rights Reserved.