Home / Function/ supportedClientKeyTypes() — netty Function Reference

supportedClientKeyTypes() — netty Function Reference

Architecture documentation for the supportedClientKeyTypes() function in ReferenceCountedOpenSslClientContext.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  88af137d_bee6_ae66_136d_4f1d8a744b88["supportedClientKeyTypes()"]
  5410a3e2_d64e_83db_1710_aeece8d7bcc5["OpenSslClientCertificateCallback"]
  88af137d_bee6_ae66_136d_4f1d8a744b88 -->|defined in| 5410a3e2_d64e_83db_1710_aeece8d7bcc5
  9846d54e_a7e6_2212_28f9_fe3cc6fa3750["handle()"]
  9846d54e_a7e6_2212_28f9_fe3cc6fa3750 -->|calls| 88af137d_bee6_ae66_136d_4f1d8a744b88
  style 88af137d_bee6_ae66_136d_4f1d8a744b88 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslClientContext.java lines 293–308

        private static String[] supportedClientKeyTypes(byte[] clientCertificateTypes) {
            if (clientCertificateTypes == null) {
                // Try all of the supported key types.
                return SUPPORTED_KEY_TYPES.clone();
            }
            Set<String> result = new HashSet<>(clientCertificateTypes.length);
            for (byte keyTypeCode : clientCertificateTypes) {
                String keyType = clientKeyType(keyTypeCode);
                if (keyType == null) {
                    // Unsupported client key type -- ignore
                    continue;
                }
                result.add(keyType);
            }
            return result.toArray(EmptyArrays.EMPTY_STRINGS);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does supportedClientKeyTypes() do?
supportedClientKeyTypes() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslClientContext.java.
Where is supportedClientKeyTypes() defined?
supportedClientKeyTypes() is defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslClientContext.java at line 293.
What calls supportedClientKeyTypes()?
supportedClientKeyTypes() is called by 1 function(s): handle.

Analyze Your Own Codebase

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

Try Supermodel Free