类 JksSslStoreBundle
java.lang.Object
cn.taketoday.core.ssl.jks.JksSslStoreBundle
- 所有已实现的接口:
SslStoreBundle
SslStoreBundle backed by a Java keystore.- 从以下版本开始:
- 4.0
- 作者:
- Scott Frederick, Phillip Webb, Harry Yang
-
字段概要
字段从接口继承的字段 cn.taketoday.core.ssl.SslStoreBundle
NONE -
构造器概要
构造器构造器说明JksSslStoreBundle(JksSslStoreDetails keyStoreDetails, JksSslStoreDetails trustStoreDetails) Create a newJksSslStoreBundleinstance. -
方法概要
修饰符和类型方法说明private KeyStorecreateKeyStore(String name, JksSslStoreDetails details) Return a key store generated from the trust material ornull.private KeyStoregetKeyStoreInstance(String type, String provider) Return the password for the key in the key store ornull.Return a trust store generated from the trust material ornull.private booleanisHardwareKeystoreType(String type) private voidloadHardwareKeyStore(KeyStore store, String location, char[] password) private voidloadKeyStore(KeyStore store, String location, char[] password)
-
字段详细资料
-
keyStoreDetails
-
keyStore
-
trustStore
-
-
构造器详细资料
-
JksSslStoreBundle
public JksSslStoreBundle(@Nullable JksSslStoreDetails keyStoreDetails, JksSslStoreDetails trustStoreDetails) Create a newJksSslStoreBundleinstance.- 参数:
keyStoreDetails- the key store detailstrustStoreDetails- the trust store details
-
-
方法详细资料
-
getKeyStore
从接口复制的说明:SslStoreBundleReturn a key store generated from the trust material ornull.- 指定者:
getKeyStore在接口中SslStoreBundle- 返回:
- the key store
-
getKeyStorePassword
从接口复制的说明:SslStoreBundleReturn the password for the key in the key store ornull.- 指定者:
getKeyStorePassword在接口中SslStoreBundle- 返回:
- the key password
-
getTrustStore
从接口复制的说明:SslStoreBundleReturn a trust store generated from the trust material ornull.- 指定者:
getTrustStore在接口中SslStoreBundle- 返回:
- the trust store
-
createKeyStore
-
getKeyStoreInstance
private KeyStore getKeyStoreInstance(String type, @Nullable String provider) throws KeyStoreException, NoSuchProviderException -
isHardwareKeystoreType
-
loadHardwareKeyStore
private void loadHardwareKeyStore(KeyStore store, @Nullable String location, @Nullable char[] password) throws IOException, NoSuchAlgorithmException, CertificateException -
loadKeyStore
-