public SSLParameters getSSLParameters ( ) { SSLParameters params = new SSLParameters ( ) ; params . setCipherSuites ( getEnabledCipherSuites ( ) ) ; params . setProtocols ( getEnabledProtocols ( ) ) ; if ( getNeedClientAuth ( ) ) { params . setNeedClientAuth ( true ) ; } else if ( getWantClientAuth ( ) ) { params . setWantClientAuth ( true ) ; } return params ; }
Returns the SSLParameters in effect for this SSLSocket . The ciphersuites and protocols of the returned SSLParameters are always non - null .