|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.security.SSL.SSLContext
SSLContext holds all of the state information shared across all sockets created under that context.
Constructor Summary | |
SSLContext()
|
|
SSLContext(java.lang.String secureProtocol)
|
Method Summary | |
static SSLContext |
getInstance(java.lang.String secureProtocol)
Generates a new SSLContext object that implements the specified secure socket protocol. |
java.lang.String |
getProtocol()
|
java.lang.String |
getProvider()
|
SSLSocketFactory |
getSocketFactory()
Deprecated. Deprecated in WebLogic Server 7.0. Replaced by the getSocketFactoryJSSE() method. |
SSLSocketFactory |
getSocketFactoryJSSE()
Returns an SSLSocketFactory object for this context. |
void |
loadLocalIdentity(java.security.cert.Certificate[] certs,
java.security.PrivateKey privateKey)
Load local identity certificate chain and key for client. |
void |
loadLocalIdentity(java.io.InputStream[] streams)
Sets an RSA private key and chain of X.509 certificates for SSL client authentication. |
void |
loadLocalIdentity(java.io.InputStream[] streams,
java.lang.String password)
Sets an RSA private key and chain of X.509 certificates for SSL client authentication. |
void |
setHostnameVerifier(HostnameVerifier hv)
Deprecated. Deprecated in WebLogic Server 7.0. Replaced by the setHostnameVerifierJSSE() method. |
void |
setHostnameVerifierJSSE(HostnameVerifierJSSE hv)
Sets the HostnameVerifierJSSE for this instance of this class. |
void |
setTrustManager(TrustManager tm)
Deprecated. Deprecated in WebLogic Server 7.0. Replaced by the setTrustManagerJSSE() method. |
void |
setTrustManagerJSSE(TrustManagerJSSE 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 |
public SSLContext(java.lang.String secureProtocol)
public SSLContext()
Method Detail |
public static SSLContext getInstance(java.lang.String secureProtocol)
protocol
- The handshake protocol name.public void setTrustManager(TrustManager tm)
public void setTrustManagerJSSE(TrustManagerJSSE tm)
public void setHostnameVerifier(HostnameVerifier hv)
public void setHostnameVerifierJSSE(HostnameVerifierJSSE hv)
public void loadLocalIdentity(java.io.InputStream[] streams)
The InputStreams you use must support mark and reset. If you have PEM-encoded data, you can wrap your InputStreams in PEMInputStream classes before passing them in here.
streams
- Array of InputStreams of DER encoded valuesPEMInputStream
,
BufferedInputStream
public void loadLocalIdentity(java.io.InputStream[] streams, java.lang.String password)
The InputStreams you use must support mark and reset. If you have PEM-encoded data, you can wrap your InputStreams in PEMInputStream classes before passing them in here.
streams
- Array of InputStreams of DER encoded valuespassword
- Password for private keyPEMInputStream
,
BufferedInputStream
public void loadLocalIdentity(java.security.cert.Certificate[] certs, java.security.PrivateKey privateKey)
certs
- Array of certificates. All but the first of
the certificates are issuer certificates for the previous certificate.privateKey
- Private key.public SSLSocketFactory getSocketFactory()
public SSLSocketFactory getSocketFactoryJSSE()
public java.lang.String getProtocol()
public java.lang.String getProvider()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |