Home / Class/ OcspClientCallbackHandler Class — netty Architecture

OcspClientCallbackHandler Class — netty Architecture

Architecture documentation for the OcspClientCallbackHandler class in OcspTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2ac7b4f3_6383_a4bf_edb6_ff13b26b5fda["OcspClientCallbackHandler"]
  91098973_d7a2_6ec0_4e05_bfaa7ca5bcf6["OcspTest.java"]
  2ac7b4f3_6383_a4bf_edb6_ff13b26b5fda -->|defined in| 91098973_d7a2_6ec0_4e05_bfaa7ca5bcf6
  faf3f770_46d7_8102_bd0b_c20c7ae003a9["OcspClientCallbackHandler()"]
  2ac7b4f3_6383_a4bf_edb6_ff13b26b5fda -->|method| faf3f770_46d7_8102_bd0b_c20c7ae003a9
  52e45bcd_b3ac_d598_83e2_adc0a82eb910["verify()"]
  2ac7b4f3_6383_a4bf_edb6_ff13b26b5fda -->|method| 52e45bcd_b3ac_d598_83e2_adc0a82eb910

Relationship Graph

Source Code

handler-ssl-ocsp/src/test/java/io/netty/handler/ssl/ocsp/OcspTest.java lines 504–518

    private static final class OcspClientCallbackHandler extends OcspClientHandler {

        private final OcspClientCallback callback;

        OcspClientCallbackHandler(ReferenceCountedOpenSslEngine engine, OcspClientCallback callback) {
            super(engine);
            this.callback = callback;
        }

        @Override
        protected boolean verify(ChannelHandlerContext ctx, ReferenceCountedOpenSslEngine engine) throws Exception {
            byte[] response = engine.getOcspResponse();
            return callback.verify(response);
        }
    }

Frequently Asked Questions

What is the OcspClientCallbackHandler class?
OcspClientCallbackHandler is a class in the netty codebase, defined in handler-ssl-ocsp/src/test/java/io/netty/handler/ssl/ocsp/OcspTest.java.
Where is OcspClientCallbackHandler defined?
OcspClientCallbackHandler is defined in handler-ssl-ocsp/src/test/java/io/netty/handler/ssl/ocsp/OcspTest.java at line 504.

Analyze Your Own Codebase

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

Try Supermodel Free