javax.net.ssl
Class HandshakeCompletedEvent
java.lang.Object
java.util.EventObject
javax.net.ssl.HandshakeCompletedEvent
- All Implemented Interfaces:
- Serializable
public class HandshakeCompletedEvent
- extends EventObject
- implements Serializable
- See Also:
- Serialized Form
HandshakeCompletedEvent
public HandshakeCompletedEvent(SSLSocket sock,
SSLSession s)
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()
Please submit a feedback, bug or feature