RingDotNetfor Ring

System.Net.Security

13 wrapped types. Load them with using { "System.Net.Security" }. Click a class to open it.

AuthenticatedStream class abstract · extends Stream

System.Net.Security.AuthenticatedStream · assembly System.Net.Security

Implements: IDisposable, IAsyncDisposable

Properties and fields

NameTypeAccessIn Ring
LeaveInnerStreamOpenboolreado.LeaveInnerStreamOpen
IsAuthenticatedboolreado.IsAuthenticated
IsMutuallyAuthenticatedboolreado.IsMutuallyAuthenticated
IsEncryptedboolreado.IsEncrypted
IsSignedboolreado.IsSigned
IsServerboolreado.IsServer

Methods

MethodRing call.NET overloads
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()

Members of the base class are inherited.

CipherSuitesPolicy class sealed

System.Net.Security.CipherSuitesPolicy · assembly System.Net.Security

Constructors

new CipherSuitesPolicy(IEnumerable<TlsCipherSuite> allowedCipherSuites)

Ring: new CipherSuitesPolicy(args) uses one constructor; the others are chosen by the parameter names: new CipherSuitesPolicy().@New([ :param = value ]) or dnNew("CipherSuitesPolicy",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
AllowedCipherSuitesIEnumerable<TlsCipherSuite>reado.AllowedCipherSuites
NegotiateAuthentication class sealed

System.Net.Security.NegotiateAuthentication · assembly System.Net.Security

Implements: IDisposable

Constructors

new NegotiateAuthentication(NegotiateAuthenticationClientOptions clientOptions)
new NegotiateAuthentication(NegotiateAuthenticationServerOptions serverOptions)

Ring: new NegotiateAuthentication(args) uses one constructor; the others are chosen by the parameter names: new NegotiateAuthentication().@New([ :param = value ]) or dnNew("NegotiateAuthentication",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsAuthenticatedboolreado.IsAuthenticated
ProtectionLevelProtectionLevelreado.ProtectionLevel
IsSignedboolreado.IsSigned
IsEncryptedboolreado.IsEncrypted
IsMutuallyAuthenticatedboolreado.IsMutuallyAuthenticated
IsServerboolreado.IsServer
Packagestringreado.getPackage()
TargetNamestringreado.TargetName
RemoteIdentityIIdentityreado.RemoteIdentity
ImpersonationLevelTokenImpersonationLevelreado.ImpersonationLevel

Methods

MethodRing call.NET overloads
ComputeIntegrityCheckComputeIntegrityCheck(p1,p2)void ComputeIntegrityCheck(ReadOnlySpan<byte> message, IBufferWriter<byte> signatureWriter)
DisposecallMethod("Dispose",[])void Dispose()
GetOutgoingBlobGetOutgoingBlob(p1)byte[] GetOutgoingBlob(ReadOnlySpan<byte> incomingBlob, out NegotiateAuthenticationStatusCode statusCode)
string GetOutgoingBlob(string incomingBlob, out NegotiateAuthenticationStatusCode statusCode)
UnwrapUnwrap(p1,p2)NegotiateAuthenticationStatusCode Unwrap(ReadOnlySpan<byte> input, IBufferWriter<byte> outputWriter, out bool wasEncrypted)
UnwrapInPlaceUnwrapInPlace(p1)NegotiateAuthenticationStatusCode UnwrapInPlace(Span<byte> input, out int unwrappedOffset, out int unwrappedLength, out bool wasEncrypted)
VerifyIntegrityCheckVerifyIntegrityCheck(p1,p2)bool VerifyIntegrityCheck(ReadOnlySpan<byte> message, ReadOnlySpan<byte> signature)
WrapWrap(p1,p2,p3)NegotiateAuthenticationStatusCode Wrap(ReadOnlySpan<byte> input, IBufferWriter<byte> outputWriter, bool requestEncryption, out bool isEncrypted)
NegotiateAuthenticationClientOptions class

System.Net.Security.NegotiateAuthenticationClientOptions · assembly System.Net.Security

Constructors

new NegotiateAuthenticationClientOptions()

Ring: new NegotiateAuthenticationClientOptions(args) uses one constructor; the others are chosen by the parameter names: new NegotiateAuthenticationClientOptions().@New([ :param = value ]) or dnNew("NegotiateAuthenticationClientOptions",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Packagestringread, writeo.getPackage() o.setPackage(v)
CredentialNetworkCredentialread, writeo.Credential o.Credential = v
TargetNamestringread, writeo.TargetName o.TargetName = v
BindingChannelBindingread, writeo.Binding o.Binding = v
RequiredProtectionLevelProtectionLevelread, writeo.RequiredProtectionLevel o.RequiredProtectionLevel = v
RequireMutualAuthenticationboolread, writeo.RequireMutualAuthentication o.RequireMutualAuthentication = v
AllowedImpersonationLevelTokenImpersonationLevelread, writeo.AllowedImpersonationLevel o.AllowedImpersonationLevel = v
NegotiateAuthenticationServerOptions class

System.Net.Security.NegotiateAuthenticationServerOptions · assembly System.Net.Security

Constructors

new NegotiateAuthenticationServerOptions()

Ring: new NegotiateAuthenticationServerOptions(args) uses one constructor; the others are chosen by the parameter names: new NegotiateAuthenticationServerOptions().@New([ :param = value ]) or dnNew("NegotiateAuthenticationServerOptions",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Packagestringread, writeo.getPackage() o.setPackage(v)
CredentialNetworkCredentialread, writeo.Credential o.Credential = v
BindingChannelBindingread, writeo.Binding o.Binding = v
RequiredProtectionLevelProtectionLevelread, writeo.RequiredProtectionLevel o.RequiredProtectionLevel = v
PolicyExtendedProtectionPolicyread, writeo.Policy o.Policy = v
RequiredImpersonationLevelTokenImpersonationLevelread, writeo.RequiredImpersonationLevel o.RequiredImpersonationLevel = v
NegotiateStream class · extends AuthenticatedStream

System.Net.Security.NegotiateStream · assembly System.Net.Security

Implements: IDisposable, IAsyncDisposable

Constructors

new NegotiateStream(Stream innerStream)
new NegotiateStream(Stream innerStream, bool leaveInnerStreamOpen)

Ring: new NegotiateStream(args) uses one constructor; the others are chosen by the parameter names: new NegotiateStream().@New([ :param = value ]) or dnNew("NegotiateStream",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsAuthenticatedboolreado.getIsAuthenticated()
IsMutuallyAuthenticatedboolreado.getIsMutuallyAuthenticated()
IsEncryptedboolreado.getIsEncrypted()
IsSignedboolreado.getIsSigned()
IsServerboolreado.getIsServer()
ImpersonationLevelTokenImpersonationLevelreado.ImpersonationLevel
RemoteIdentityIIdentityreado.RemoteIdentity
CanSeekboolreado.getCanSeek()
CanReadboolreado.getCanRead()
CanTimeoutboolreado.getCanTimeout()
CanWriteboolreado.getCanWrite()
ReadTimeoutintread, writeo.getReadTimeout() o.setReadTimeout(v)
WriteTimeoutintread, writeo.getWriteTimeout() o.setWriteTimeout(v)
Lengthlongreado.getLength()
Positionlongread, writeo.getPosition() o.setPosition(v)

Methods

MethodRing call.NET overloads
AuthenticateAsClientAuthenticateAsClient(NULL)
AuthenticateAsClient([ :credential = …, :targetName = … ])
AuthenticateAsClient([ :credential = …, :binding = …, :targetName = … ])
AuthenticateAsClient([ :credential = …, :targetName = …, :requiredProtectionLevel = …, :allowedImpersonationLevel = … ])
AuthenticateAsClient([ :credential = …, :binding = …, :targetName = …, :requiredProtectionLevel = …, :allowedImpersonationLevel = … ])
void AuthenticateAsClient()
void AuthenticateAsClient(NetworkCredential credential, string targetName)
void AuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, string targetName)
void AuthenticateAsClient(NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
void AuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
AuthenticateAsClientAsyncAuthenticateAsClientAsync(NULL)
AuthenticateAsClientAsync([ :credential = …, :targetName = … ])
AuthenticateAsClientAsync([ :credential = …, :binding = …, :targetName = … ])
AuthenticateAsClientAsync([ :credential = …, :targetName = …, :requiredProtectionLevel = …, :allowedImpersonationLevel = … ])
AuthenticateAsClientAsync([ :credential = …, :binding = …, :targetName = …, :requiredProtectionLevel = …, :allowedImpersonationLevel = … ])
Task AuthenticateAsClientAsync()
Task AuthenticateAsClientAsync(NetworkCredential credential, string targetName)
Task AuthenticateAsClientAsync(NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
Task AuthenticateAsClientAsync(NetworkCredential credential, ChannelBinding binding, string targetName)
Task AuthenticateAsClientAsync(NetworkCredential credential, ChannelBinding binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
AuthenticateAsServercallMethod("AuthenticateAsServer",[])
callMethod("AuthenticateAsServer",[p1])
callMethod("AuthenticateAsServer",[p1,p2,p3])
callMethod("AuthenticateAsServer",[p1,p2,p3,p4])
void AuthenticateAsServer()
void AuthenticateAsServer(ExtendedProtectionPolicy policy)
void AuthenticateAsServer(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel)
void AuthenticateAsServer(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel)
AuthenticateAsServerAsyncAuthenticateAsServerAsync(NULL)
AuthenticateAsServerAsync(value)
AuthenticateAsServerAsync([ :policy = … ])
AuthenticateAsServerAsync([ :credential = …, :requiredProtectionLevel = …, :requiredImpersonationLevel = … ])
AuthenticateAsServerAsync([ :credential = …, :policy = …, :requiredProtectionLevel = …, :requiredImpersonationLevel = … ])
Task AuthenticateAsServerAsync()
Task AuthenticateAsServerAsync(ExtendedProtectionPolicy policy)
Task AuthenticateAsServerAsync(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel)
Task AuthenticateAsServerAsync(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel)
BeginAuthenticateAsClientBeginAuthenticateAsClient([ :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsClient([ :credential = …, :targetName = …, :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsClient([ :credential = …, :binding = …, :targetName = …, :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsClient([ :credential = …, :targetName = …, :requiredProtectionLevel = …, :allowedImpersonationLevel = …, :asyncCallback = …, :asyncState = … ])
IAsyncResult BeginAuthenticateAsClient(AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, string targetName, AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, string targetName, AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, object asyncState)
BeginAuthenticateAsServerBeginAuthenticateAsServer([ :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsServer([ :policy = …, :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsServer([ :credential = …, :requiredProtectionLevel = …, :requiredImpersonationLevel = …, :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsServer([ :credential = …, :policy = …, :requiredProtectionLevel = …, :requiredImpersonationLevel = …, :asyncCallback = …, :asyncState = … ])
IAsyncResult BeginAuthenticateAsServer(AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsServer(ExtendedProtectionPolicy policy, AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsServer(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsServer(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, object asyncState)
BeginReadcallMethod("BeginRead",[p1,p2,p3,p4,p5])IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState)
BeginWritecallMethod("BeginWrite",[p1,p2,p3,p4,p5])IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState)
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
EndAuthenticateAsClientEndAuthenticateAsClient(p1)void EndAuthenticateAsClient(IAsyncResult asyncResult)
EndAuthenticateAsServerEndAuthenticateAsServer(p1)void EndAuthenticateAsServer(IAsyncResult asyncResult)
EndReadEndRead(p1)int EndRead(IAsyncResult asyncResult)
EndWriteEndWrite(p1)void EndWrite(IAsyncResult asyncResult)
FlushcallMethod("Flush",[])void Flush()
FlushAsyncFlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync(CancellationToken cancellationToken)
ReadRead(p1,p2,p3)int Read(byte[] buffer, int offset, int count)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = …)
SeekSeek(p1,p2)long Seek(long offset, SeekOrigin origin)
SetLengthcallMethod("SetLength",[p1])void SetLength(long value)
WriteWrite(p1,p2,p3)void Write(byte[] buffer, int offset, int count)
WriteAsyncWriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …)

Members of the base class are inherited.

SslApplicationProtocol struct

System.Net.Security.SslApplicationProtocol · assembly System.Net.Security

Constructors

new SslApplicationProtocol(byte[] protocol)
new SslApplicationProtocol(string protocol)

Ring: new SslApplicationProtocol(args) uses one constructor; the others are chosen by the parameter names: new SslApplicationProtocol().@New([ :param = value ]) or dnNew("SslApplicationProtocol",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ProtocolReadOnlyMemory<byte>reado.Protocol
Http3SslApplicationProtocolread · statico.Http3
Http2SslApplicationProtocolread · statico.Http2
Http11SslApplicationProtocolread · statico.Http11

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(SslApplicationProtocol other)
bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
SslCertificateTrust class sealed

System.Net.Security.SslCertificateTrust · assembly System.Net.Security

Methods

MethodRing call.NET overloads
CreateForX509CollectionCreateForX509Collection([ :trustList = …, :sendTrustInHandshake = … ])static SslCertificateTrust CreateForX509Collection(X509Certificate2Collection trustList, bool sendTrustInHandshake = …)
CreateForX509StoreCreateForX509Store([ :store = …, :sendTrustInHandshake = … ])static SslCertificateTrust CreateForX509Store(X509Store store, bool sendTrustInHandshake = …)
SslClientAuthenticationOptions class

System.Net.Security.SslClientAuthenticationOptions · assembly System.Net.Security

Constructors

new SslClientAuthenticationOptions()

Ring: new SslClientAuthenticationOptions(args) uses one constructor; the others are chosen by the parameter names: new SslClientAuthenticationOptions().@New([ :param = value ]) or dnNew("SslClientAuthenticationOptions",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
AllowRenegotiationboolread, writeo.AllowRenegotiation o.AllowRenegotiation = v
AllowTlsResumeboolread, writeo.AllowTlsResume o.AllowTlsResume = v
LocalCertificateSelectionCallbackLocalCertificateSelectionCallbackread, writeo.LocalCertificateSelectionCallback o.LocalCertificateSelectionCallback = v
RemoteCertificateValidationCallbackRemoteCertificateValidationCallbackread, writeo.RemoteCertificateValidationCallback o.RemoteCertificateValidationCallback = v
ApplicationProtocolsList<SslApplicationProtocol>read, writeo.ApplicationProtocols o.ApplicationProtocols = v
TargetHoststringread, writeo.TargetHost o.TargetHost = v
ClientCertificatesX509CertificateCollectionread, writeo.ClientCertificates o.ClientCertificates = v
ClientCertificateContextSslStreamCertificateContextread, writeo.ClientCertificateContext o.ClientCertificateContext = v
CertificateRevocationCheckModeX509RevocationModeread, writeo.CertificateRevocationCheckMode o.CertificateRevocationCheckMode = v
EncryptionPolicyEncryptionPolicyread, writeo.EncryptionPolicy o.EncryptionPolicy = v
EnabledSslProtocolsSslProtocolsread, writeo.EnabledSslProtocols o.EnabledSslProtocols = v
CipherSuitesPolicyCipherSuitesPolicyread, writeo.CipherSuitesPolicy o.CipherSuitesPolicy = v
CertificateChainPolicyX509ChainPolicyread, writeo.CertificateChainPolicy o.CertificateChainPolicy = v
SslClientHelloInfo struct

System.Net.Security.SslClientHelloInfo · assembly System.Net.Security

Constructors

new SslClientHelloInfo(string serverName, SslProtocols sslProtocols)

Ring: new SslClientHelloInfo(args) uses one constructor; the others are chosen by the parameter names: new SslClientHelloInfo().@New([ :param = value ]) or dnNew("SslClientHelloInfo",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ServerNamestringreado.ServerName
SslProtocolsSslProtocolsreado.SslProtocols
SslServerAuthenticationOptions class

System.Net.Security.SslServerAuthenticationOptions · assembly System.Net.Security

Constructors

new SslServerAuthenticationOptions()

Ring: new SslServerAuthenticationOptions(args) uses one constructor; the others are chosen by the parameter names: new SslServerAuthenticationOptions().@New([ :param = value ]) or dnNew("SslServerAuthenticationOptions",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
AllowRenegotiationboolread, writeo.AllowRenegotiation o.AllowRenegotiation = v
AllowTlsResumeboolread, writeo.AllowTlsResume o.AllowTlsResume = v
ClientCertificateRequiredboolread, writeo.ClientCertificateRequired o.ClientCertificateRequired = v
ApplicationProtocolsList<SslApplicationProtocol>read, writeo.ApplicationProtocols o.ApplicationProtocols = v
RemoteCertificateValidationCallbackRemoteCertificateValidationCallbackread, writeo.RemoteCertificateValidationCallback o.RemoteCertificateValidationCallback = v
ServerCertificateSelectionCallbackServerCertificateSelectionCallbackread, writeo.ServerCertificateSelectionCallback o.ServerCertificateSelectionCallback = v
ServerCertificateX509Certificateread, writeo.ServerCertificate o.ServerCertificate = v
ServerCertificateContextSslStreamCertificateContextread, writeo.ServerCertificateContext o.ServerCertificateContext = v
EnabledSslProtocolsSslProtocolsread, writeo.EnabledSslProtocols o.EnabledSslProtocols = v
CertificateRevocationCheckModeX509RevocationModeread, writeo.CertificateRevocationCheckMode o.CertificateRevocationCheckMode = v
EncryptionPolicyEncryptionPolicyread, writeo.EncryptionPolicy o.EncryptionPolicy = v
CipherSuitesPolicyCipherSuitesPolicyread, writeo.CipherSuitesPolicy o.CipherSuitesPolicy = v
CertificateChainPolicyX509ChainPolicyread, writeo.CertificateChainPolicy o.CertificateChainPolicy = v
SslStream class · extends AuthenticatedStream

System.Net.Security.SslStream · assembly System.Net.Security

Implements: IDisposable, IAsyncDisposable

Constructors

new SslStream(Stream innerStream)
new SslStream(Stream innerStream, bool leaveInnerStreamOpen)
new SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback)
new SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)
new SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback, EncryptionPolicy encryptionPolicy)

Ring: new SslStream(args) uses one constructor; the others are chosen by the parameter names: new SslStream().@New([ :param = value ]) or dnNew("SslStream",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
TransportContextTransportContextreado.TransportContext
IsAuthenticatedboolreado.getIsAuthenticated()
IsMutuallyAuthenticatedboolreado.getIsMutuallyAuthenticated()
IsEncryptedboolreado.getIsEncrypted()
IsSignedboolreado.getIsSigned()
IsServerboolreado.getIsServer()
SslProtocolSslProtocolsreado.SslProtocol
CheckCertRevocationStatusboolreado.CheckCertRevocationStatus
LocalCertificateX509Certificatereado.LocalCertificate
RemoteCertificateX509Certificatereado.RemoteCertificate
NegotiatedApplicationProtocolSslApplicationProtocolreado.NegotiatedApplicationProtocol
NegotiatedCipherSuiteTlsCipherSuitereado.NegotiatedCipherSuite
CipherAlgorithmCipherAlgorithmTypereado.CipherAlgorithm
CipherStrengthintreado.CipherStrength
HashAlgorithmHashAlgorithmTypereado.HashAlgorithm
HashStrengthintreado.HashStrength
KeyExchangeAlgorithmExchangeAlgorithmTypereado.KeyExchangeAlgorithm
KeyExchangeStrengthintreado.KeyExchangeStrength
TargetHostNamestringreado.TargetHostName
CanSeekboolreado.getCanSeek()
CanReadboolreado.getCanRead()
CanTimeoutboolreado.getCanTimeout()
CanWriteboolreado.getCanWrite()
ReadTimeoutintread, writeo.getReadTimeout() o.setReadTimeout(v)
WriteTimeoutintread, writeo.getWriteTimeout() o.setWriteTimeout(v)
Lengthlongreado.getLength()
Positionlongread, writeo.getPosition() o.setPosition(v)

Methods

MethodRing call.NET overloads
AuthenticateAsClientcallMethod("AuthenticateAsClient",[p1])
callMethod("AuthenticateAsClient",[p1,p2,p3])
callMethod("AuthenticateAsClient",[p1,p2,p3,p4])
void AuthenticateAsClient(string targetHost)
void AuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, bool checkCertificateRevocation)
void AuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
void AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
AuthenticateAsClientAsyncAuthenticateAsClientAsync(value)
AuthenticateAsClientAsync([ :targetHost = … ])
AuthenticateAsClientAsync([ :sslClientAuthenticationOptions = …, :cancellationToken = … ])
AuthenticateAsClientAsync([ :targetHost = …, :clientCertificates = …, :checkCertificateRevocation = … ])
AuthenticateAsClientAsync([ :targetHost = …, :clientCertificates = …, :enabledSslProtocols = …, :checkCertificateRevocation = … ])
Task AuthenticateAsClientAsync(string targetHost)
Task AuthenticateAsClientAsync(string targetHost, X509CertificateCollection clientCertificates, bool checkCertificateRevocation)
Task AuthenticateAsClientAsync(string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
Task AuthenticateAsClientAsync(SslClientAuthenticationOptions sslClientAuthenticationOptions, CancellationToken cancellationToken = …)
AuthenticateAsServercallMethod("AuthenticateAsServer",[p1])
callMethod("AuthenticateAsServer",[p1,p2,p3])
callMethod("AuthenticateAsServer",[p1,p2,p3,p4])
void AuthenticateAsServer(X509Certificate serverCertificate)
void AuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired, bool checkCertificateRevocation)
void AuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired, SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
void AuthenticateAsServer(SslServerAuthenticationOptions sslServerAuthenticationOptions)
AuthenticateAsServerAsyncAuthenticateAsServerAsync(value)
AuthenticateAsServerAsync([ :serverCertificate = … ])
AuthenticateAsServerAsync([ :sslServerAuthenticationOptions = …, :cancellationToken = … ])
AuthenticateAsServerAsync([ :serverCertificate = …, :clientCertificateRequired = …, :checkCertificateRevocation = … ])
AuthenticateAsServerAsync([ :optionsCallback = …, :state = …, :cancellationToken = … ])
Task AuthenticateAsServerAsync(X509Certificate serverCertificate)
Task AuthenticateAsServerAsync(X509Certificate serverCertificate, bool clientCertificateRequired, bool checkCertificateRevocation)
Task AuthenticateAsServerAsync(X509Certificate serverCertificate, bool clientCertificateRequired, SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
Task AuthenticateAsServerAsync(SslServerAuthenticationOptions sslServerAuthenticationOptions, CancellationToken cancellationToken = …)
Task AuthenticateAsServerAsync(ServerOptionsSelectionCallback optionsCallback, object state, CancellationToken cancellationToken = …)
BeginAuthenticateAsClientBeginAuthenticateAsClient([ :targetHost = …, :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsClient([ :targetHost = …, :clientCertificates = …, :checkCertificateRevocation = …, :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsClient([ :targetHost = …, :clientCertificates = …, :enabledSslProtocols = …, :checkCertificateRevocation = …, :asyncCallback = …, :asyncState = … ])
IAsyncResult BeginAuthenticateAsClient(string targetHost, AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, bool checkCertificateRevocation, AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, bool checkCertificateRevocation, AsyncCallback asyncCallback, object asyncState)
BeginAuthenticateAsServerBeginAuthenticateAsServer([ :serverCertificate = …, :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsServer([ :serverCertificate = …, :clientCertificateRequired = …, :checkCertificateRevocation = …, :asyncCallback = …, :asyncState = … ])
BeginAuthenticateAsServer([ :serverCertificate = …, :clientCertificateRequired = …, :enabledSslProtocols = …, :checkCertificateRevocation = …, :asyncCallback = …, :asyncState = … ])
IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired, bool checkCertificateRevocation, AsyncCallback asyncCallback, object asyncState)
IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired, SslProtocols enabledSslProtocols, bool checkCertificateRevocation, AsyncCallback asyncCallback, object asyncState)
BeginReadcallMethod("BeginRead",[p1,p2,p3,p4,p5])IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState)
BeginWritecallMethod("BeginWrite",[p1,p2,p3,p4,p5])IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState)
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
EndAuthenticateAsClientEndAuthenticateAsClient(p1)void EndAuthenticateAsClient(IAsyncResult asyncResult)
EndAuthenticateAsServerEndAuthenticateAsServer(p1)void EndAuthenticateAsServer(IAsyncResult asyncResult)
EndReadEndRead(p1)int EndRead(IAsyncResult asyncResult)
EndWriteEndWrite(p1)void EndWrite(IAsyncResult asyncResult)
FlushcallMethod("Flush",[])void Flush()
FlushAsyncFlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync(CancellationToken cancellationToken)
NegotiateClientCertificateAsyncNegotiateClientCertificateAsync(value)
NegotiateClientCertificateAsync([ :cancellationToken = … ])
Task NegotiateClientCertificateAsync(CancellationToken cancellationToken = …)
ReadRead(p1,p2,p3)int Read(Span<byte> buffer)
int Read(byte[] buffer, int offset, int count)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = …)
ReadBytecallMethod("ReadByte",[])int ReadByte()
SeekSeek(p1,p2)long Seek(long offset, SeekOrigin origin)
SetLengthcallMethod("SetLength",[p1])void SetLength(long value)
ShutdownAsynccallMethod("ShutdownAsync",[])Task ShutdownAsync()
WriteWrite(p1,p2,p3)void Write(ReadOnlySpan<byte> buffer)
void Write(byte[] buffer)
void Write(byte[] buffer, int offset, int count)
WriteAsyncWriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …)
WriteBytecallMethod("WriteByte",[p1])void WriteByte(byte value)

Members of the base class are inherited.

SslStreamCertificateContext class

System.Net.Security.SslStreamCertificateContext · assembly System.Net.Security

Properties and fields

NameTypeAccessIn Ring
TargetCertificateX509Certificate2reado.TargetCertificate
IntermediateCertificatesReadOnlyCollection<X509Certificate2>reado.IntermediateCertificates

Methods

MethodRing call.NET overloads
CreateCreate([ :target = …, :additionalCertificates = …, :offline = … ])
Create([ :target = …, :additionalCertificates = …, :offline = …, :trust = … ])
static SslStreamCertificateContext Create(X509Certificate2 target, X509Certificate2Collection additionalCertificates, bool offline)
static SslStreamCertificateContext Create(X509Certificate2 target, X509Certificate2Collection additionalCertificates, bool offline = …, SslCertificateTrust trust = …)