Class CipherSuiteConverter

    • Method Detail

      • toOpenSsl

        public static String toOpenSsl​(String javaCipherSuite,
                                       boolean boringSSL)
        Converts the specified Java cipher suite to its corresponding OpenSSL cipher suite name.
        null if the conversion has failed
      • toJava

        public static String toJava​(String openSslCipherSuite,
                                    String protocol)
        Convert from OpenSSL cipher suite name convention to java cipher suite name convention.
        openSslCipherSuite - An OpenSSL cipher suite name.
        protocol - The cryptographic protocol (i.e. SSL, TLS, ...).
        The translated cipher suite name according to java conventions. This will not be null.