1 write to _SslState
System (1)
net\System\Net\SecureProtocols\_SslStream.cs (1)
69
_SslState
= sslState;
40 references to _SslState
System (40)
net\System\Net\SecureProtocols\_SslStream.cs (40)
70
_Reader = new FixedSizeReader(
_SslState
.InnerStream);
322
_SslState
.CheckThrow(authSuccessCheck: true, shutdownCheck: true);
345
_SslState
.FinishWrite();
366
if (
_SslState
.LastPayload != null)
381
_SslState
.CheckThrow(authSuccessCheck: true, shutdownCheck: true);
395
_SslState
.FinishWrite();
420
if (
_SslState
.CheckEnqueueWrite(asyncRequest))
427
if (
_SslState
.LastPayload != null)
432
lastHandshakePayload =
_SslState
.LastPayload;
433
_SslState
.LastPayloadConsumed();
442
IAsyncResult ar = ((NetworkStream)(
_SslState
.InnerStream)).BeginMultipleWrite(buffers, _MulitpleWriteCallback, asyncRequest);
446
((NetworkStream)(
_SslState
.InnerStream)).EndMultipleWrite(ar);
450
((NetworkStream)(
_SslState
.InnerStream)).MultipleWrite(buffers);
454
_SslState
.FinishWrite();
475
int chunkBytes = Math.Min(buffer.Size,
_SslState
.MaxDataSize);
480
status =
_SslState
.EncryptData(buffer.Buffer, buffer.Offset, chunkBytes, ref outBuffer, out outSize);
503
chunkBytes = Math.Min(buffer.Size,
_SslState
.MaxDataSize);
505
status =
_SslState
.EncryptData(buffer.Buffer, buffer.Offset, chunkBytes, ref outBuffer, out outSize);
577
if (
_SslState
.CheckEnqueueWrite(asyncRequest))
583
int chunkBytes = Math.Min(count,
_SslState
.MaxDataSize);
585
SecurityStatus errorCode =
_SslState
.EncryptData(buffer, offset, chunkBytes, ref outBuffer, out encryptedBytes);
602
IAsyncResult ar =
_SslState
.InnerStream.BeginWrite(outBuffer, 0, encryptedBytes, _WriteCallback, asyncRequest);
607
_SslState
.InnerStream.EndWrite(ar);
612
_SslState
.InnerStream.Write(outBuffer, 0, encryptedBytes);
618
_SslState
.FinishWrite();
675
_SslState
.FinishRead(null);
706
int copyBytes =
_SslState
.CheckEnqueueRead(buffer, offset, count, asyncRequest);
776
readBytes =
_SslState
.GetRemainingFrameSize(InternalBuffer, readBytes);
822
SecurityStatus errorCode =
_SslState
.DecryptData(InternalBuffer, ref data_offset, ref readBytes);
858
_SslState
.FinishRead(null);
880
_SslState
.ReplyOnReAuthentication(extraBuffer);
885
_SslState
.FinishRead(null);
910
sslStream.
_SslState
.InnerStream.EndWrite(transportResult);
911
sslStream.
_SslState
.FinishWrite();
925
sslStream.
_SslState
.FinishWrite();
945
((NetworkStream)(sslStream.
_SslState
.InnerStream)).EndMultipleWrite(transportResult);
946
sslStream.
_SslState
.FinishWrite();
954
sslStream.
_SslState
.FinishWrite();
972
((_SslStream)request.AsyncObject).
_SslState
.FinishRead(null);
994
((_SslStream)asyncRequest.AsyncObject).
_SslState
.FinishWrite();