public abstract class KeyStoreSSLFactory extends SSLFactory
DEFAULT, FALSE, needClientAuth, TRUE, useClientMode| Constructor and Description |
|---|
KeyStoreSSLFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
setKey(java.lang.String keyAlias,
char[] keyPassword)
Set the key/certificate to use for the SSL sockets producted by this factory.
|
abstract void |
setKeyStore(java.lang.String keyStoreName,
char[] keyStorePassword)
Set the keystore to use for the SSL sockets producted by this factory.
|
void |
setKmoKeystore(java.lang.String kmoName,
java.lang.String rootFile)
Setup the KMO name when using a KMO object.
|
abstract void |
setSecureProtocol(java.lang.String secureProtocol)
Specify the Secure Protocol to be used for sockets created
by this factory
|
createServerSocket, createServerSocket, createServerSocket, createSocket, createSocket, createSocket, createSocket, getInstance, getSSLDescription, getSSLVerboseDescription, setNeedClientAuth, setUseClientModepublic abstract void setKeyStore(java.lang.String keyStoreName,
char[] keyStorePassword)
throws SSLInitializationException
keyStoreName - Name of the keystore file.keyStorePassword - Password for access to keystoreSSLInitializationExceptionpublic abstract void setKey(java.lang.String keyAlias,
char[] keyPassword)
throws SSLInitializationException
This must be called after setKeystore() is called.
keyAlias - Name of the key/certificate in the keystore.keyPassword - Password of the keySSLInitializationExceptionpublic void setKmoKeystore(java.lang.String kmoName,
java.lang.String rootFile)
throws SSLInitializationException
kmoName - SSLInitializationExceptionpublic abstract void setSecureProtocol(java.lang.String secureProtocol)
secureProtocol - Secure Protocol(SSLv3 or TLSv1 or TLSv1_2)
data.