net\System\Net\SecureProtocols\_SslState.cs (41)
143if (Context != null && Context.IsValidContext) {
147if (Context != null && IsServer != isServer) {
205(Context.IsServer? Context.LocalServerCertificate: Context.LocalClientCertificate) != null &&
206Context.IsRemoteCertificateAvailable; /* does not work: Context.IsMutualAuthFlag;*/
213return Context == null || Context.RemoteCertRequired;
219return Context != null && Context.IsServer;
242return Context.IsServer? Context.LocalServerCertificate : Context.LocalClientCertificate;
248return (Context == null) ? null : Context.GetChannelBinding(kind);
253return Context != null && Context.CheckCertRevocationStatus;
284SslConnectionInfo info = Context.ConnectionInfo;
295SslConnectionInfo info = Context.ConnectionInfo;
306SslConnectionInfo info = Context.ConnectionInfo;
317SslConnectionInfo info = Context.ConnectionInfo;
328SslConnectionInfo info = Context.ConnectionInfo;
339SslConnectionInfo info = Context.ConnectionInfo;
350SslConnectionInfo info = Context.ConnectionInfo;
404return Context.HeaderSize;
410return Context.MaxDataSize;
429if (_Exception != null && Context != null) {
430Context.Close();
478if (Context != null)
480Context.Close();
489return Context.Encrypt(buffer, offset, count, ref outBuffer, out outSize);
503return Context.Decrypt(buffer, ref offset, ref count);
579ForceAuthentication(Context.IsServer, null, asyncRequest);
749ProtocolToken message = Context.NextMessage(incoming, 0, count);
754if (Context.IsServer && _CachedSession == CachedSessionStatus.Unknown)
1000Context.ProcessHandshakeSuccess();
1002if (!Context.VerifyRemoteCertificate(_CertValidationDelegate, ref alertToken))
1335ProtocolToken message = Context.CreateShutdownToken();
1620if (!Context.IsServer || _Framing == Framing.Unified) {
1675ForceAuthentication(Context.IsServer, request.Buffer, request);