Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.net.ssl.provider
Class Context  view Context download Context.java

java.lang.Object
  extended byjavax.net.ssl.SSLContextSpi
      extended bygnu.javax.net.ssl.provider.Context

public final class Context
extends javax.net.ssl.SSLContextSpi

This is Jessie's implementation of a javax.net.ssl.SSLContext engine, and is available under the algorithm names ``SSLv3'', ``SSL'', ``TLSv1'', and ``TLS''.


Field Summary
private  SessionContext clientSessions
           
private  javax.net.ssl.X509KeyManager keyManager
           
private  java.security.SecureRandom random
           
private  SessionContext serverSessions
           
private  gnu.javax.net.ssl.SRPTrustManager srpTrustManager
           
private  javax.net.ssl.X509TrustManager trustManager
           
 
Constructor Summary
Context()
           
 
Method Summary
private  javax.net.ssl.X509KeyManager defaultKeyManager()
           
private  java.security.SecureRandom defaultRandom()
           
private  javax.net.ssl.X509TrustManager defaultTrustManager()
           
protected  javax.net.ssl.SSLSessionContext engineGetClientSessionContext()
          Returns the set of SSL sessions available for client connections.
protected  javax.net.ssl.SSLSessionContext engineGetServerSessionContext()
          Returns the set of SSL sessions available for server connections.
protected  javax.net.ssl.SSLServerSocketFactory engineGetServerSocketFactory()
          Returns the SSL server socket factory.
protected  javax.net.ssl.SSLSocketFactory engineGetSocketFactory()
          Returns the SSL client socket factory.
protected  void engineInit(javax.net.ssl.KeyManager[] keyManagers, javax.net.ssl.TrustManager[] trustManagers, java.security.SecureRandom random)
          Initialize this context with key and trust managers, and a source of randomness.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientSessions

private SessionContext clientSessions

serverSessions

private SessionContext serverSessions

keyManager

private javax.net.ssl.X509KeyManager keyManager

trustManager

private javax.net.ssl.X509TrustManager trustManager

srpTrustManager

private gnu.javax.net.ssl.SRPTrustManager srpTrustManager

random

private java.security.SecureRandom random
Constructor Detail

Context

public Context()
Method Detail

engineGetClientSessionContext

protected javax.net.ssl.SSLSessionContext engineGetClientSessionContext()
Description copied from class: javax.net.ssl.SSLContextSpi
Returns the set of SSL sessions available for client connections.


engineGetServerSessionContext

protected javax.net.ssl.SSLSessionContext engineGetServerSessionContext()
Description copied from class: javax.net.ssl.SSLContextSpi
Returns the set of SSL sessions available for server connections.


engineGetServerSocketFactory

protected javax.net.ssl.SSLServerSocketFactory engineGetServerSocketFactory()
Description copied from class: javax.net.ssl.SSLContextSpi
Returns the SSL server socket factory.


engineGetSocketFactory

protected javax.net.ssl.SSLSocketFactory engineGetSocketFactory()
Description copied from class: javax.net.ssl.SSLContextSpi
Returns the SSL client socket factory.


engineInit

protected void engineInit(javax.net.ssl.KeyManager[] keyManagers,
                          javax.net.ssl.TrustManager[] trustManagers,
                          java.security.SecureRandom random)
                   throws java.security.KeyManagementException
Description copied from class: javax.net.ssl.SSLContextSpi
Initialize this context with key and trust managers, and a source of randomness. All of the parameters are optional.


defaultKeyManager

private javax.net.ssl.X509KeyManager defaultKeyManager()
                                                throws java.security.KeyManagementException

defaultTrustManager

private javax.net.ssl.X509TrustManager defaultTrustManager()
                                                    throws java.security.KeyManagementException

defaultRandom

private java.security.SecureRandom defaultRandom()
                                          throws java.security.KeyManagementException