public class HandshakeCompleteInfo
extends java.lang.Object
implements javax.net.ssl.HandshakeCompletedListener
This class is used by the EntrustSSLSocketFactory to retrieve information
about the SSLHandshake. Information about the SSL Handshake can be retrieved
as follows:
com.entrust.toolkit.x509.directory.HandshakeCompleteInfo.trace=4
getHandshakeInfo(). The list of
HandshakeCompletedEvent's can be retrieved via the getEventInfoList().
| Constructor and Description |
|---|
HandshakeCompleteInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearEvents()
Clear the list of events contained in this object
|
int |
getEventCount() |
java.util.ArrayList |
getEventInfoList() |
static HandshakeCompleteInfo |
getHandshakeInfo() |
void |
handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent eventComplete) |
void |
setEventCount(int count)
Set the number of
HandshakeCompletedEvent objects that are stored
by this object. |
public void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent eventComplete)
handshakeCompleted in interface javax.net.ssl.HandshakeCompletedListenerpublic java.util.ArrayList getEventInfoList()
HandshakeCompletedEvent objects. These objects
can be queried to find out the results of an SSL Handshake.public static HandshakeCompleteInfo getHandshakeInfo()
public void setEventCount(int count)
HandshakeCompletedEvent objects that are stored
by this object.count - an integer that specifies the number of events that should
be stored. If 0 is specified, only the latest event is stored.public int getEventCount()
HandshakeCompletedEvent objects
that are stored by this objectpublic void clearEvents()