@Override public String cipherSuite(){
  if (!(_s instanceof SSLSocket)) {
    return super.cipherSuite();
  }
  SSLSocket sslSocket=(SSLSocket)_s;
  SSLSession sslSession=sslSocket.getSession();
  if (sslSession != null) {
    return sslSession.getCipherSuite();
  }
 else {
    return null;
  }
}

@ Override public String cipherSuite ( ) { if ( ! ( _s instanceof SSLSocket ) ) { return super . cipherSuite ( ) ; } SSLSocket sslSocket = ( SSLSocket ) _s ; SSLSession sslSession = sslSocket . getSession ( ) ; if ( sslSession != null ) { return sslSession . getCipherSuite ( ) ; } else { return null ; } }
returns the secure cipher algorithm .
