IT. Expert System.

Android Reference

HandshakeCompletedEvent


javax.net.ssl

Class HandshakeCompletedEvent

  • All Implemented Interfaces:
    Serializable


    public class HandshakeCompletedEvent
    extends EventObject
    The event object encapsulating the information about a completed SSL handshake on a SSL connection.
    See Also:
    Serialized Form
    • Constructor Detail

      • HandshakeCompletedEvent

        public HandshakeCompletedEvent(SSLSocket sock,
                               SSLSession s)
        Creates a new HandshakeCompletedEvent with the specified SSL socket and SSL session.
        Parameters:
        sock - the SSL socket.
        s - the SSL session.
    • Method Detail

      • getSession

        public SSLSession getSession()
        Returns the SSL session associated with this event.
        Returns:
        the SSL session associated with this event.
      • getCipherSuite

        public String getCipherSuite()
        Returns the name of the cipher suite negotiated during this handshake.
        Returns:
        the name of the cipher suite negotiated during this handshake.
      • getLocalCertificates

        public Certificate[] getLocalCertificates()
        Returns the list of local certificates used during the handshake. These certificates were sent to the peer.
        Returns:
        Returns the list of certificates used during the handshake with the local identity certificate followed by CAs, or null if no certificates were used during the handshake.
      • getPeerCertificates

        public Certificate[] getPeerCertificates()
                                          throws SSLPeerUnverifiedException
        Return the list of certificates identifying the peer during the handshake.
        Returns:
        the list of certificates identifying the peer with the peer's identity certificate followed by CAs.
        Throws:
        SSLPeerUnverifiedException - if the identity of the peer has not been verified.
      • getLocalPrincipal

        public Principal getLocalPrincipal()
        Returns the Principal used to identify during the handshake.
        Returns:
        the Principal used to identify during the handshake.
      • getSocket

        public SSLSocket getSocket()
        Returns the SSL socket that produced this event.
        Returns:
        the SSL socket that produced this event.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 215 / . Delta: 0.03233 с