Home / Function/ findSessionTicket() — netty Function Reference

findSessionTicket() — netty Function Reference

Architecture documentation for the findSessionTicket() function in BoringSSLSessionTicketCallback.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3d2230db_fed0_ff42_3737_c55ebe3efcf1["findSessionTicket()"]
  9a30c978_1e7f_a3dd_318a_2f49a0e77687["BoringSSLSessionTicketCallback"]
  3d2230db_fed0_ff42_3737_c55ebe3efcf1 -->|defined in| 9a30c978_1e7f_a3dd_318a_2f49a0e77687
  style 3d2230db_fed0_ff42_3737_c55ebe3efcf1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/BoringSSLSessionTicketCallback.java lines 27–43

    byte @Nullable [] findSessionTicket(byte @Nullable [] keyname) {
        byte[][] keys = this.sessionKeys;
        if (keys == null || keys.length == 0) {
            return null;
        }
        if (keyname == null) {
            return keys[0];
        }

        for (int i = 0; i < keys.length; i++) {
            byte[] key = keys[i];
            if (PlatformDependent.equals(keyname, 0, key, 1, keyname.length)) {
                return key;
            }
        }
        return null;
    }

Domain

Subdomains

Frequently Asked Questions

What does findSessionTicket() do?
findSessionTicket() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/BoringSSLSessionTicketCallback.java.
Where is findSessionTicket() defined?
findSessionTicket() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/BoringSSLSessionTicketCallback.java at line 27.

Analyze Your Own Codebase

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

Try Supermodel Free