インターフェース SslBundle
- すべての既知の実装クラス:
PropertiesSslBundle
,WebServerSslBundle
public interface SslBundle
SSL 接続を確立するために使用できる信頼マテリアルのバンドル。
- 導入:
- 3.1.0
- 作成者:
- Scott Frederick
フィールドサマリー
フィールド方法の概要
修飾子と型メソッド説明default SSLContextSE
このバンドルの新しいSSLContext
SE を作成するためのファクトリメソッド。getKey()
このバンドルまたはSslBundleKey.NONE
に使用するキーへの参照を返します。SSL 接続を確立するときに適用されるSslOptions
を返します。接続を確立するときに使用するプロトコルを返します。このバンドルのキーストアとトラストストアにアクセスするために使用できるSslStoreBundle
を返します。static SslBundle
of
(SslStoreBundle stores) 新しいSslBundle
インスタンスを作成するファクトリメソッド。static SslBundle
of
(SslStoreBundle stores, SslBundleKey key) 新しいSslBundle
インスタンスを作成するファクトリメソッド。static SslBundle
of
(SslStoreBundle stores, SslBundleKey key, SslOptions options) 新しいSslBundle
インスタンスを作成するファクトリメソッド。static SslBundle
of
(SslStoreBundle stores, SslBundleKey key, SslOptions options, StringSE protocol) 新しいSslBundle
インスタンスを作成するファクトリメソッド。static SslBundle
of
(SslStoreBundle stores, SslBundleKey key, SslOptions options, StringSE protocol, SslManagerBundle managers) 新しいSslBundle
インスタンスを作成するファクトリメソッド。
フィールドの詳細
DEFAULT_PROTOCOL
使用するデフォルトのプロトコル。- 関連事項:
メソッドの詳細
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()- 戻り値:
- このバンドルの
SslManagerBundle
インスタンス
createSslContext
このバンドルの新しいSSLContext
SE を作成するためのファクトリメソッド。- 戻り値:
- 新しい
SSLContext
SE インスタンス
of
新しいSslBundle
インスタンスを作成するファクトリメソッド。- パラメーター:
stores
- ストアまたはnull
- 戻り値:
- 新しい
SslBundle
インスタンス
of
新しいSslBundle
インスタンスを作成するファクトリメソッド。- パラメーター:
stores
- ストアまたはnull
key
- キーまたはnull
- 戻り値:
- 新しい
SslBundle
インスタンス
of
新しいSslBundle
インスタンスを作成するファクトリメソッド。- パラメーター:
stores
- ストアまたはnull
key
- キーまたはnull
options
- オプションまたはnull
- 戻り値:
- 新しい
SslBundle
インスタンス
of
新しい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
インスタンス