terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Public Member Functions | |
unsafe | UnityTlsContext (MobileAuthenticatedStream parent, MonoSslAuthenticationOptions options) |
override ValueTuple< int, bool > | Read (byte[] buffer, int offset, int count) |
override ValueTuple< int, bool > | Write (byte[] buffer, int offset, int count) |
override void | Renegotiate () |
override bool | PendingRenegotiation () |
override void | Shutdown () |
override void | StartHandshake () |
override bool | ProcessHandshake () |
override void | FinishHandshake () |
void | Dispose () |
Protected Member Functions | |
override void | Dispose (bool disposing) |
unsafe bool | ValidateCertificate (X509Certificate2 leaf, X509Chain chain) |
unsafe X509Certificate | SelectClientCertificate (string[] acceptableIssuers) |
override void | Finalize () |
Properties | |
override bool | IsAuthenticated [get, set] |
override X509Certificate | LocalClientCertificate [get, set] |
override X509Certificate2 | RemoteCertificate [get, set] |
MobileAuthenticatedStream | Parent [get, set] |
MonoTlsSettings | Settings [get, set] |
bool | IsServer [get, set] |
string | TargetHost [get, set] |
string | ServerName [get, set] |
bool | AskForClientCertificate [get, set] |
X509CertificateCollection | ClientCertificates [get, set] |
X509Certificate | LocalServerCertificate [get, set, private set] |
Private Member Functions | |
unsafe IntPtr | WriteCallback (byte *data, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState) |
unsafe IntPtr | ReadCallback (byte *buffer, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState) |
unsafe UnityTls.unitytls_x509verify_result | VerifyCallback (UnityTls.unitytls_x509list_ref chain, UnityTls.unitytls_errorstate *errorState) |
unsafe void | CertificateCallback (UnityTls.unitytls_tlsctx *ctx, byte *cn, IntPtr cnLen, UnityTls.unitytls_x509name *caList, IntPtr caListLen, UnityTls.unitytls_x509list_ref *chain, UnityTls.unitytls_key_ref *key, UnityTls.unitytls_errorstate *errorState) |
Static Private Member Functions | |
static unsafe void | ExtractNativeKeyAndChainFromManagedCertificate (X509Certificate cert, UnityTls.unitytls_errorstate *errorState, out UnityTls.unitytls_x509list *nativeCertChain, out UnityTls.unitytls_key *nativeKey) |
static unsafe IntPtr | WriteCallback (void *userData, byte *data, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState) |
static unsafe IntPtr | ReadCallback (void *userData, byte *buffer, IntPtr bufferLen, UnityTls.unitytls_errorstate *errorState) |
static unsafe UnityTls.unitytls_x509verify_result | VerifyCallback (void *userData, UnityTls.unitytls_x509list_ref chain, UnityTls.unitytls_errorstate *errorState) |
static unsafe void | CertificateCallback (void *userData, UnityTls.unitytls_tlsctx *ctx, byte *cn, IntPtr cnLen, UnityTls.unitytls_x509name *caList, IntPtr caListLen, UnityTls.unitytls_x509list_ref *chain, UnityTls.unitytls_key_ref *key, UnityTls.unitytls_errorstate *errorState) |
Definition at line 16 of file UnityTlsContext.cs.