Package io.netty5.handler.ssl.ocsp
Class OcspClientHandler
- 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 protectedOcspClientHandler(ReferenceCountedOpenSslEngine engine)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiduserEventTriggered(io.netty5.channel.ChannelHandlerContext ctx, Object evt)protected abstract booleanverify(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, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, exceptionCaught, flush, handlerAdded, handlerRemoved, read, register, 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()
-
-