接口 SslStoreBundle

所有已知实现类:
JksSslStoreBundle, PemSslStoreBundle

public interface SslStoreBundle
A bundle of key and trust stores that can be used to establish an SSL connection.
从以下版本开始:
4.0
作者:
Scott Frederick
另请参阅:
  • 字段详细资料

  • 方法详细资料

    • getKeyStore

      @Nullable KeyStore getKeyStore()
      Return a key store generated from the trust material or null.
      返回:
      the key store
    • getKeyStorePassword

      @Nullable String getKeyStorePassword()
      Return the password for the key in the key store or null.
      返回:
      the key password
    • getTrustStore

      @Nullable KeyStore getTrustStore()
      Return a trust store generated from the trust material or null.
      返回:
      the trust store
    • of

      static SslStoreBundle of(@Nullable KeyStore keyStore, @Nullable String keyStorePassword, @Nullable KeyStore trustStore)
      Factory method to create a new SslStoreBundle instance.
      参数:
      keyStore - the key store or null
      keyStorePassword - the key store password or null
      trustStore - the trust store or null
      返回:
      a new SslStoreBundle instance