Build 1.0_r1(from source)

javax.net.ssl
Class HandshakeCompletedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.net.ssl.HandshakeCompletedEvent
All Implemented Interfaces:
Serializable

public class HandshakeCompletedEvent
extends EventObject
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HandshakeCompletedEvent(SSLSocket sock, SSLSession s)
           
 
Method Summary
 String getCipherSuite()
           
 Certificate[] getLocalCertificates()
           
 Principal getLocalPrincipal()
           
 X509Certificate[] getPeerCertificateChain()
           
 Certificate[] getPeerCertificates()
           
 Principal getPeerPrincipal()
           
 SSLSession getSession()
           
 SSLSocket getSocket()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HandshakeCompletedEvent

public HandshakeCompletedEvent(SSLSocket sock,
                               SSLSession s)
Method Detail

getSession

public SSLSession getSession()

getCipherSuite

public String getCipherSuite()

getLocalCertificates

public Certificate[] getLocalCertificates()

getPeerCertificates

public Certificate[] getPeerCertificates()
                                  throws SSLPeerUnverifiedException
Throws:
SSLPeerUnverifiedException

getPeerCertificateChain

public X509Certificate[] getPeerCertificateChain()
                                          throws SSLPeerUnverifiedException
Throws:
SSLPeerUnverifiedException

getPeerPrincipal

public Principal getPeerPrincipal()
                           throws SSLPeerUnverifiedException
Throws:
SSLPeerUnverifiedException

getLocalPrincipal

public Principal getLocalPrincipal()

getSocket

public SSLSocket getSocket()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature