System.Net.Security.SslStream
E697512
System.Net.Security.SslStream is a .NET class that provides a stream wrapper for implementing SSL/TLS encryption and authentication over network connections.
Statements (82)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
stream wrapper ⓘ |
| assembly |
System.Net.Security.dll
ⓘ
System.dll NERFINISHED ⓘ |
| baseClass | System.IO.Stream ⓘ |
| commonUsage |
implement custom HTTPS-like protocols
ⓘ
secure TCP client connections ⓘ secure TCP server connections ⓘ |
| constructorParameter |
LocalCertificateSelectionCallback
NERFINISHED
ⓘ
RemoteCertificateValidationCallback NERFINISHED ⓘ innerStream (System.IO.Stream) ⓘ leaveInnerStreamOpen (bool) ⓘ |
| designedFor |
.NET 5+
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| introducedIn | .NET Framework 2.0 NERFINISHED ⓘ |
| method |
AuthenticateAsClient
ⓘ
AuthenticateAsClientAsync ⓘ AuthenticateAsServer ⓘ AuthenticateAsServerAsync NERFINISHED ⓘ BeginAuthenticateAsClient ⓘ BeginAuthenticateAsServer ⓘ Close ⓘ EndAuthenticateAsClient ⓘ EndAuthenticateAsServer ⓘ Flush ⓘ FlushAsync ⓘ Read ⓘ ReadAsync ⓘ ShutdownAsync ⓘ Write ⓘ WriteAsync ⓘ |
| namespace | System.Net.Security NERFINISHED ⓘ |
| property |
CanRead
ⓘ
CanSeek ⓘ CanTimeout ⓘ CanWrite ⓘ CheckCertRevocationStatus ⓘ CipherAlgorithm ⓘ CipherStrength ⓘ HashAlgorithm ⓘ HashStrength ⓘ IsAuthenticated ⓘ IsEncrypted ⓘ IsMutuallyAuthenticated ⓘ IsSigned ⓘ KeyExchangeAlgorithm ⓘ KeyExchangeStrength ⓘ LeaveInnerStreamOpen ⓘ LocalCertificate ⓘ ReadTimeout ⓘ RemoteCertificate ⓘ SslProtocol ⓘ WriteTimeout ⓘ |
| purpose |
provide SSL/TLS encryption over streams
ⓘ
provide authentication over network connections ⓘ |
| requires | underlying bidirectional stream ⓘ |
| sealed | true ⓘ |
| supportsFeature |
asynchronous operations
ⓘ
certificate validation callbacks ⓘ data integrity ⓘ encryption ⓘ optional client authentication ⓘ remote certificate selection callbacks ⓘ replay protection ⓘ server authentication ⓘ |
| supportsProtocol |
SSL
NERFINISHED
ⓘ
TLS NERFINISHED ⓘ TLS 1.0 ⓘ TLS 1.1 ⓘ TLS 1.2 ⓘ TLS 1.3 ⓘ |
| threadSafety | read and write operations are not guaranteed to be thread-safe ⓘ |
| throwsException |
System.IO.IOException
NERFINISHED
ⓘ
System.ObjectDisposedException ⓘ System.Security.Authentication.AuthenticationException NERFINISHED ⓘ |
| usesCallback |
LocalCertificateSelectionCallback
ⓘ
RemoteCertificateValidationCallback NERFINISHED ⓘ |
| usesType |
System.Security.Authentication.AuthenticationException
NERFINISHED
ⓘ
System.Security.Authentication.SslProtocols NERFINISHED ⓘ System.Security.Cryptography.X509Certificates.X509Certificate ⓘ System.Security.Cryptography.X509Certificates.X509Certificate2 NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.