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.
        Returns:
        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.
        Parameters:
        openSslCipherSuite - An OpenSSL cipher suite name.
        protocol - The cryptographic protocol (i.e. SSL, TLS, ...).
        Returns:
        The translated cipher suite name according to java conventions. This will not be null.