|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.vfs.JsseSSLFactory
public class JsseSSLFactory
Abstract socket to handle both normal sockets and bin/resin sockets.
Constructor Summary | |
---|---|
JsseSSLFactory()
Creates a ServerSocket factory without initializing it. |
Method Summary | |
---|---|
QServerSocket |
bind(QServerSocket ss)
Creates the SSL ServerSocket. |
QServerSocket |
create(java.net.InetAddress host,
int port)
Creates the SSL ServerSocket. |
java.lang.String |
getAlias()
Returns the alias. |
Path |
getKeyStoreFile()
Returns the certificate file. |
java.lang.String |
getPassword()
Returns the key file. |
java.lang.String |
getVerifyClient()
Returns the key file. |
void |
init()
Initialize |
void |
setAlias(java.lang.String alias)
Sets the certificate alias |
void |
setCipherSuites(java.lang.String[] ciphers)
Sets the enabled cipher suites |
void |
setCipherSuitesForbidden(java.lang.String[] ciphers)
Sets the enabled cipher suites |
void |
setKeyManagerFactory(java.lang.String keyManagerFactory)
Sets the key-manager-factory |
void |
setKeyStoreFile(Path keyStoreFile)
Sets the key store |
void |
setKeyStoreType(java.lang.String keyStore)
Sets the key-store |
void |
setPassword(java.lang.String password)
Sets the password. |
void |
setProtocol(java.lang.String protocol)
Sets the protocol |
void |
setSelfSignedCertificateName(java.lang.String name)
Sets the self-signed certificate name |
void |
setSSLContext(java.lang.String sslContext)
Sets the ssl-context |
void |
setVerifyClient(java.lang.String verifyClient)
Sets the verifyClient. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsseSSLFactory()
Method Detail |
---|
public void setCipherSuites(java.lang.String[] ciphers)
public void setCipherSuitesForbidden(java.lang.String[] ciphers)
public void setKeyStoreFile(Path keyStoreFile)
public Path getKeyStoreFile()
public void setPassword(java.lang.String password)
public java.lang.String getPassword()
public void setAlias(java.lang.String alias)
public java.lang.String getAlias()
public void setVerifyClient(java.lang.String verifyClient)
public java.lang.String getVerifyClient()
public void setKeyManagerFactory(java.lang.String keyManagerFactory)
public void setSelfSignedCertificateName(java.lang.String name)
public void setSSLContext(java.lang.String sslContext)
public void setKeyStoreType(java.lang.String keyStore)
public void setProtocol(java.lang.String protocol)
@PostConstruct public void init() throws ConfigException, java.io.IOException, java.security.GeneralSecurityException
ConfigException
java.io.IOException
java.security.GeneralSecurityException
public QServerSocket create(java.net.InetAddress host, int port) throws java.io.IOException, java.security.GeneralSecurityException
create
in interface SSLFactory
java.io.IOException
java.security.GeneralSecurityException
public QServerSocket bind(QServerSocket ss) throws ConfigException, java.io.IOException, java.security.GeneralSecurityException
bind
in interface SSLFactory
ConfigException
java.io.IOException
java.security.GeneralSecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |