< Summary

Line coverage
0%
Covered lines: 0
Uncovered lines: 1332
Coverable lines: 1332
Total lines: 2570
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 568
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor()100%110%
AttachSocket(...)0%220%
SetSessionCertificateContext(...)0%880%
InitializeFromContext(...)100%110%
OnContextInitialized()100%110%
GetRemoteCertificate()0%10100%
GetRemoteCertificates()100%110%
AcceptWithDefaultValidation()0%12120%
SetRemoteCertificateValidationResult(...)0%20200%
GetClientHelloLength()0%440%
TryGetClientHelloBytes(...)0%660%
SetContext(...)0%12120%
SetClientCertificateContext(...)0%440%
GetAcceptableIssuers()0%880%
ThrowIfPendingExternalValidation()0%440%
DisposeExternalRemoteCertificates()0%440%
GetChannelBinding(...)0%440%
HandshakeBufferedCore(...)0%1141140%
WriteBufferedCore(...)0%14140%
ReadBufferedCore(...)0%26260%
TryDrainBufferedPlaintext(...)0%14140%
RequestClientCertificateBufferedCore(...)0%22220%
ShutdownBufferedCore(...)0%14140%
DrainPendingOutputCore(...)0%220%
AppendPending(...)0%220%
DrainTo(...)0%220%
EnsureDecryptScratch(...)0%660%
ThrowIfDisposed()100%110%
ThrowIfContextNotSet()0%220%
TryParseClientHello(...)0%660%
ResolveServerCertificateFromClientHello(...)0%14140%
ActiveCredentialsRef()0%220%
HandshakeStepForSslStream(...)0%440%
OnHandshakeCompleted()0%660%
CaptureRemoteCertificateForExternalValidation()0%24240%
EnsureCredentialsAcquired()0%880%
ProcessPostHandshakeMessage(...)0%660%
ThrowIfNotSocketBound()0%220%
TryDrainPendingToSocket(...)0%660%
HandshakeSocketCore()0%36360%
ReadSocketCore(...)0%26260%
WriteSocketCore(...)0%28280%
DriveBufferedOpOverSocket(...)0%14140%
ShutdownSocketCore()100%110%
RequestClientCertificateSocketCore()0%220%
Dispose()0%20200%

File(s)

https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Security/src/System/Net/Security/TlsSession.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Net.Security/src/System/Net/Security/TlsSession.cs': Response status code does not indicate success: 404 (Not Found).

Methods/Properties

.ctor()
AttachSocket(System.Net.Sockets.SafeSocketHandle)
SessionCertificateContext()
SetSessionCertificateContext(System.Net.Security.SslStreamCertificateContext,System.Boolean)
InitializeFromContext(System.Net.Security.TlsContext)
OnContextInitialized()
IsHandshakeComplete()
HasPendingOutput()
TargetHostName()
TargetHostName(System.String)
NegotiatedProtocol()
NegotiatedCipherSuite()
NegotiatedApplicationProtocol()
GetRemoteCertificate()
GetRemoteCertificates()
AcceptWithDefaultValidation()
SetRemoteCertificateValidationResult(System.Net.Security.SslPolicyErrors)
ClientHelloInfo()
GetClientHelloLength()
TryGetClientHelloBytes(System.Span`1<System.Byte>,System.Int32&)
SetContext(System.Net.Security.TlsContext)
SetClientCertificateContext(System.Net.Security.SslStreamCertificateContext)
GetAcceptableIssuers()
ThrowIfPendingExternalValidation()
DisposeExternalRemoteCertificates()
LocalCertificate()
GetChannelBinding(System.Security.Authentication.ExtendedProtection.ChannelBindingKind)
HandshakeBufferedCore(System.ReadOnlySpan`1<System.Byte>,System.Span`1<System.Byte>,System.Int32&,System.Int32&)
WriteBufferedCore(System.ReadOnlySpan`1<System.Byte>,System.Span`1<System.Byte>,System.Int32&,System.Int32&)
ReadBufferedCore(System.ReadOnlySpan`1<System.Byte>,System.Span`1<System.Byte>,System.Int32&,System.Int32&)
TryDrainBufferedPlaintext(System.Span`1<System.Byte>,System.Int32&)
RequestClientCertificateBufferedCore(System.Span`1<System.Byte>,System.Int32&)
ShutdownBufferedCore(System.Span`1<System.Byte>,System.Int32&)
DrainPendingOutputCore(System.Span`1<System.Byte>,System.Int32&)
AppendPending(System.ReadOnlySpan`1<System.Byte>)
DrainTo(System.Span`1<System.Byte>)
EnsureDecryptScratch(System.Int32)
ThrowIfDisposed()
ThrowIfContextNotSet()
TryParseClientHello(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
ResolveServerCertificateFromClientHello(System.ReadOnlySpan`1<System.Byte>)
SuppressInternalCertificateValidation(System.Boolean)
SecurityContext()
CredentialsHandle()
CredentialsHandle(System.Net.Security.SafeFreeCredentials)
ActiveCredentialsRef()
HandshakeStepForSslStream(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
OnHandshakeCompleted()
CaptureRemoteCertificateForExternalValidation()
EnsureCredentialsAcquired()
ProcessPostHandshakeMessage(System.ReadOnlySpan`1<System.Byte>)
ThrowIfNotSocketBound()
TryDrainPendingToSocket(System.Net.Sockets.SocketError&)
HandshakeSocketCore()
ReadSocketCore(System.Span`1<System.Byte>,System.Int32&)
WriteSocketCore(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
DriveBufferedOpOverSocket(System.Func`2<System.Span`1<System.Byte>,System.ValueTuple`2<System.Net.Security.TlsOperationStatus,System.Int32>>)
ShutdownSocketCore()
RequestClientCertificateSocketCore()
Dispose()