BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.security.SSL
Class SSLContext

java.lang.Object
  |
  +--weblogic.security.SSL.SSLContext

public class SSLContext
extends java.lang.Object

SSLContext holds all of the state information shared across all sockets created under that context. This object acts as a factory for secure socket factories.

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
SSLContext()
           
SSLContext(java.lang.String secureProtocol)
           
 
Method Summary
static SSLContext getInstance(java.lang.String secureProtocol)
           
 java.lang.String getProtocol()
           
 java.lang.String getProvider()
           
 SSLSocketFactory getSocketFactory()
          Returns an SSLSocketFactory object for this context.
protected  weblogic.security.SSL.SSLClientInfo getSSLClientInfo()
           
 void init(java.io.InputStream[] identity, HostnameVerifier verifier, TrustManager trustManager)
          Initialize this context with the client identity, the HostnameVerifier, and the TrustManager for this SSLContext.
 void init(java.io.InputStream[] identity, HostnameVerifier verifier, TrustManager trustManager, java.lang.String rootCAFingerprints)
          Initialize this context with the client identity, the HostnameVerifier, the TrustManager, and the trusted root cert authorities for this SSLContext.
 void loadLocalIdentity(java.io.InputStream[] streams)
          Load local identity key and certs for client.
 void setHostnameVerifier(HostnameVerifier hv)
          Sets the HostnameVerifier for this instance of this class.
protected  void setSSLClientInfo(weblogic.security.SSL.SSLClientInfo sslCI)
           
 void setTrustManager(TrustManager tm)
          Sets the TrustManager for this instance of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLContext

public SSLContext(java.lang.String secureProtocol)

SSLContext

public SSLContext()
Method Detail

getInstance

public static SSLContext getInstance(java.lang.String secureProtocol)

init

public void init(java.io.InputStream[] identity,
                 HostnameVerifier verifier,
                 TrustManager trustManager,
                 java.lang.String rootCAFingerprints)
Initialize this context with the client identity, the HostnameVerifier, the TrustManager, and the trusted root cert authorities for this SSLContext.

init

public void init(java.io.InputStream[] identity,
                 HostnameVerifier verifier,
                 TrustManager trustManager)
Initialize this context with the client identity, the HostnameVerifier, and the TrustManager for this SSLContext.

setTrustManager

public void setTrustManager(TrustManager tm)
Sets the TrustManager for this instance of this class.

setHostnameVerifier

public void setHostnameVerifier(HostnameVerifier hv)
Sets the HostnameVerifier for this instance of this class.

loadLocalIdentity

public void loadLocalIdentity(java.io.InputStream[] streams)
Load local identity key and certs for client.

getSocketFactory

public SSLSocketFactory getSocketFactory()
Returns an SSLSocketFactory object for this context.

getProtocol

public java.lang.String getProtocol()

getProvider

public java.lang.String getProvider()

getSSLClientInfo

protected weblogic.security.SSL.SSLClientInfo getSSLClientInfo()

setSSLClientInfo

protected void setSSLClientInfo(weblogic.security.SSL.SSLClientInfo sslCI)

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.