Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 344 Bytes

File metadata and controls

6 lines (4 loc) · 344 Bytes

getCiphers-java

Get supported protocols and ciphers from java

Simple code that lists the supported protocols and ciphers because in newer java versions the following method does not work anymore:

jrunscript -e "java.util.Arrays.asList(javax.net.ssl.SSLServerSocketFactory.getDefault().getSupportedCipherSuites()).stream().forEach(println)"