|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.transport.client.EPPSSLContext
public class EPPSSLContext
The EPPSSLContext contains initialized SSL
objects that can be used to establish SSL connections. The attributes
include an SSLContext, an SSLSocketFactory,
and an optional set of SSL enabled protocols.
| Constructor Summary | |
|---|---|
EPPSSLContext()
Default constructor. |
|
EPPSSLContext(javax.net.ssl.SSLContext aSSLContext)
Creates an instance of EPPSSLContext that takes the required set of
attributes. |
|
EPPSSLContext(javax.net.ssl.SSLContext aSSLContext,
java.lang.String[] aSslEnabledProtocols,
java.lang.String[] aSslEnabledCipherSuites)
Creates an instance of EPPSSLContext that all of the
attributes. |
|
| Method Summary | |
|---|---|
javax.net.ssl.SSLContext |
getSSLContext()
Gets the SSLContext. |
java.lang.String[] |
getSSLEnabledCipherSuites()
Gets the optional SSL enabled cipher suites String array. |
java.lang.String[] |
getSSLEnabledProtocols()
Gets the optional SSL enabled protocols String array. |
javax.net.ssl.SSLSocketFactory |
getSSLSocketFactory()
Gets the SSLSocketFactory. |
boolean |
hasSSLContext()
Checks whether SSLContext has been set. |
boolean |
hasSSLEnabledCipherSuites()
Checks whether SSL enabled cipher suites has been set. |
boolean |
hasSSLEnabledProtocols()
Checks whether SSL enabled protocols has been set. |
boolean |
hasSSLSocketFactory()
Checks whether SSLSocketFactory has been set. |
void |
setSSLContext(javax.net.ssl.SSLContext aSSLContext)
Sets the SSLContext. |
void |
setSSLEnabledCipherSuites(java.lang.String[] aSslEnabledCipherSuites)
Sets the optional SSL enabled cipher suites String array. |
void |
setSSLEnabledProtocols(java.lang.String[] aSslEnabledProtocols)
Sets the optional SSL enabled protocols String array. |
void |
setSSLSocketFactory(javax.net.ssl.SSLSocketFactory aSSLSocketFactory)
Sets the SSLSocketFactory, which should be the SocketFactory
of the SSLContext attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EPPSSLContext()
public EPPSSLContext(javax.net.ssl.SSLContext aSSLContext)
EPPSSLContext that takes the required set of
attributes.
aSSLContext - SSLContext instance
public EPPSSLContext(javax.net.ssl.SSLContext aSSLContext,
java.lang.String[] aSslEnabledProtocols,
java.lang.String[] aSslEnabledCipherSuites)
EPPSSLContext that all of the
attributes.
aSSLContext - SSLContext instanceaSslEnabledProtocols - String array of enabled SSL protocolsaSslEnabledCipherSuites - String array of enabled SSL cipher suites| Method Detail |
|---|
public javax.net.ssl.SSLContext getSSLContext()
SSLContext.
SSLContext instancepublic void setSSLContext(javax.net.ssl.SSLContext aSSLContext)
SSLContext.
aSSLContext - SSLContext to setpublic boolean hasSSLContext()
SSLContext has been set.
true if set; false otherwise.public javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
SSLSocketFactory.
SSLSocketFactory instancepublic void setSSLSocketFactory(javax.net.ssl.SSLSocketFactory aSSLSocketFactory)
SSLSocketFactory, which should be the SocketFactory
of the SSLContext attribute.
aSSLSocketFactory - SSLSocketFactory instancepublic boolean hasSSLSocketFactory()
SSLSocketFactory has been set.
true if set; false otherwise.public java.lang.String[] getSSLEnabledProtocols()
String array.
>String array if set; null otherwise.public void setSSLEnabledProtocols(java.lang.String[] aSslEnabledProtocols)
String array.
aSslEnabledProtocols - String array of enabled SSL protocolspublic boolean hasSSLEnabledProtocols()
true if set; false otherwise.public java.lang.String[] getSSLEnabledCipherSuites()
String array.
>String array if set; null otherwise.public void setSSLEnabledCipherSuites(java.lang.String[] aSslEnabledCipherSuites)
String array.
aSslEnabledCipherSuites - String array of enabled SSL cipher suitespublic boolean hasSSLEnabledCipherSuites()
true if set; false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||