Home / Function/ unpackSupportedProtocols() — netty Function Reference

unpackSupportedProtocols() — netty Function Reference

Architecture documentation for the unpackSupportedProtocols() function in OpenSsl.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c686f281_1b8a_af70_8908_83197e492776["unpackSupportedProtocols()"]
  ed038636_6deb_9fdb_0fd6_26635e25e0e6["OpenSsl"]
  c686f281_1b8a_af70_8908_83197e492776 -->|defined in| ed038636_6deb_9fdb_0fd6_26635e25e0e6
  style c686f281_1b8a_af70_8908_83197e492776 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSsl.java lines 866–890

    static List<String> unpackSupportedProtocols() {
        List<String> protocols = new ArrayList<>(7);
        if ((supportedProtocolsPacked & SSL_V2_HELLO) != 0) {
            protocols.add(SslProtocols.SSL_v2_HELLO);
        }
        if ((supportedProtocolsPacked & SSL_V2) != 0) {
            protocols.add(SslProtocols.SSL_v2);
        }
        if ((supportedProtocolsPacked & SSL_V3) != 0) {
            protocols.add(SslProtocols.SSL_v3);
        }
        if ((supportedProtocolsPacked & TLS_V1) != 0) {
            protocols.add(SslProtocols.TLS_v1);
        }
        if ((supportedProtocolsPacked & TLS_V1_1) != 0) {
            protocols.add(SslProtocols.TLS_v1_1);
        }
        if ((supportedProtocolsPacked & TLS_V1_2) != 0) {
            protocols.add(SslProtocols.TLS_v1_2);
        }
        if ((supportedProtocolsPacked & TLS_V1_3) != 0) {
            protocols.add(SslProtocols.TLS_v1_3);
        }
        return protocols;
    }

Domain

Subdomains

Frequently Asked Questions

What does unpackSupportedProtocols() do?
unpackSupportedProtocols() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java.
Where is unpackSupportedProtocols() defined?
unpackSupportedProtocols() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java at line 866.

Analyze Your Own Codebase

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

Try Supermodel Free