1 write to _framer
System.Net.Security (1)
System\Net\Security\NegotiateStream.cs (1)
657
_framer
= new StreamFramer();
13 references to _framer
System.Net.Security (13)
System\Net\Security\NegotiateStream.cs (13)
658
_framer
.WriteHeader.MessageId = FrameHeader.HandshakeId;
791
_framer
!.WriteHeader.MessageId = FrameHeader.HandshakeDoneId;
805
await
_framer
!.WriteMessageAsync<TIOAdapter>(InnerStream, message, cancellationToken).ConfigureAwait(false);
852
await
_framer
!.WriteMessageAsync<TIOAdapter>(InnerStream, message, cancellationToken).ConfigureAwait(false);
862
Debug.Assert(
_framer
!= null);
864
byte[]? message = await
_framer
.ReadMessageAsync<TIOAdapter>(InnerStream, cancellationToken).ConfigureAwait(false);
872
if (
_framer
.ReadHeader.MessageId == FrameHeader.HandshakeErrId)
884
if (
_framer
.ReadHeader.MessageId == FrameHeader.HandshakeDoneId)
897
else if (
_framer
.ReadHeader.MessageId != FrameHeader.HandshakeId)
899
throw new AuthenticationException(SR.Format(SR.net_io_header_id, nameof(FrameHeader.MessageId),
_framer
.ReadHeader.MessageId, FrameHeader.HandshakeId));
907
throw new AuthenticationException(SR.Format(SR.net_io_header_id, nameof(FrameHeader.MessageId),
_framer
.ReadHeader.MessageId, FrameHeader.HandshakeDoneId));
922
_framer
!.WriteHeader.MessageId = FrameHeader.HandshakeErrId;
924
await
_framer
.WriteMessageAsync<TIOAdapter>(InnerStream, message, cancellationToken).ConfigureAwait(false);