インターフェース SslBundle

すべての既知の実装クラス:
PropertiesSslBundleWebServerSslBundle

public interface SslBundle
SSL 接続を確立するために使用できる信頼マテリアルのバンドル。
導入:
3.1.0
作成者:
Scott Frederick
  • フィールドの詳細

  • メソッドの詳細

    • getStores

      SslStoreBundle getStores()
      このバンドルのキーストアとトラストストアにアクセスするために使用できる SslStoreBundle を返します。
      戻り値:
      このバンドルの SslStoreBundle インスタンス
    • getKey

      SslBundleKey getKey()
      このバンドルまたは SslBundleKey.NONE に使用するキーへの参照を返します。
      戻り値:
      使用する SSL キーへの参照
    • getOptions

      SslOptions getOptions()
      SSL 接続を確立するときに適用される SslOptions を返します。
      戻り値:
      適用する必要があるオプション
    • getProtocol

      StringSE getProtocol()
      接続を確立するときに使用するプロトコルを返します。値は SSLContext.getInstance(String)SE でサポートされている必要があります。
      戻り値:
      SSL プロトコル
      関連事項:
    • getManagers

      SslManagerBundle getManagers()
      このバンドルの keySE および trustSE マネージャーにアクセスするために使用できる SslManagerBundle を返します。
      戻り値:
      このバンドルの SslManagerBundle インスタンス
    • createSslContext

      default SSLContextSE createSslContext()
      このバンドルの新しい SSLContextSE を作成するためのファクトリメソッド。
      戻り値:
      新しい SSLContextSE インスタンス
    • of

      static SslBundle of(SslStoreBundle stores)
      新しい SslBundle インスタンスを作成するファクトリメソッド。
      パラメーター:
      stores - ストアまたは null
      戻り値:
      新しい SslBundle インスタンス
    • of

      static SslBundle of(SslStoreBundle stores, SslBundleKey key)
      新しい SslBundle インスタンスを作成するファクトリメソッド。
      パラメーター:
      stores - ストアまたは null
      key - キーまたは null
      戻り値:
      新しい SslBundle インスタンス
    • of

      static SslBundle of(SslStoreBundle stores, SslBundleKey key, SslOptions options)
      新しい SslBundle インスタンスを作成するファクトリメソッド。
      パラメーター:
      stores - ストアまたは null
      key - キーまたは null
      options - オプションまたは null
      戻り値:
      新しい SslBundle インスタンス
    • of

      static SslBundle of(SslStoreBundle stores, SslBundleKey key, SslOptions options, StringSE protocol)
      新しい SslBundle インスタンスを作成するファクトリメソッド。
      パラメーター:
      stores - ストアまたは null
      key - キーまたは null
      options - オプションまたは null
      protocol - プロトコルまたは null
      戻り値:
      新しい SslBundle インスタンス
    • of

      static SslBundle of(SslStoreBundle stores, SslBundleKey key, SslOptions options, StringSE protocol, SslManagerBundle managers)
      新しい SslBundle インスタンスを作成するファクトリメソッド。
      パラメーター:
      stores - ストアまたは null
      key - キーまたは null
      options - オプションまたは null
      protocol - プロトコルまたは null
      managers - マネージャーまたは null
      戻り値:
      新しい SslBundle インスタンス