接口 SslStoreBundle
- 所有已知实现类:
JksSslStoreBundle
,PemSslStoreBundle
public interface SslStoreBundle
A bundle of key and trust stores that can be used to establish an SSL connection.
- 从以下版本开始:
- 3.1.0
- 作者:
- Scott Frederick
- 另请参阅:
-
字段概要
字段 -
方法概要
修饰符和类型方法说明Return a key store generated from the trust material ornull
.Return the password for the key in the key store ornull
.Return a trust store generated from the trust material ornull
.static SslStoreBundle
Factory method to create a newSslStoreBundle
instance.
-
字段详细资料
-
NONE
SslStoreBundle
that returnsnull
for each method.
-
-
方法详细资料
-
getKeyStore
KeyStore getKeyStore()Return a key store generated from the trust material ornull
.- 返回:
- the key store
-
getKeyStorePassword
String getKeyStorePassword()Return the password for the key in the key store ornull
.- 返回:
- the key password
-
getTrustStore
KeyStore getTrustStore()Return a trust store generated from the trust material ornull
.- 返回:
- the trust store
-
of
Factory method to create a newSslStoreBundle
instance.- 参数:
keyStore
- the key store ornull
keyStorePassword
- the key store password ornull
trustStore
- the trust store ornull
- 返回:
- a new
SslStoreBundle
instance
-