import $kdeOFQljIqf from"../../../../io/netty/channel/ChannelPromise"; import $m_oCugiaVHS from"../../../../java/util/concurrent/TimeUnit"; import $WHIVIrTznAZb from"../../../../io/netty/buffer/ByteBuf"; import $AdRCXxBjmNhb from"../../../../java/nio/channels/ClosedChannelException"; import $FADLhSseCgGb from"../../../../io/netty/channel/ChannelFuture"; import $FnXrwoFVYpW from"../../../../io/netty/util/internal/logging/InternalLogger"; import $rMQdLWPHAYW from"../../../../java/util/regex/Pattern"; import $QIApaFDJJnnb from"../../../../io/netty/channel/PendingWriteQueue"; import $ZgWDIVdBbEF from"../../../../io/netty/util/concurrent/Future"; import $YcwywxTKK_Z from"../../../../java/util/List"; import $QKUwLrwtcXe from"../../../../io/netty/handler/ssl/SslHandler"; import $hzWTarUwVbub from"../../../../io/netty/channel/ChannelOutboundHandler"; import $NOFnxcOpSkIb from"../../../../io/netty/handler/ssl/SslHandler$LazyChannelPromise"; import $APOnVZTGKjQ from"../../../../javax/net/ssl/SSLEngineResult"; import $bDgxOBl_tIi from"../../../../java/lang/Throwable"; import $ymqpKftHb_k from"../../../../java/nio/ByteBuffer"; import $rpWYeilJaCkb from"../../../../io/netty/handler/codec/ByteToMessageDecoder"; import $EioXQnebpCn from"../../../../javax/net/ssl/SSLException"; import $cQMxgCcCxOp from"../../../../java/net/SocketAddress"; import $yglVEXjIhLNb from"../../../../javax/net/ssl/SSLEngine"; import $M_LamciSrHCb from"../../../../java/util/concurrent/Executor"; import $xNwMZJOQLWWb from"../../../../io/netty/channel/ChannelHandlerContext"; export default class SslHandler extends $rpWYeilJaCkb implements $hzWTarUwVbub{ maxPacketBufferSize:number; startTls:boolean; static HANDSHAKE_TIMED_OUT:$EioXQnebpCn; wantsInboundHeapBuffer:boolean; sentFirstMessage:boolean; pendingUnencryptedWrites:$QIApaFDJJnnb; wantsLargeOutboundNetworkBuffer:boolean; packetLength:number; handshakeTimeoutMillis:number; closeNotifyTimeoutMillis:number; flushedBeforeHandshakeDone:boolean; static CHANNEL_CLOSED:$AdRCXxBjmNhb; handshakePromise:$NOFnxcOpSkIb; wantsDirectBuffer:boolean; static $assertionsDisabled:boolean; ctx:$xNwMZJOQLWWb; static logger:$FnXrwoFVYpW; static IGNORABLE_ERROR_MESSAGE:$rMQdLWPHAYW; static IGNORABLE_CLASS_IN_STACK:$rMQdLWPHAYW; needsFlush:boolean; static SSLENGINE_CLOSED:$EioXQnebpCn; delegatedTaskExecutor:$M_LamciSrHCb; constructor(engine:$yglVEXjIhLNb); constructor(startTls:boolean,engine:$yglVEXjIhLNb); constructor(engine:$yglVEXjIhLNb,delegatedTaskExecutor:$M_LamciSrHCb); constructor(startTls:boolean,engine:$yglVEXjIhLNb,delegatedTaskExecutor:$M_LamciSrHCb); getHandshakeTimeoutMillis():number; setHandshakeTimeout(unit:$m_oCugiaVHS,handshakeTimeout:number):void; setHandshakeTimeoutMillis(handshakeTimeoutMillis:number):void; getCloseNotifyTimeoutMillis():number; setCloseNotifyTimeout(closeNotifyTimeout:number,unit:$m_oCugiaVHS):void; setCloseNotifyTimeoutMillis(closeNotifyTimeoutMillis:number):void; engine():$yglVEXjIhLNb; handshakeFuture():$ZgWDIVdBbEF; close():$FADLhSseCgGb; close(future:$kdeOFQljIqf):$FADLhSseCgGb; sslCloseFuture():$ZgWDIVdBbEF; handlerRemoved0(ctx:$xNwMZJOQLWWb):void; bind(localAddress:$cQMxgCcCxOp,promise:$kdeOFQljIqf,ctx:$xNwMZJOQLWWb):void; connect(localAddress:$cQMxgCcCxOp,promise:$kdeOFQljIqf,remoteAddress:$cQMxgCcCxOp,ctx:$xNwMZJOQLWWb):void; deregister(ctx:$xNwMZJOQLWWb,promise:$kdeOFQljIqf):void; disconnect(ctx:$xNwMZJOQLWWb,promise:$kdeOFQljIqf):void; close(ctx:$xNwMZJOQLWWb,promise:$kdeOFQljIqf):void; read(ctx:$xNwMZJOQLWWb):void; write(promise:$kdeOFQljIqf,ctx:$xNwMZJOQLWWb,msg:any):void; flush(ctx:$xNwMZJOQLWWb):void; wrap(result:boolean,buf:$xNwMZJOQLWWb):void; finishWrap(out:$WHIVIrTznAZb,promise:$kdeOFQljIqf,ctx:$xNwMZJOQLWWb,inUnwrap:boolean):void; wrapNonAppData(e:$xNwMZJOQLWWb,$_this_$:boolean):void; wrap($_this_$:$WHIVIrTznAZb,out0:$yglVEXjIhLNb,result:$WHIVIrTznAZb):$APOnVZTGKjQ; channelInactive(ctx:$xNwMZJOQLWWb):void; exceptionCaught(cause:$bDgxOBl_tIi,ctx:$xNwMZJOQLWWb):void; ignoreException(e:$bDgxOBl_tIi):boolean; static isEncrypted(buffer:$WHIVIrTznAZb):boolean; static getEncryptedPacketLength(sslv2:number,majorVersion:$WHIVIrTznAZb):number; decode(newTotalLength:$WHIVIrTznAZb,inNetBuf:$YcwywxTKK_Z,packetLength:$xNwMZJOQLWWb):void; channelReadComplete(ctx:$xNwMZJOQLWWb):void; unwrapNonAppData(ctx:$xNwMZJOQLWWb):void; unwrap(status:number,newPacket:$xNwMZJOQLWWb,result:$ymqpKftHb_k):void; static unwrap(out0:$ymqpKftHb_k,max:$yglVEXjIhLNb,result:$WHIVIrTznAZb):$APOnVZTGKjQ; runDelegatedTasks():void; setHandshakeSuccessIfStillHandshaking():boolean; setHandshakeSuccess():void; setHandshakeFailure(e:$bDgxOBl_tIi):void; notifyHandshakeFailure(cause:$bDgxOBl_tIi):void; closeOutboundAndChannel(disconnect:boolean,ctx:$xNwMZJOQLWWb,promise:$kdeOFQljIqf):void; handlerAdded(ctx:$xNwMZJOQLWWb):void; handshake():$ZgWDIVdBbEF; channelActive(ctx:$xNwMZJOQLWWb):void; safeClose(flushFuture:$kdeOFQljIqf,ctx:$FADLhSseCgGb,$_this_$:$xNwMZJOQLWWb):void; allocate(capacity:number,ctx:$xNwMZJOQLWWb):$WHIVIrTznAZb; allocateOutNetBuf(pendingBytes:number,ctx:$xNwMZJOQLWWb):$WHIVIrTznAZb; static access$100(x0:$QKUwLrwtcXe):$yglVEXjIhLNb; static access$200():$FnXrwoFVYpW; static access$300(x0:$QKUwLrwtcXe):$xNwMZJOQLWWb; static access$400(x0:$QKUwLrwtcXe):$NOFnxcOpSkIb; static access$500():$EioXQnebpCn; static access$600(x0:$QKUwLrwtcXe,x1:$bDgxOBl_tIi):void; }