public interface SSLSocketXInt
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getCertificateChain()
get the certificate chain presented by the peer.
|
int |
getCipherSuite()
get the cipherSuite that was negotiated on this socket
|
SSLPolicyInt |
getPolicy()
Get the policy associated with this socket
|
byte[] |
getSessionID()
Get the SessionID associated with this session
|
int |
getVersion()
Get the version of SSL negotiated.
|
void |
renegotiate(SSLPolicyInt policy)
Renegotiate this connection using the specified policy.
|
void |
sendClose()
Send our half of the SSL close_notify handshake
|
void |
waitForClose(boolean enforceFinished)
Wait to receive a close_notify from the other side.
|
static final int CLIENT
static final int SERVER
int getCipherSuite()
throws java.io.IOException
java.io.IOExceptionjava.util.Vector getCertificateChain()
throws java.io.IOException
java.io.IOExceptionSSLPolicyInt getPolicy()
byte[] getSessionID()
throws java.io.IOException
java.io.IOExceptionint getVersion()
throws java.io.IOException
java.io.IOExceptionvoid renegotiate(SSLPolicyInt policy) throws java.io.IOException
the - policy specifiedjava.io.IOException - if something goes wrong in renegotiationvoid sendClose()
throws java.io.IOException
java.io.IOException - if the close_notify alert can't be sentvoid waitForClose(boolean enforceFinished)
throws java.io.IOException
enforceFinished - insist that no more data be present on the connection before the close_notify is received. This ensures that the application has read all the data that the peer sentjava.io.IOException - if the close_notify couldn't be read or if enforceFinished is true and more data was present.Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.