jp.veritrans.tercerog.mdk.connection.ssl
クラス SocketUtils
java.lang.Object
jp.veritrans.tercerog.mdk.connection.ssl.SocketUtils
public class SocketUtils
- extends Object
ソケットに関連する機能をまとめたクラス。
- 作成者:
- Veritrans Inc
SocketUtils
public SocketUtils()
createSocket
public Socket createSocket(String host,
int port,
SSLConfigurator sslConf)
throws KeyStoreException,
NoSuchAlgorithmException,
CertificateException,
FileNotFoundException,
IOException,
UnrecoverableKeyException,
KeyManagementException,
UnknownHostException,
Exception
- ソケットを生成して返す。
- パラメータ:
host
- ホスト名port
- ポート番号sslConf
- SSL送信するためのコンフィグクラス
- 戻り値:
- ソケット
- 例外:
KeyStoreException
NoSuchAlgorithmException
CertificateException
FileNotFoundException
IOException
UnrecoverableKeyException
KeyManagementException
UnknownHostException
Exception
Copyright © 2017. All rights reserved.