Home / Class/ ProtocolCipherCombo Class — netty Architecture

ProtocolCipherCombo Class — netty Architecture

Architecture documentation for the ProtocolCipherCombo class in SSLEngineTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  16e38b89_82e5_5f83_8ba8_0f6e7badc1e8["ProtocolCipherCombo"]
  859a13fc_5d1f_4d06_dca1_2d4d0f57be71["SSLEngineTest.java"]
  16e38b89_82e5_5f83_8ba8_0f6e7badc1e8 -->|defined in| 859a13fc_5d1f_4d06_dca1_2d4d0f57be71
  075e01bd_6771_ca2c_943f_b95201e256fd["ProtocolCipherCombo()"]
  16e38b89_82e5_5f83_8ba8_0f6e7badc1e8 -->|method| 075e01bd_6771_ca2c_943f_b95201e256fd
  758f867d_5aaf_e804_0506_ed159dba26bd["String()"]
  16e38b89_82e5_5f83_8ba8_0f6e7badc1e8 -->|method| 758f867d_5aaf_e804_0506_ed159dba26bd

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java lines 219–247

    static final class ProtocolCipherCombo {
        private static final ProtocolCipherCombo TLSV12 = new ProtocolCipherCombo(
                SslProtocols.TLS_v1_2, "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256");
        private static final ProtocolCipherCombo TLSV13 = new ProtocolCipherCombo(
                SslProtocols.TLS_v1_3, "TLS_AES_128_GCM_SHA256");
        final String protocol;
        final String cipher;

        private ProtocolCipherCombo(String protocol, String cipher) {
            this.protocol = protocol;
            this.cipher = cipher;
        }

        static ProtocolCipherCombo tlsv12() {
            return TLSV12;
        }

        static ProtocolCipherCombo tlsv13() {
            return TLSV13;
        }

        @Override
        public String toString() {
            return "ProtocolCipherCombo{" +
                   "protocol='" + protocol + '\'' +
                   ", cipher='" + cipher + '\'' +
                   '}';
        }
    }

Frequently Asked Questions

What is the ProtocolCipherCombo class?
ProtocolCipherCombo is a class in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java.
Where is ProtocolCipherCombo defined?
ProtocolCipherCombo is defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java at line 219.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free