- java.lang.Object
-
- io.netty5.handler.ssl.ocsp.OcspClientHandler
-
- All Implemented Interfaces:
io.netty5.channel.ChannelHandler
@UnstableApi public abstract class OcspClientHandler extends Object implements io.netty5.channel.ChannelHandler
A handler for SSL clients to handle and act upon stapled OCSP responses.- See Also:
ReferenceCountedOpenSslContext#enableOcsp()
,ReferenceCountedOpenSslEngine.getOcspResponse()
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OcspClientHandler(ReferenceCountedOpenSslEngine engine)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
channelInboundEvent(io.netty5.channel.ChannelHandlerContext ctx, Object evt)
protected abstract boolean
verify(io.netty5.channel.ChannelHandlerContext ctx, ReferenceCountedOpenSslEngine engine)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty5.channel.ChannelHandler
bind, channelActive, channelExceptionCaught, channelInactive, channelRead, channelReadComplete, channelRegistered, channelShutdown, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, isSharable, pendingOutboundBytes, read, register, sendOutboundEvent, shutdown, write
-
-
-
-
Constructor Detail
-
OcspClientHandler
protected OcspClientHandler(ReferenceCountedOpenSslEngine engine)
-
-
Method Detail
-
verify
protected abstract boolean verify(io.netty5.channel.ChannelHandlerContext ctx, ReferenceCountedOpenSslEngine engine) throws Exception
- Throws:
Exception
- See Also:
ReferenceCountedOpenSslEngine.getOcspResponse()
-
-