예제 #1
0
 public void handshakeCompleted(HandshakeCompletedEvent e) {
   vlog.info("Handshake succesful!");
   vlog.info("Using cipher suite: " + e.getCipherSuite());
 }
예제 #2
0
 /**
  * This method implements the SSL HandshakeCompleted callback, remembering the resulting session
  * so that it may be queried for the current cipher suite and peer certificates. Servers sometimes
  * re-initiate handshaking, so the session in use on a given connection may change. When sessions
  * change, so may peer identities and cipher suites.
  */
 public void handshakeCompleted(HandshakeCompletedEvent event) {
   session = event.getSession();
 }