public class RMSSLClientSocketFactory extends Object implements RMIClientSocketFactory, Serializable
Modifier and Type | Class and Description |
---|---|
(package private) class |
RMSSLClientSocketFactory.Verifier |
Constructor and Description |
---|
RMSSLClientSocketFactory() |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(String host,
int port) |
static SSLSocketFactory |
createSSLSocketFactory()
ServerSocketFactory オブジェクトを作成します. |
boolean |
equals(Object obj) |
int |
hashCode() |
static void |
initialize(File[] root,
File pkcs12file,
File pkcs12pass,
File[] crlurl)
Initialize the context for RMI/SSL connection.
|
public static void initialize(File[] root, File pkcs12file, File pkcs12pass, File[] crlurl) throws Exception
root
- path of root certificate(.crt).pkcs12file
- path of client certificate/key (.p12).pkcs12pass
- path of passphrase for decoding pkcs12file.crlurl
- path of file which contains URL of CRL.Exception
- Exceptionpublic static SSLSocketFactory createSSLSocketFactory()
ServerSocketFactory
オブジェクトを作成します.ServerSocketFactory
オブジェクトを返します.public Socket createSocket(String host, int port) throws IOException
createSocket
in interface RMIClientSocketFactory
IOException
EDB Working Group at Tue Jun 10 17:08:59 JST 2025