|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.net.ssl.SSLContextSpi
public abstract class SSLContextSpi
このクラスは、SSLContext クラスのサービスプロバイダインタフェース (SPI) を定義します。
特定の SSL コンテキストの実装を提供する各暗号サービスプロバイダは、このクラスのすべての抽象メソッドを実装する必要があります。
SSLContext| コンストラクタの概要 | |
|---|---|
SSLContextSpi()
|
|
| メソッドの概要 | |
|---|---|
protected abstract SSLEngine |
engineCreateSSLEngine()
このコンテキストを使用して、新しい SSLEngine を作成します。 |
protected abstract SSLEngine |
engineCreateSSLEngine(String host,
int port)
このコンテキストを使用して、 SSLEngine を作成します。 |
protected abstract SSLSessionContext |
engineGetClientSessionContext()
このコンテキストの ServerSocketFactory クライアントオブジェクトを返します。 |
protected abstract SSLSessionContext |
engineGetServerSessionContext()
このコンテキストの ServerSocketFactory サーバオブジェクトを返します。 |
protected abstract SSLServerSocketFactory |
engineGetServerSocketFactory()
このコンテキストの ServerSocketFactory オブジェクトを返します。 |
protected abstract SSLSocketFactory |
engineGetSocketFactory()
このコンテキストの SocketFactory オブジェクトを返します。 |
protected abstract void |
engineInit(KeyManager[] km,
TrustManager[] tm,
SecureRandom sr)
このコンテキストを初期化します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public SSLContextSpi()
| メソッドの詳細 |
|---|
protected abstract void engineInit(KeyManager[] km,
TrustManager[] tm,
SecureRandom sr)
throws KeyManagementException
km - 認証キーのソースtm - ピア認証の信頼を判断するソースsr - 乱数のソース
KeyManagementException - この処理が失敗した場合SSLContext.init(KeyManager [], TrustManager [], SecureRandom)protected abstract SSLSocketFactory engineGetSocketFactory()
SocketFactory オブジェクトを返します。
SocketFactory オブジェクトSSLContext.getSocketFactory()protected abstract SSLServerSocketFactory engineGetServerSocketFactory()
ServerSocketFactory オブジェクトを返します。
ServerSocketFactory オブジェクトSSLContext.getServerSocketFactory()protected abstract SSLEngine engineCreateSSLEngine()
SSLEngine を作成します。
このファクトリメソッドを使用しているアプリケーションは、内部セッションの再利用に関するヒントを提供しません。ヒントを提供したい場合は、代わりに engineCreateSSLEngine(String, int) を使用してください。
Kerberos など、リモートホスト名の情報を必要とする符号化方式もあります。この場合は、このファクトリメソッドを使用しないでください。
SSLEngine オブジェクトSSLContext.createSSLEngine()
protected abstract SSLEngine engineCreateSSLEngine(String host,
int port)
SSLEngine を作成します。
このファクトリメソッドを使用しているアプリケーションは、内部セッションの再利用に関するヒントを提供します。
Kerberos など、リモートホスト名の情報を必要とする符号化方式もあります。この場合は、peerHost を指定する必要があります。
host - 任意指定のホスト名port - 任意指定のポート
SSLEngine オブジェクトSSLContext.createSSLEngine(String, int)protected abstract SSLSessionContext engineGetServerSessionContext()
ServerSocketFactory サーバオブジェクトを返します。
SSLSessionContext オブジェクトSSLContext.getServerSessionContext()protected abstract SSLSessionContext engineGetClientSessionContext()
ServerSocketFactory クライアントオブジェクトを返します。
SSLSessionContext オブジェクトSSLContext.getClientSessionContext()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。