接口 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
另请参阅:
  • 字段详细资料

  • 方法详细资料

    • getKeyStore

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

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

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

      static SslStoreBundle of(KeyStore keyStore, String keyStorePassword, 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