AaltoTLS.SecureSession.ProcessHandshakeRecord C# (CSharp) Метод

ProcessHandshakeRecord() приватный Метод

private ProcessHandshakeRecord ( Record record, AsyncHandshakeResult asyncHandshakeResult ) : void
record Record
asyncHandshakeResult AsyncHandshakeResult
Результат void
        private void ProcessHandshakeRecord(Record record, AsyncHandshakeResult asyncHandshakeResult)
        {
            // Process each handshake message included in this record fragment separately
            HandshakeMessage[] msgs = _handshakePacketizer.ProcessHandshakeRecord(_handshakeSession.NegotiatedVersion, record);
            for (int i=0; i<msgs.Length; i++) {
                _handshakeSession.ProcessMessage(msgs[i]);
            }

            // Continue processing handshake by attempting to send packets
            ProcessSendHandshakePacket(asyncHandshakeResult);
        }