Example usage for javax.net.ssl HandshakeCompletedEvent getCipherSuite

List of usage examples for javax.net.ssl HandshakeCompletedEvent getCipherSuite

Introduction

In this page you can find the example usage for javax.net.ssl HandshakeCompletedEvent getCipherSuite.

Prototype

public String getCipherSuite() 

Source Link

Document

Returns the cipher suite in use by the session which was produced by the handshake.

Usage

From source file:MyHandshakeListener.java

public void handshakeCompleted(HandshakeCompletedEvent e) {
    System.out.println("Using cipher suite: " + e.getCipherSuite());
}

From source file:MainClass.java

public void handshakeCompleted(HandshakeCompletedEvent e) {
    System.out.println("Handshake succesful!");
    System.out.println("Using cipher suite: " + e.getCipherSuite());
}

From source file:com.apporiented.hermesftp.cmd.impl.FtpCmdAuth.java

/**
 * {@inheritDoc}/*from  ww w.j  a v  a2  s  .  c om*/
 */
public void handshakeCompleted(HandshakeCompletedEvent e) {
    log.debug("Explicit SSL handshake completed. Cipher suite: " + e.getCipherSuite());
}