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