This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,74 @@
using System;
using System.IO;
using Cpp2IlInjected;
namespace System.Net.Security
{
/// <summary>Provides methods for passing credentials across a stream and requesting or performing authentication for client-server applications.</summary>
// Token: 0x020002F3 RID: 755
[Token(Token = "0x20002F3")]
public abstract class AuthenticatedStream : Stream
{
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Security.AuthenticatedStream" /> class.</summary>
/// <param name="innerStream">A <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.AuthenticatedStream" /> for sending and receiving data.</param>
/// <param name="leaveInnerStreamOpen">A <see cref="T:System.Boolean" /> that indicates whether closing this <see cref="T:System.Net.Security.AuthenticatedStream" /> object also closes <paramref name="innerStream" />.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="innerStream" /> is <see langword="null" />.
/// -or-
/// <paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
// Token: 0x06001431 RID: 5169 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001431")]
[Address(RVA = "0x2226980", Offset = "0x2225780", VA = "0x182226980")]
protected AuthenticatedStream(Stream innerStream, bool leaveInnerStreamOpen)
{
}
/// <summary>Gets the stream used by this <see cref="T:System.Net.Security.AuthenticatedStream" /> for sending and receiving data.</summary>
/// <returns>A <see cref="T:System.IO.Stream" /> object.</returns>
// Token: 0x17000415 RID: 1045
// (get) Token: 0x06001432 RID: 5170 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000415")]
protected Stream InnerStream
{
[Token(Token = "0x6001432")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
get
{
return null;
}
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Security.AuthenticatedStream" /> and optionally releases the managed resources.</summary>
/// <param name="disposing">
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
// Token: 0x06001433 RID: 5171 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001433")]
[Address(RVA = "0x22268B0", Offset = "0x22256B0", VA = "0x1822268B0", Slot = "16")]
protected override void Dispose(bool disposing)
{
}
/// <summary>Gets a <see cref="T:System.Boolean" /> value that indicates whether authentication was successful.</summary>
/// <returns>
/// <see langword="true" /> if successful authentication occurred; otherwise, <see langword="false" />.</returns>
// Token: 0x17000416 RID: 1046
// (get) Token: 0x06001434 RID: 5172
[Token(Token = "0x17000416")]
public abstract bool IsAuthenticated
{
[Token(Token = "0x6001434")]
[Address(Slot = "31")]
get;
}
// Token: 0x04000CCE RID: 3278
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000CCE")]
private Stream _InnerStream;
// Token: 0x04000CCF RID: 3279
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000CCF")]
private bool _LeaveStreamOpen;
}
}
@@ -0,0 +1,24 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Security
{
/// <summary>Specifies client requirements for authentication and impersonation when using the <see cref="T:System.Net.WebRequest" /> class and derived classes to request a resource.</summary>
// Token: 0x020002F4 RID: 756
[Token(Token = "0x20002F4")]
public enum AuthenticationLevel
{
/// <summary>No authentication is required for the client and server.</summary>
// Token: 0x04000CD1 RID: 3281
[Token(Token = "0x4000CD1")]
None,
/// <summary>The client and server should be authenticated. The request does not fail if the server is not authenticated. To determine whether mutual authentication occurred, check the value of the <see cref="P:System.Net.WebResponse.IsMutuallyAuthenticated" /> property.</summary>
// Token: 0x04000CD2 RID: 3282
[Token(Token = "0x4000CD2")]
MutualAuthRequested,
/// <summary>The client and server should be authenticated. If the server is not authenticated, your application will receive an <see cref="T:System.IO.IOException" /> with a <see cref="T:System.Net.ProtocolViolationException" /> inner exception that indicates that mutual authentication failed</summary>
// Token: 0x04000CD3 RID: 3283
[Token(Token = "0x4000CD3")]
MutualAuthRequired
}
}
+24
View File
@@ -0,0 +1,24 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Security
{
/// <summary>The EncryptionPolicy to use.</summary>
// Token: 0x020002F5 RID: 757
[Token(Token = "0x20002F5")]
public enum EncryptionPolicy
{
/// <summary>Require encryption and never allow a NULL cipher.</summary>
// Token: 0x04000CD5 RID: 3285
[Token(Token = "0x4000CD5")]
RequireEncryption,
/// <summary>Prefer that full encryption be used, but allow a NULL cipher (no encryption) if the server agrees.</summary>
// Token: 0x04000CD6 RID: 3286
[Token(Token = "0x4000CD6")]
AllowNoEncryption,
/// <summary>Allow no encryption and request that a NULL cipher be used if the other endpoint can handle a NULL cipher.</summary>
// Token: 0x04000CD7 RID: 3287
[Token(Token = "0x4000CD7")]
NoEncryption
}
}
@@ -0,0 +1,11 @@
using System;
using System.Security.Cryptography.X509Certificates;
using Cpp2IlInjected;
namespace System.Net.Security
{
// Token: 0x020002F9 RID: 761
// (Invoke) Token: 0x0600143E RID: 5182
[Token(Token = "0x20002F9")]
internal delegate X509Certificate LocalCertSelectionCallback(string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers);
}
@@ -0,0 +1,18 @@
using System;
using System.Security.Cryptography.X509Certificates;
using Cpp2IlInjected;
namespace System.Net.Security
{
/// <summary>Selects the local Secure Sockets Layer (SSL) certificate used for authentication.</summary>
/// <param name="sender">An object that contains state information for this validation.</param>
/// <param name="targetHost">The host server specified by the client.</param>
/// <param name="localCertificates">An <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> containing local certificates.</param>
/// <param name="remoteCertificate">The certificate used to authenticate the remote party.</param>
/// <param name="acceptableIssuers">A <see cref="T:System.String" /> array of certificate issuers acceptable to the remote party.</param>
/// <returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> used for establishing an SSL connection.</returns>
// Token: 0x020002F6 RID: 758
// (Invoke) Token: 0x06001436 RID: 5174
[Token(Token = "0x20002F6")]
public delegate X509Certificate LocalCertificateSelectionCallback(object sender, string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers);
}
@@ -0,0 +1,17 @@
using System;
using System.Security.Cryptography.X509Certificates;
using Cpp2IlInjected;
namespace System.Net.Security
{
/// <summary>Verifies the remote Secure Sockets Layer (SSL) certificate used for authentication.</summary>
/// <param name="sender">An object that contains state information for this validation.</param>
/// <param name="certificate">The certificate used to authenticate the remote party.</param>
/// <param name="chain">The chain of certificate authorities associated with the remote certificate.</param>
/// <param name="sslPolicyErrors">One or more errors associated with the remote certificate.</param>
/// <returns>A <see cref="T:System.Boolean" /> value that determines whether the specified certificate is accepted for authentication.</returns>
// Token: 0x020002F7 RID: 759
// (Invoke) Token: 0x0600143A RID: 5178
[Token(Token = "0x20002F7")]
public delegate bool RemoteCertificateValidationCallback(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors);
}
+30
View File
@@ -0,0 +1,30 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Security
{
/// <summary>Enumerates Secure Socket Layer (SSL) policy errors.</summary>
// Token: 0x020002F8 RID: 760
[Token(Token = "0x20002F8")]
[Flags]
public enum SslPolicyErrors
{
/// <summary>No SSL policy errors.</summary>
// Token: 0x04000CD9 RID: 3289
[Token(Token = "0x4000CD9")]
None = 0,
/// <summary>Certificate not available.</summary>
// Token: 0x04000CDA RID: 3290
[Token(Token = "0x4000CDA")]
RemoteCertificateNotAvailable = 1,
/// <summary>Certificate name mismatch.</summary>
// Token: 0x04000CDB RID: 3291
[Token(Token = "0x4000CDB")]
RemoteCertificateNameMismatch = 2,
/// <summary>
/// <see cref="P:System.Security.Cryptography.X509Certificates.X509Chain.ChainStatus" /> has returned a non empty array.</summary>
// Token: 0x04000CDC RID: 3292
[Token(Token = "0x4000CDC")]
RemoteCertificateChainErrors = 4
}
}
+501
View File
@@ -0,0 +1,501 @@
using System;
using System.IO;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
using Cpp2IlInjected;
using Mono.Security.Interface;
namespace System.Net.Security
{
/// <summary>Provides a stream used for client-server communication that uses the Secure Socket Layer (SSL) security protocol to authenticate the server and optionally the client.</summary>
// Token: 0x020002FA RID: 762
[Token(Token = "0x20002FA")]
public class SslStream : AuthenticatedStream
{
// Token: 0x17000417 RID: 1047
// (get) Token: 0x06001441 RID: 5185 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000417")]
internal IMonoSslStream Impl
{
[Token(Token = "0x6001441")]
[Address(RVA = "0x223EE20", Offset = "0x223DC20", VA = "0x18223EE20")]
get
{
return null;
}
}
// Token: 0x06001442 RID: 5186 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001442")]
[Address(RVA = "0x223E710", Offset = "0x223D510", VA = "0x18223E710")]
private static MonoTlsProvider GetProvider()
{
return null;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Security.SslStream" /> class using the specified <see cref="T:System.IO.Stream" />.</summary>
/// <param name="innerStream">A <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="innerStream" /> is not readable.
/// -or-
/// <paramref name="innerStream" /> is not writable.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="innerStream" /> is <see langword="null" />.
/// -or-
/// <paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
// Token: 0x06001443 RID: 5187 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001443")]
[Address(RVA = "0x223EA90", Offset = "0x223D890", VA = "0x18223EA90")]
public SslStream(Stream innerStream)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Security.SslStream" /> class using the specified <see cref="T:System.IO.Stream" /> and stream closure behavior.</summary>
/// <param name="innerStream">A <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data.</param>
/// <param name="leaveInnerStreamOpen">A Boolean value that indicates the closure behavior of the <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data. This parameter indicates if the inner stream is left open.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="innerStream" /> is not readable.
/// -or-
/// <paramref name="innerStream" /> is not writable.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="innerStream" /> is <see langword="null" />.
/// -or-
/// <paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
// Token: 0x06001444 RID: 5188 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001444")]
[Address(RVA = "0x223EC80", Offset = "0x223DA80", VA = "0x18223EC80")]
public SslStream(Stream innerStream, bool leaveInnerStreamOpen)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Security.SslStream" /> class using the specified <see cref="T:System.IO.Stream" />, stream closure behavior and certificate validation delegate.</summary>
/// <param name="innerStream">A <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data.</param>
/// <param name="leaveInnerStreamOpen">A Boolean value that indicates the closure behavior of the <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data. This parameter indicates if the inner stream is left open.</param>
/// <param name="userCertificateValidationCallback">A <see cref="T:System.Net.Security.RemoteCertificateValidationCallback" /> delegate responsible for validating the certificate supplied by the remote party.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="innerStream" /> is not readable.
/// -or-
/// <paramref name="innerStream" /> is not writable.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="innerStream" /> is <see langword="null" />.
/// -or-
/// <paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
// Token: 0x06001445 RID: 5189 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001445")]
[Address(RVA = "0x223EB00", Offset = "0x223D900", VA = "0x18223EB00")]
public SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Security.SslStream" /> class using the specified <see cref="T:System.IO.Stream" />, stream closure behavior, certificate validation delegate and certificate selection delegate.</summary>
/// <param name="innerStream">A <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data.</param>
/// <param name="leaveInnerStreamOpen">A Boolean value that indicates the closure behavior of the <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data. This parameter indicates if the inner stream is left open.</param>
/// <param name="userCertificateValidationCallback">A <see cref="T:System.Net.Security.RemoteCertificateValidationCallback" /> delegate responsible for validating the certificate supplied by the remote party.</param>
/// <param name="userCertificateSelectionCallback">A <see cref="T:System.Net.Security.LocalCertificateSelectionCallback" /> delegate responsible for selecting the certificate used for authentication.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="innerStream" /> is not readable.
/// -or-
/// <paramref name="innerStream" /> is not writable.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="innerStream" /> is <see langword="null" />.
/// -or-
/// <paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
// Token: 0x06001446 RID: 5190 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001446")]
[Address(RVA = "0x223EBC0", Offset = "0x223D9C0", VA = "0x18223EBC0")]
public SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)
{
}
// Token: 0x06001447 RID: 5191 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001447")]
[Address(RVA = "0x223ED00", Offset = "0x223DB00", VA = "0x18223ED00")]
internal SslStream(Stream innerStream, bool leaveInnerStreamOpen, MonoTlsProvider provider, MonoTlsSettings settings)
{
}
// Token: 0x06001448 RID: 5192 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001448")]
[Address(RVA = "0x223E2F0", Offset = "0x223D0F0", VA = "0x18223E2F0")]
internal static IMonoSslStream CreateMonoSslStream(Stream innerStream, bool leaveInnerStreamOpen, MonoTlsProvider provider, MonoTlsSettings settings)
{
return null;
}
/// <summary>Called by clients to authenticate the server and optionally the client in a client-server connection.</summary>
/// <param name="targetHost">The name of the server that shares this <see cref="T:System.Net.Security.SslStream" />.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="targetHost" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
/// <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
/// -or-
/// Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
/// -or-
/// Authentication is already in progress.</exception>
/// <exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
// Token: 0x06001449 RID: 5193 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001449")]
[Address(RVA = "0x223DFC0", Offset = "0x223CDC0", VA = "0x18223DFC0", Slot = "32")]
public virtual void AuthenticateAsClient(string targetHost)
{
}
/// <summary>Called by clients to authenticate the server and optionally the client in a client-server connection as an asynchronous operation. The authentication process uses the specified certificate collection and SSL protocol.</summary>
/// <param name="targetHost">The name of the server that will share this <see cref="T:System.Net.Security.SslStream" />.</param>
/// <param name="clientCertificates">The <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> that contains client certificates.</param>
/// <param name="enabledSslProtocols">The <see cref="T:System.Security.Authentication.SslProtocols" /> value that represents the protocol used for authentication.</param>
/// <param name="checkCertificateRevocation">A <see cref="T:System.Boolean" /> value that specifies whether the certificate revocation list is checked during authentication.</param>
/// <returns>The task object representing the asynchronous operation.</returns>
// Token: 0x0600144A RID: 5194 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600144A")]
[Address(RVA = "0x223DE80", Offset = "0x223CC80", VA = "0x18223DE80", Slot = "33")]
public virtual Task AuthenticateAsClientAsync(string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
{
return null;
}
/// <summary>Gets a <see cref="T:System.Boolean" /> value that indicates whether authentication was successful.</summary>
/// <returns>
/// <see langword="true" /> if successful authentication occurred; otherwise, <see langword="false" />.</returns>
// Token: 0x17000418 RID: 1048
// (get) Token: 0x0600144B RID: 5195 RVA: 0x00009240 File Offset: 0x00007440
[Token(Token = "0x17000418")]
public override bool IsAuthenticated
{
[Token(Token = "0x600144B")]
[Address(RVA = "0x223EE90", Offset = "0x223DC90", VA = "0x18223EE90", Slot = "31")]
get
{
return default(bool);
}
}
/// <summary>Gets a <see cref="T:System.Boolean" /> value that indicates whether the underlying stream is seekable.</summary>
/// <returns>This property always returns <see langword="false" />.</returns>
// Token: 0x17000419 RID: 1049
// (get) Token: 0x0600144C RID: 5196 RVA: 0x00009258 File Offset: 0x00007458
[Token(Token = "0x17000419")]
public override bool CanSeek
{
[Token(Token = "0x600144C")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
get
{
return default(bool);
}
}
/// <summary>Gets a <see cref="T:System.Boolean" /> value that indicates whether the underlying stream is readable.</summary>
/// <returns>
/// <see langword="true" /> if authentication has occurred and the underlying stream is readable; otherwise <see langword="false" />.</returns>
// Token: 0x1700041A RID: 1050
// (get) Token: 0x0600144D RID: 5197 RVA: 0x00009270 File Offset: 0x00007470
[Token(Token = "0x1700041A")]
public override bool CanRead
{
[Token(Token = "0x600144D")]
[Address(RVA = "0x223ED80", Offset = "0x223DB80", VA = "0x18223ED80", Slot = "7")]
get
{
return default(bool);
}
}
/// <summary>Gets a <see cref="T:System.Boolean" /> value that indicates whether the underlying stream is writable.</summary>
/// <returns>
/// <see langword="true" /> if authentication has occurred and the underlying stream is writable; otherwise <see langword="false" />.</returns>
// Token: 0x1700041B RID: 1051
// (get) Token: 0x0600144E RID: 5198 RVA: 0x00009288 File Offset: 0x00007488
[Token(Token = "0x1700041B")]
public override bool CanWrite
{
[Token(Token = "0x600144E")]
[Address(RVA = "0x223EDD0", Offset = "0x223DBD0", VA = "0x18223EDD0", Slot = "9")]
get
{
return default(bool);
}
}
/// <summary>Gets or sets the amount of time a read operation blocks waiting for data.</summary>
/// <returns>The amount of time that elapses before a synchronous read operation fails.</returns>
// Token: 0x1700041C RID: 1052
// (get) Token: 0x0600144F RID: 5199 RVA: 0x000092A0 File Offset: 0x000074A0
[Token(Token = "0x1700041C")]
public override int ReadTimeout
{
[Token(Token = "0x600144F")]
[Address(RVA = "0x223F040", Offset = "0x223DE40", VA = "0x18223F040", Slot = "13")]
get
{
return 0;
}
}
/// <summary>Gets or sets the amount of time a write operation blocks waiting for data.</summary>
/// <returns>The amount of time that elapses before a synchronous write operation fails.</returns>
// Token: 0x1700041D RID: 1053
// (get) Token: 0x06001450 RID: 5200 RVA: 0x000092B8 File Offset: 0x000074B8
[Token(Token = "0x1700041D")]
public override int WriteTimeout
{
[Token(Token = "0x6001450")]
[Address(RVA = "0x223F0D0", Offset = "0x223DED0", VA = "0x18223F0D0", Slot = "14")]
get
{
return 0;
}
}
/// <summary>Gets the length of the underlying stream.</summary>
/// <returns>The length of the underlying stream.</returns>
/// <exception cref="T:System.NotSupportedException">Getting the value of this property is not supported when the underlying stream is a <see cref="T:System.Net.Sockets.NetworkStream" />.</exception>
// Token: 0x1700041E RID: 1054
// (get) Token: 0x06001451 RID: 5201 RVA: 0x000092D0 File Offset: 0x000074D0
[Token(Token = "0x1700041E")]
public override long Length
{
[Token(Token = "0x6001451")]
[Address(RVA = "0x223EF20", Offset = "0x223DD20", VA = "0x18223EF20", Slot = "10")]
get
{
return 0L;
}
}
/// <summary>Gets or sets the current position in the underlying stream.</summary>
/// <returns>The current position in the underlying stream.</returns>
/// <exception cref="T:System.NotSupportedException">Setting this property is not supported.
/// -or-
/// Getting the value of this property is not supported when the underlying stream is a <see cref="T:System.Net.Sockets.NetworkStream" />.</exception>
// Token: 0x1700041F RID: 1055
// (get) Token: 0x06001452 RID: 5202 RVA: 0x000092E8 File Offset: 0x000074E8
// (set) Token: 0x06001453 RID: 5203 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700041F")]
public override long Position
{
[Token(Token = "0x6001452")]
[Address(RVA = "0x223EFB0", Offset = "0x223DDB0", VA = "0x18223EFB0", Slot = "11")]
get
{
return 0L;
}
[Token(Token = "0x6001453")]
[Address(RVA = "0x223F160", Offset = "0x223DF60", VA = "0x18223F160", Slot = "12")]
set
{
}
}
/// <summary>Sets the length of the underlying stream.</summary>
/// <param name="value">An <see cref="T:System.Int64" /> value that specifies the length of the stream.</param>
// Token: 0x06001454 RID: 5204 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001454")]
[Address(RVA = "0x223E860", Offset = "0x223D660", VA = "0x18223E860", Slot = "26")]
public override void SetLength(long value)
{
}
/// <summary>Throws a <see cref="T:System.NotSupportedException" />.</summary>
/// <param name="offset">This value is ignored.</param>
/// <param name="origin">This value is ignored.</param>
/// <returns>Always throws a <see cref="T:System.NotSupportedException" />.</returns>
/// <exception cref="T:System.NotSupportedException">Seeking is not supported by <see cref="T:System.Net.Security.SslStream" /> objects.</exception>
// Token: 0x06001455 RID: 5205 RVA: 0x00009300 File Offset: 0x00007500
[Token(Token = "0x6001455")]
[Address(RVA = "0x223E7F0", Offset = "0x223D5F0", VA = "0x18223E7F0", Slot = "25")]
public override long Seek(long offset, SeekOrigin origin)
{
return 0L;
}
// Token: 0x06001456 RID: 5206 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001456")]
[Address(RVA = "0x223E6E0", Offset = "0x223D4E0", VA = "0x18223E6E0", Slot = "18")]
public override Task FlushAsync(CancellationToken cancellationToken)
{
return null;
}
/// <summary>Causes any buffered data to be written to the underlying device.</summary>
// Token: 0x06001457 RID: 5207 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001457")]
[Address(RVA = "0x44D240", Offset = "0x44C040", VA = "0x18044D240", Slot = "17")]
public override void Flush()
{
}
// Token: 0x06001458 RID: 5208 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001458")]
[Address(RVA = "0x223E280", Offset = "0x223D080", VA = "0x18223E280")]
private void CheckDisposed()
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Security.SslStream" /> and optionally releases the managed resources.</summary>
/// <param name="disposing">
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
// Token: 0x06001459 RID: 5209 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001459")]
[Address(RVA = "0x223E410", Offset = "0x223D210", VA = "0x18223E410", Slot = "16")]
protected override void Dispose(bool disposing)
{
}
/// <summary>Reads data from this stream and stores it in the specified array.</summary>
/// <param name="buffer">A <see cref="T:System.Byte" /> array that receives the bytes read from this stream.</param>
/// <param name="offset">A <see cref="T:System.Int32" /> that contains the zero-based location in <paramref name="buffer" /> at which to begin storing the data read from this stream.</param>
/// <param name="count">A <see cref="T:System.Int32" /> that contains the maximum number of bytes to read from this stream.</param>
/// <returns>A <see cref="T:System.Int32" /> value that specifies the number of bytes read. When there is no more data to be read, returns 0.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" />
/// <paramref name="&lt;" />
/// <paramref name="0" />.
/// <paramref name="-or-" /><paramref name="offset" /> &gt; the length of <paramref name="buffer" />.
/// -or-
/// <paramref name="offset" /> + count &gt; the length of <paramref name="buffer" />.</exception>
/// <exception cref="T:System.IO.IOException">The read operation failed. Check the inner exception, if present to determine the cause of the failure.</exception>
/// <exception cref="T:System.NotSupportedException">There is already a read operation in progress.</exception>
/// <exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
/// <exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
// Token: 0x0600145A RID: 5210 RVA: 0x00009318 File Offset: 0x00007518
[Token(Token = "0x600145A")]
[Address(RVA = "0x223E720", Offset = "0x223D520", VA = "0x18223E720", Slot = "27")]
public override int Read(byte[] buffer, int offset, int count)
{
return 0;
}
/// <summary>Write the specified number of <see cref="T:System.Byte" />s to the underlying stream using the specified buffer and offset.</summary>
/// <param name="buffer">A <see cref="T:System.Byte" /> array that supplies the bytes written to the stream.</param>
/// <param name="offset">A <see cref="T:System.Int32" /> that contains the zero-based location in <paramref name="buffer" /> at which to begin reading bytes to be written to the stream.</param>
/// <param name="count">A <see cref="T:System.Int32" /> that contains the number of bytes to read from <paramref name="buffer" />.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" />
/// <paramref name="&lt;" />
/// <paramref name="0" />.
/// <paramref name="-or-" /><paramref name="offset" /> &gt; the length of <paramref name="buffer" />.
/// -or-
/// <paramref name="offset" /> + count &gt; the length of <paramref name="buffer" />.</exception>
/// <exception cref="T:System.IO.IOException">The write operation failed.</exception>
/// <exception cref="T:System.NotSupportedException">There is already a write operation in progress.</exception>
/// <exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
/// <exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
// Token: 0x0600145B RID: 5211 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600145B")]
[Address(RVA = "0x223E960", Offset = "0x223D760", VA = "0x18223E960", Slot = "29")]
public override void Write(byte[] buffer, int offset, int count)
{
}
/// <summary>Begins an asynchronous read operation that reads data from the stream and stores it in the specified array.</summary>
/// <param name="buffer">A <see cref="T:System.Byte" /> array that receives the bytes read from the stream.</param>
/// <param name="offset">The zero-based location in <paramref name="buffer" /> at which to begin storing the data read from this stream.</param>
/// <param name="count">The maximum number of bytes to read from the stream.</param>
/// <param name="asyncCallback">An <see cref="T:System.AsyncCallback" /> delegate that references the method to invoke when the read operation is complete.</param>
/// <param name="asyncState">A user-defined object that contains information about the read operation. This object is passed to the <paramref name="asyncCallback" /> delegate when the operation completes.</param>
/// <returns>An <see cref="T:System.IAsyncResult" /> object that indicates the status of the asynchronous operation.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" />
/// <paramref name="&lt;" />
/// <paramref name="0" />.
/// <paramref name="-or-" /><paramref name="offset" /> &gt; the length of <paramref name="buffer" />.
/// -or-
/// <paramref name="offset" /> + count &gt; the length of <paramref name="buffer" />.</exception>
/// <exception cref="T:System.IO.IOException">The read operation failed.
/// -or-
/// Encryption is in use, but the data could not be decrypted.</exception>
/// <exception cref="T:System.NotSupportedException">There is already a read operation in progress.</exception>
/// <exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
/// <exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
// Token: 0x0600145C RID: 5212 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600145C")]
[Address(RVA = "0x223E0C0", Offset = "0x223CEC0", VA = "0x18223E0C0", Slot = "19")]
public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState)
{
return null;
}
/// <summary>Ends an asynchronous read operation started with a previous call to <see cref="M:System.Net.Security.SslStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" />.</summary>
/// <param name="asyncResult">An <see cref="T:System.IAsyncResult" /> instance returned by a call to <see cref="M:System.Net.Security.SslStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /></param>
/// <returns>A <see cref="T:System.Int32" /> value that specifies the number of bytes read from the underlying stream.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="asyncResult" /> was not created by a call to <see cref="M:System.Net.Security.SslStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" />.</exception>
/// <exception cref="T:System.InvalidOperationException">There is no pending read operation to complete.
/// -or-
/// Authentication has not occurred.</exception>
/// <exception cref="T:System.IO.IOException">The read operation failed.</exception>
// Token: 0x0600145D RID: 5213 RVA: 0x00009330 File Offset: 0x00007530
[Token(Token = "0x600145D")]
[Address(RVA = "0x223E4E0", Offset = "0x223D2E0", VA = "0x18223E4E0", Slot = "20")]
public override int EndRead(IAsyncResult asyncResult)
{
return 0;
}
/// <summary>Begins an asynchronous write operation that writes <see cref="T:System.Byte" />s from the specified buffer to the stream.</summary>
/// <param name="buffer">A <see cref="T:System.Byte" /> array that supplies the bytes to be written to the stream.</param>
/// <param name="offset">The zero-based location in <paramref name="buffer" /> at which to begin reading bytes to be written to the stream.</param>
/// <param name="count">An <see cref="T:System.Int32" /> value that specifies the number of bytes to read from <paramref name="buffer" />.</param>
/// <param name="asyncCallback">An <see cref="T:System.AsyncCallback" /> delegate that references the method to invoke when the write operation is complete.</param>
/// <param name="asyncState">A user-defined object that contains information about the write operation. This object is passed to the <paramref name="asyncCallback" /> delegate when the operation completes.</param>
/// <returns>An <see cref="T:System.IAsyncResult" /> object indicating the status of the asynchronous operation.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" />
/// <paramref name="&lt;" />
/// <paramref name="0" />.
/// <paramref name="-or-" /><paramref name="offset" /> &gt; the length of <paramref name="buffer" />.
/// -or-
/// <paramref name="offset" /> + count &gt; the length of <paramref name="buffer" />.</exception>
/// <exception cref="T:System.IO.IOException">The write operation failed.</exception>
/// <exception cref="T:System.NotSupportedException">There is already a write operation in progress.</exception>
/// <exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
/// <exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
// Token: 0x0600145E RID: 5214 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600145E")]
[Address(RVA = "0x223E1A0", Offset = "0x223CFA0", VA = "0x18223E1A0", Slot = "22")]
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState)
{
return null;
}
/// <summary>Ends an asynchronous write operation started with a previous call to <see cref="M:System.Net.Security.SslStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" />.</summary>
/// <param name="asyncResult">An <see cref="T:System.IAsyncResult" /> instance returned by a call to <see cref="M:System.Net.Security.SslStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /></param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="asyncResult" /> was not created by a call to <see cref="M:System.Net.Security.SslStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" />.</exception>
/// <exception cref="T:System.InvalidOperationException">There is no pending write operation to complete.
/// -or-
/// Authentication has not occurred.</exception>
/// <exception cref="T:System.IO.IOException">The write operation failed.</exception>
// Token: 0x0600145F RID: 5215 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600145F")]
[Address(RVA = "0x223E5E0", Offset = "0x223D3E0", VA = "0x18223E5E0", Slot = "23")]
public override void EndWrite(IAsyncResult asyncResult)
{
}
// Token: 0x04000CDD RID: 3293
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000CDD")]
private MonoTlsProvider provider;
// Token: 0x04000CDE RID: 3294
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000CDE")]
private IMonoSslStream impl;
}
}