public class SslOption extends Object implements ISslOption
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SslOption.Builder |
| 构造器和说明 |
|---|
SslOption() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getBytes(String filePath) |
byte[] |
getCertByteArr() |
InputStream |
getCertStream()
Gets cert stream.
|
InputStream |
getInputStream(String filePath) |
byte[] |
getKeyByteArr() |
String |
getKeyPassword()
Gets key password.
|
InputStream |
getKeyStream()
Gets key stream.
|
byte[] |
getTrustStoreByteArr() |
String |
getTrustStorePassword()
Gets trust store password.
|
InputStream |
getTrustStoreStream()
Gets trust store stream.
|
static byte[] |
inputStreamToByte(InputStream inStream) |
public InputStream getKeyStream()
ISslOptiongetKeyStream 在接口中 ISslOptionpublic byte[] getKeyByteArr()
getKeyByteArr 在接口中 ISslOptionpublic InputStream getInputStream(String filePath)
public byte[] getBytes(String filePath)
public static byte[] inputStreamToByte(InputStream inStream) throws IOException
IOExceptionpublic InputStream getCertStream()
ISslOptiongetCertStream 在接口中 ISslOptionpublic byte[] getCertByteArr()
getCertByteArr 在接口中 ISslOptionpublic String getKeyPassword()
ISslOptiongetKeyPassword 在接口中 ISslOptionpublic InputStream getTrustStoreStream()
ISslOptiongetTrustStoreStream 在接口中 ISslOptionpublic byte[] getTrustStoreByteArr()
getTrustStoreByteArr 在接口中 ISslOptionpublic String getTrustStorePassword()
ISslOptiongetTrustStorePassword 在接口中 ISslOptionCopyright © 2022. All rights reserved.