Otp.AbstractConnection.sendChallengeAck C# (CSharp) Method

sendChallengeAck() protected method

protected sendChallengeAck ( byte digest ) : void
digest byte
return void
        protected internal virtual void  sendChallengeAck(byte[] digest)
        {
            
            OtpOutputStream obuf = new OtpOutputStream();
            obuf.write2BE(17);
            obuf.write1(ChallengeAck);
            obuf.write(digest);
            
            obuf.writeTo((System.IO.Stream) socket.GetStream());
            
            if (traceLevel >= OtpTrace.Type.handshakeThreshold)
            {
                OtpTrace.TraceEvent("-> " + "HANDSHAKE sendChallengeAck" + " digest=" + hex(digest) + " local=" + self);
            }
        }