- java.lang.Object
-
- io.netty5.handler.ssl.ocsp.OcspClientHandler
-
- All Implemented Interfaces:
ChannelHandler
@UnstableApi public abstract class OcspClientHandler extends Object implements 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(ChannelHandlerContext ctx, Object evt)
Gets called if a custom inbound event happened.protected abstract boolean
verify(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(ChannelHandlerContext ctx, ReferenceCountedOpenSslEngine engine) throws Exception
- Throws:
Exception
- See Also:
ReferenceCountedOpenSslEngine.getOcspResponse()
-
channelInboundEvent
public void channelInboundEvent(ChannelHandlerContext ctx, Object evt) throws Exception
Description copied from interface:ChannelHandler
Gets called if a custom inbound event happened.- Specified by:
channelInboundEvent
in interfaceChannelHandler
- Throws:
Exception
-
-