terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
|
Classes | |
struct | d__48 |
struct | d__57 |
struct | d__66 |
struct | d__67 |
Public Member Functions | |
MobileAuthenticatedStream (Stream innerStream, bool leaveInnerStreamOpen, global::System.Net.Security.SslStream owner, MonoTlsSettings settings, MobileTlsProvider provider) | |
void | AuthenticateAsClient (string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation) |
void | AuthenticateAsServer (X509Certificate serverCertificate, bool clientCertificateRequired, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation) |
Task | AuthenticateAsClientAsync (string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation) |
override int | Read (byte[] buffer, int offset, int count) |
override void | Write (byte[] buffer, int offset, int count) |
override Task< int > | ReadAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken) |
override Task | WriteAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken) |
override void | Flush () |
override long | Seek (long offset, SeekOrigin origin) |
override void | SetLength (long value) |
void | Dispose () |
Protected Member Functions | |
MobileTlsContext | CreateContext (MonoSslAuthenticationOptions options) |
override void | Dispose (bool disposing) |
Package Functions | |
void | CheckThrow (bool authSuccessCheck, bool shutdownCheck=false) |
ExceptionDispatchInfo | SetException (Exception e) |
int | InternalRead (byte[] buffer, int offset, int size, [Out] bool outWantMore) |
bool | InternalWrite (byte[] buffer, int offset, int size) |
Task< int > | InnerRead (bool sync, int requestedSize, CancellationToken cancellationToken) |
Task | InnerWrite (bool sync, CancellationToken cancellationToken) |
AsyncOperationStatus | ProcessHandshake (AsyncOperationStatus status, bool renegotiate) |
ValueTuple< int, bool > | ProcessRead (BufferOffsetSize userBuffer) |
ValueTuple< int, bool > | ProcessWrite (BufferOffsetSize userBuffer) |
Static Package Functions | |
static Exception | GetSSPIException (Exception e) |
static Exception | GetIOException (Exception e, string message) |
static Exception | GetInternalError () |
static Exception | GetInvalidNestedCallException () |
Package Attributes | |
readonly int | ID |
Properties | |
global::System.Net.Security.SslStream | SslStream [get] |
MonoTlsSettings | Settings [get] |
MobileTlsProvider | Provider [get] |
string | TargetHost [get, private set] |
override bool | IsAuthenticated [get] |
X509Certificate | LocalCertificate [get] |
X509Certificate | InternalLocalCertificate [get] |
override bool | CanRead [get] |
override bool | CanTimeout [get] |
override bool | CanWrite [get] |
override bool | CanSeek [get] |
override long | Length [get] |
override long | Position [get, set] |
override int | ReadTimeout [get, set] |
override int | WriteTimeout [get, set] |
Private Types | |
enum | Operation { None , Handshake , Authenticated , Renegotiate , Read , Write , Close } |
enum | OperationType { Read , Write , Renegotiate , Shutdown } |
Private Member Functions | |
Task | ProcessAuthentication (bool runSynchronously, MonoSslAuthenticationOptions options, CancellationToken cancellationToken) |
Task< int > | StartOperation (MobileAuthenticatedStream.OperationType type, AsyncProtocolRequest asyncRequest, CancellationToken cancellationToken) |
ValueTuple< int, bool > | InternalRead (AsyncProtocolRequest asyncRequest, BufferOffsetSize internalBuffer, byte[] buffer, int offset, int size) |
bool | InternalWrite (AsyncProtocolRequest asyncRequest, BufferOffsetSize2 internalBuffer, byte[] buffer, int offset, int size) |
void< InnerWrite > | b__67_0 () |
Static Private Member Functions | |
static | MobileAuthenticatedStream () |
Private Attributes | |
MobileTlsContext | xobileTlsContext |
ExceptionDispatchInfo | lastException |
AsyncProtocolRequest | asyncHandshakeRequest |
AsyncProtocolRequest | asyncReadRequest |
AsyncProtocolRequest | asyncWriteRequest |
BufferOffsetSize2 | readBuffer |
BufferOffsetSize2 | writeBuffer |
object | ioLock |
int | closeRequested |
bool | shutdown |
MobileAuthenticatedStream.Operation | operation |
readonly global::System.Net.Security.SslStream< SslStream > | k__BackingField |
readonly MonoTlsSettings< Settings > | k__BackingField |
readonly MobileTlsProvider< Provider > | k__BackingField |
string< TargetHost > | k__BackingField |
Static Private Attributes | |
static int | uniqueNameInteger |
static int | nextId |
Definition at line 18 of file MobileAuthenticatedStream.cs.