You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
codm/sdk/Mono_Security/Mono_Security.hpp

2747 lines
145 KiB

4 years ago
//generated with dll2sdk
#pragma once
#include "..\dll2sdk_forward.g.hpp"
#include "..\mscorlib\mscorlib.hpp"
namespace DLL2SDK::Mono_Security::Mono::Math
{
enum struct BigInteger_Sign : int32_t
{
Negative_ = static_cast<int32_t>(0xFFFFFFFF),
Zero_ = static_cast<int32_t>(0x0),
Positive_ = static_cast<int32_t>(0x1)
};
}
namespace DLL2SDK::Mono_Security::Mono::Math
{
struct BigInteger_ModulusRing : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::Mono_Security::Mono::Math::BigInteger* mod_;
DLL2SDK::Mono_Security::Mono::Math::BigInteger* constant_;
void _ctor_46(DLL2SDK::Mono_Security::Mono::Math::BigInteger* modulus_);
void BarrettReduction_47(DLL2SDK::Mono_Security::Mono::Math::BigInteger* x_);
DLL2SDK::Mono_Security::Mono::Math::BigInteger* Multiply_48(DLL2SDK::Mono_Security::Mono::Math::BigInteger* a_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* b_);
DLL2SDK::Mono_Security::Mono::Math::BigInteger* Difference_49(DLL2SDK::Mono_Security::Mono::Math::BigInteger* a_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* b_);
DLL2SDK::Mono_Security::Mono::Math::BigInteger* Pow_50(DLL2SDK::Mono_Security::Mono::Math::BigInteger* a_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* k_);
DLL2SDK::Mono_Security::Mono::Math::BigInteger* Pow_51(uint32_t b_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* exp_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Math
{
struct BigInteger_Kernel : DLL2SDK::mscorlib::System::Object
{
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* AddSameSign_52(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* Subtract_53(DLL2SDK::Mono_Security::Mono::Math::BigInteger* big_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* small_);
static void MinusEq_54(DLL2SDK::Mono_Security::Mono::Math::BigInteger* big_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* small_);
static void PlusEq_55(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger_Sign Compare_56(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static uint32_t SingleByteDivideInPlace_57(DLL2SDK::Mono_Security::Mono::Math::BigInteger* n_, uint32_t d_);
static uint32_t DwordMod_58(DLL2SDK::Mono_Security::Mono::Math::BigInteger* n_, uint32_t d_);
static DLL2SDK::Array<DLL2SDK::Mono_Security::Mono::Math::BigInteger*>* DwordDivMod_59(DLL2SDK::Mono_Security::Mono::Math::BigInteger* n_, uint32_t d_);
static DLL2SDK::Array<DLL2SDK::Mono_Security::Mono::Math::BigInteger*>* multiByteDivide_60(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* LeftShift_61(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, int32_t n_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* RightShift_62(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, int32_t n_);
static void Multiply_63(DLL2SDK::Array<uint32_t>* x_, uint32_t xOffset_, uint32_t xLen_, DLL2SDK::Array<uint32_t>* y_, uint32_t yOffset_, uint32_t yLen_, DLL2SDK::Array<uint32_t>* d_, uint32_t dOffset_);
static void MultiplyMod2p32pmod_64(DLL2SDK::Array<uint32_t>* x_, int32_t xOffset_, int32_t xLen_, DLL2SDK::Array<uint32_t>* y_, int32_t yOffest_, int32_t yLen_, DLL2SDK::Array<uint32_t>* d_, int32_t dOffset_, int32_t mod_);
static uint32_t modInverse_65(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, uint32_t modulus_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* modInverse_66(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* modulus_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security
{
struct PKCS7_ContentInfo : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* contentType_;
DLL2SDK::Mono_Security::Mono::Security::ASN1* content_;
void _ctor_106();
void _ctor_107(DLL2SDK::mscorlib::System::String* oid_);
void _ctor_108(DLL2SDK::Array<uint8_t>* data_);
void _ctor_109(DLL2SDK::Mono_Security::Mono::Security::ASN1* asn1_);
DLL2SDK::Mono_Security::Mono::Security::ASN1* get_ASN1_110();
DLL2SDK::Mono_Security::Mono::Security::ASN1* get_Content_111();
void set_Content_112(DLL2SDK::Mono_Security::Mono::Security::ASN1* value_);
DLL2SDK::mscorlib::System::String* get_ContentType_113();
void set_ContentType_114(DLL2SDK::mscorlib::System::String* value_);
DLL2SDK::Mono_Security::Mono::Security::ASN1* GetASN1_115();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security
{
struct PKCS7_EncryptedData : DLL2SDK::mscorlib::System::Object
{
uint8_t _version_;
DLL2SDK::Mono_Security::Mono::Security::PKCS7_ContentInfo* _content_;
DLL2SDK::Mono_Security::Mono::Security::PKCS7_ContentInfo* _encryptionAlgorithm_;
DLL2SDK::Array<uint8_t>* _encrypted_;
void _ctor_116();
void _ctor_117(DLL2SDK::Mono_Security::Mono::Security::ASN1* asn1_);
DLL2SDK::Mono_Security::Mono::Security::PKCS7_ContentInfo* get_EncryptionAlgorithm_118();
DLL2SDK::Array<uint8_t>* get_EncryptedContent_119();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct PKCS8_PrivateKeyInfo : DLL2SDK::mscorlib::System::Object
{
int32_t _version_;
DLL2SDK::mscorlib::System::String* _algorithm_;
DLL2SDK::Array<uint8_t>* _key_;
DLL2SDK::mscorlib::System::Collections::ArrayList* _list_;
void _ctor_192();
void _ctor_193(DLL2SDK::Array<uint8_t>* data_);
DLL2SDK::Array<uint8_t>* get_PrivateKey_194();
void Decode_195(DLL2SDK::Array<uint8_t>* data_);
static DLL2SDK::Array<uint8_t>* RemoveLeadingZero_196(DLL2SDK::Array<uint8_t>* bigInt_);
static DLL2SDK::Array<uint8_t>* Normalize_197(DLL2SDK::Array<uint8_t>* bigInt_, int32_t length_);
static DLL2SDK::mscorlib::System::Security::Cryptography::RSA* DecodeRSA_198(DLL2SDK::Array<uint8_t>* keypair_);
static DLL2SDK::mscorlib::System::Security::Cryptography::DSA* DecodeDSA_199(DLL2SDK::Array<uint8_t>* privateKey_, DLL2SDK::mscorlib::System::Security::Cryptography::DSAParameters dsaParameters_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct PKCS8_EncryptedPrivateKeyInfo : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* _algorithm_;
DLL2SDK::Array<uint8_t>* _salt_;
int32_t _iterations_;
DLL2SDK::Array<uint8_t>* _data_;
void _ctor_200();
void _ctor_201(DLL2SDK::Array<uint8_t>* data_);
DLL2SDK::mscorlib::System::String* get_Algorithm_202();
DLL2SDK::Array<uint8_t>* get_EncryptedData_203();
DLL2SDK::Array<uint8_t>* get_Salt_204();
int32_t get_IterationCount_205();
void Decode_206(DLL2SDK::Array<uint8_t>* data_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct RSAManaged_KeyGeneratedEventHandler : DLL2SDK::mscorlib::System::MulticastDelegate
{
void _ctor_226(DLL2SDK::mscorlib::System::Object* object_, intptr_t method_);
void Invoke_227(DLL2SDK::mscorlib::System::Object* sender_, DLL2SDK::mscorlib::System::EventArgs* e_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginInvoke_228(DLL2SDK::mscorlib::System::Object* sender_, DLL2SDK::mscorlib::System::EventArgs* e_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* object_);
void EndInvoke_229(DLL2SDK::mscorlib::System::IAsyncResult* result_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct PKCS12_DeriveBytes : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* _hashName_;
int32_t _iterations_;
DLL2SDK::Array<uint8_t>* _password_;
DLL2SDK::Array<uint8_t>* _salt_;
struct StaticFields
{
DLL2SDK::Array<uint8_t>* keyDiversifier_;
DLL2SDK::Array<uint8_t>* ivDiversifier_;
DLL2SDK::Array<uint8_t>* macDiversifier_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_263();
void set_HashName_265(DLL2SDK::mscorlib::System::String* value_);
void set_IterationCount_266(int32_t value_);
void set_Password_267(DLL2SDK::Array<uint8_t>* value_);
void set_Salt_268(DLL2SDK::Array<uint8_t>* value_);
void Adjust_269(DLL2SDK::Array<uint8_t>* a_, int32_t aOff_, DLL2SDK::Array<uint8_t>* b_);
DLL2SDK::Array<uint8_t>* Derive_270(DLL2SDK::Array<uint8_t>* diversifier_, int32_t n_);
DLL2SDK::Array<uint8_t>* DeriveKey_271(int32_t size_);
DLL2SDK::Array<uint8_t>* DeriveIV_272(int32_t size_);
DLL2SDK::Array<uint8_t>* DeriveMAC_273(int32_t size_);
static void _cctor_264();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509CertificateCollection_X509CertificateEnumerator : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Collections::IEnumerator* enumerator_;
void _ctor_332(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* mappings_);
DLL2SDK::mscorlib::System::Object* System_Collections_IEnumerator_get_Current_333();
bool System_Collections_IEnumerator_MoveNext_334();
void System_Collections_IEnumerator_Reset_335();
DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* get_Current_336();
bool MoveNext_337();
void Reset_338();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509Crl_X509CrlEntry : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::Array<uint8_t>* sn_;
DLL2SDK::mscorlib::System::DateTime revocationDate_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509ExtensionCollection* extensions_;
void _ctor_362(DLL2SDK::Mono_Security::Mono::Security::ASN1* entry_);
DLL2SDK::Array<uint8_t>* get_SerialNumber_363();
DLL2SDK::mscorlib::System::DateTime get_RevocationDate_364();
DLL2SDK::Mono_Security::Mono::Security::X509::X509ExtensionCollection* get_Extensions_365();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_AttributeTypeAndValue : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* oid_;
DLL2SDK::mscorlib::System::String* attrValue_;
int32_t upperBound_;
uint8_t encoding_;
void _ctor_397(DLL2SDK::mscorlib::System::String* oid_, int32_t upperBound_);
void _ctor_398(DLL2SDK::mscorlib::System::String* oid_, int32_t upperBound_, uint8_t encoding_);
void set_Value_399(DLL2SDK::mscorlib::System::String* value_);
DLL2SDK::Mono_Security::Mono::Security::ASN1* GetASN1_400(uint8_t encoding_);
DLL2SDK::Mono_Security::Mono::Security::ASN1* GetASN1_401();
uint8_t SelectBestEncoding_402();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_CommonName : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_403();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_LocalityName : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_404();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_StateOrProvinceName : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_405();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_OrganizationName : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_406();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_OrganizationalUnitName : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_407();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_EmailAddress : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_408();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_DomainComponent : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_409();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_UserId : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_410();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_Oid : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_411(DLL2SDK::mscorlib::System::String* oid_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_Title : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_412();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_CountryName : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_413();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_DnQualifier : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_414();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_Surname : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_415();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_GivenName : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_416();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520_Initial : DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue
{
void _ctor_417();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509::Extensions
{
enum struct NetscapeCertTypeExtension_CertTypes : int32_t
{
SslClient_ = static_cast<int32_t>(0x80),
SslServer_ = static_cast<int32_t>(0x40),
Smime_ = static_cast<int32_t>(0x20),
ObjectSigning_ = static_cast<int32_t>(0x10),
SslCA_ = static_cast<int32_t>(0x4),
SmimeCA_ = static_cast<int32_t>(0x2),
ObjectSigningCA_ = static_cast<int32_t>(0x1)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct RecordProtocol_ReceiveRecordAsyncResult : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Object* locker_;
DLL2SDK::mscorlib::System::AsyncCallback* _userCallback_;
DLL2SDK::mscorlib::System::Object* _userState_;
DLL2SDK::mscorlib::System::Exception* _asyncException_;
DLL2SDK::mscorlib::System::Threading::ManualResetEvent* handle_;
DLL2SDK::Array<uint8_t>* _resultingBuffer_;
DLL2SDK::mscorlib::System::IO::Stream* _record_;
bool completed_;
DLL2SDK::Array<uint8_t>* _initialBuffer_;
void _ctor_663(DLL2SDK::mscorlib::System::AsyncCallback* userCallback_, DLL2SDK::mscorlib::System::Object* userState_, DLL2SDK::Array<uint8_t>* initialBuffer_, DLL2SDK::mscorlib::System::IO::Stream* record_);
DLL2SDK::mscorlib::System::IO::Stream* get_Record_664();
DLL2SDK::Array<uint8_t>* get_ResultingBuffer_665();
DLL2SDK::Array<uint8_t>* get_InitialBuffer_666();
DLL2SDK::mscorlib::System::Object* get_AsyncState_667();
DLL2SDK::mscorlib::System::Exception* get_AsyncException_668();
bool get_CompletedWithError_669();
DLL2SDK::mscorlib::System::Threading::WaitHandle* get_AsyncWaitHandle_670();
bool get_IsCompleted_671();
void SetComplete_672(DLL2SDK::mscorlib::System::Exception* ex_, DLL2SDK::Array<uint8_t>* resultingBuffer_);
void SetComplete_673(DLL2SDK::mscorlib::System::Exception* ex_);
void SetComplete_674(DLL2SDK::Array<uint8_t>* resultingBuffer_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct RecordProtocol_SendRecordAsyncResult : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Object* locker_;
DLL2SDK::mscorlib::System::AsyncCallback* _userCallback_;
DLL2SDK::mscorlib::System::Object* _userState_;
DLL2SDK::mscorlib::System::Exception* _asyncException_;
DLL2SDK::mscorlib::System::Threading::ManualResetEvent* handle_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* _message_;
bool completed_;
void _ctor_675(DLL2SDK::mscorlib::System::AsyncCallback* userCallback_, DLL2SDK::mscorlib::System::Object* userState_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* message_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* get_Message_676();
DLL2SDK::mscorlib::System::Object* get_AsyncState_677();
DLL2SDK::mscorlib::System::Exception* get_AsyncException_678();
bool get_CompletedWithError_679();
DLL2SDK::mscorlib::System::Threading::WaitHandle* get_AsyncWaitHandle_680();
bool get_IsCompleted_681();
void SetComplete_682(DLL2SDK::mscorlib::System::Exception* ex_);
void SetComplete_683();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct SslStreamBase_InternalAsyncResult : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Object* locker_;
DLL2SDK::mscorlib::System::AsyncCallback* _userCallback_;
DLL2SDK::mscorlib::System::Object* _userState_;
DLL2SDK::mscorlib::System::Exception* _asyncException_;
DLL2SDK::mscorlib::System::Threading::ManualResetEvent* handle_;
bool completed_;
int32_t _bytesRead_;
bool _fromWrite_;
bool _proceedAfterHandshake_;
DLL2SDK::Array<uint8_t>* _buffer_;
int32_t _offset_;
int32_t _count_;
void _ctor_832(DLL2SDK::mscorlib::System::AsyncCallback* userCallback_, DLL2SDK::mscorlib::System::Object* userState_, DLL2SDK::Array<uint8_t>* buffer_, int32_t offset_, int32_t count_, bool fromWrite_, bool proceedAfterHandshake_);
bool get_ProceedAfterHandshake_833();
bool get_FromWrite_834();
DLL2SDK::Array<uint8_t>* get_Buffer_835();
int32_t get_Offset_836();
int32_t get_Count_837();
int32_t get_BytesRead_838();
DLL2SDK::mscorlib::System::Object* get_AsyncState_839();
DLL2SDK::mscorlib::System::Exception* get_AsyncException_840();
bool get_CompletedWithError_841();
DLL2SDK::mscorlib::System::Threading::WaitHandle* get_AsyncWaitHandle_842();
bool get_IsCompleted_843();
void SetComplete_844(DLL2SDK::mscorlib::System::Exception* ex_, int32_t bytesRead_);
void SetComplete_845(DLL2SDK::mscorlib::System::Exception* ex_);
void SetComplete_846(int32_t bytesRead_);
void SetComplete_847();
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails___ArrayType_3132
{
union
{
};
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails___ArrayType_256
{
union
{
};
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails___ArrayType_20
{
union
{
};
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails___ArrayType_32
{
union
{
};
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails___ArrayType_48
{
union
{
};
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails___ArrayType_64
{
union
{
};
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails___ArrayType_12
{
union
{
};
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails___ArrayType_16
{
union
{
};
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails___ArrayType_4
{
union
{
};
};
}
namespace DLL2SDK::Mono_Security
{
struct _PrivateImplementationDetails_ : DLL2SDK::mscorlib::System::Object
{
struct StaticFields
{
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_3132 __field_0_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_256 __field_5_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_20 __field_6_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_32 __field_7_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_48 __field_8_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_64 __field_9_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_64 __field_11_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_64 __field_12_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_64 __field_13_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_12 __field_14_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_12 __field_15_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_12 __field_16_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_16 __field_17_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_4 __field_21_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_4 __field_22_;
DLL2SDK::Mono_Security::_PrivateImplementationDetails___ArrayType_4 __field_23_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct PrivateKeySelectionCallback : DLL2SDK::mscorlib::System::MulticastDelegate
{
void _ctor_1041(DLL2SDK::mscorlib::System::Object* object_, intptr_t method_);
DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* Invoke_1042(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::mscorlib::System::String* targetHost_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginInvoke_1043(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* object_);
DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* EndInvoke_1044(DLL2SDK::mscorlib::System::IAsyncResult* result_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct CertificateSelectionCallback : DLL2SDK::mscorlib::System::MulticastDelegate
{
void _ctor_1037(DLL2SDK::mscorlib::System::Object* object_, intptr_t method_);
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* Invoke_1038(DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* serverRequestedCertificates_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginInvoke_1039(DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* serverRequestedCertificates_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* object_);
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* EndInvoke_1040(DLL2SDK::mscorlib::System::IAsyncResult* result_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct CertificateValidationCallback2 : DLL2SDK::mscorlib::System::MulticastDelegate
{
void _ctor_1033(DLL2SDK::mscorlib::System::Object* object_, intptr_t method_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ValidationResult* Invoke_1034(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* collection_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginInvoke_1035(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* collection_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* object_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ValidationResult* EndInvoke_1036(DLL2SDK::mscorlib::System::IAsyncResult* result_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct CertificateValidationCallback : DLL2SDK::mscorlib::System::MulticastDelegate
{
void _ctor_1029(DLL2SDK::mscorlib::System::Object* object_, intptr_t method_);
bool Invoke_1030(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::Array<int32_t>* certificateErrors_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginInvoke_1031(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::Array<int32_t>* certificateErrors_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* object_);
bool EndInvoke_1032(DLL2SDK::mscorlib::System::IAsyncResult* result_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Math::Prime
{
enum struct ConfidenceFactor : int32_t
{
ExtraLow_ = static_cast<int32_t>(0x0),
Low_ = static_cast<int32_t>(0x1),
Medium_ = static_cast<int32_t>(0x2),
High_ = static_cast<int32_t>(0x3),
ExtraHigh_ = static_cast<int32_t>(0x4),
Provable_ = static_cast<int32_t>(0x5)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake
{
enum struct HandshakeType : uint8_t
{
HelloRequest_ = static_cast<uint8_t>(0x0),
ClientHello_ = static_cast<uint8_t>(0x1),
ServerHello_ = static_cast<uint8_t>(0x2),
Certificate_ = static_cast<uint8_t>(0xB),
ServerKeyExchange_ = static_cast<uint8_t>(0xC),
CertificateRequest_ = static_cast<uint8_t>(0xD),
ServerHelloDone_ = static_cast<uint8_t>(0xE),
CertificateVerify_ = static_cast<uint8_t>(0xF),
ClientKeyExchange_ = static_cast<uint8_t>(0x10),
Finished_ = static_cast<uint8_t>(0x14),
None_ = static_cast<uint8_t>(0xFF)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
enum struct ContentType : uint8_t
{
ChangeCipherSpec_ = static_cast<uint8_t>(0x14),
Alert_ = static_cast<uint8_t>(0x15),
Handshake_ = static_cast<uint8_t>(0x16),
ApplicationData_ = static_cast<uint8_t>(0x17)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct TlsStream : DLL2SDK::mscorlib::System::IO::Stream
{
bool canRead_;
bool canWrite_;
DLL2SDK::mscorlib::System::IO::MemoryStream* buffer_;
DLL2SDK::Array<uint8_t>* temp_;
void _ctor_885();
void _ctor_886(DLL2SDK::Array<uint8_t>* data_);
bool get_EOF_887();
bool get_CanWrite_888();
bool get_CanRead_889();
bool get_CanSeek_890();
int64_t get_Position_891();
void set_Position_892(int64_t value_);
int64_t get_Length_893();
DLL2SDK::Array<uint8_t>* ReadSmallValue_894(int32_t length_);
uint8_t ReadByte_895();
int16_t ReadInt16_896();
int32_t ReadInt24_897();
DLL2SDK::Array<uint8_t>* ReadBytes_898(int32_t count_);
void Write_899(uint8_t value_);
void Write_900(int16_t value_);
void WriteInt24_901(int32_t value_);
void Write_902(int32_t value_);
void Write_903(DLL2SDK::Array<uint8_t>* buffer_);
void Reset_904();
DLL2SDK::Array<uint8_t>* ToArray_905();
void Flush_906();
void SetLength_907(int64_t length_);
int64_t Seek_908(int64_t offset_, DLL2SDK::mscorlib::System::IO::SeekOrigin loc_);
int32_t Read_909(DLL2SDK::Array<uint8_t>* buffer_, int32_t offset_, int32_t count_);
void Write_910(DLL2SDK::Array<uint8_t>* buffer_, int32_t offset_, int32_t count_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake
{
struct HandshakeMessage : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsStream
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType handshakeType_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_;
DLL2SDK::Array<uint8_t>* cache_;
void _ctor_911(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType handshakeType_);
void _ctor_912(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType handshakeType_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_);
void _ctor_913(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType handshakeType_, DLL2SDK::Array<uint8_t>* data_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* get_Context_914();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType get_HandshakeType_915();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType get_ContentType_916();
void ProcessAsTls1_917();
void ProcessAsSsl3_918();
void Process_919();
void Update_920();
DLL2SDK::Array<uint8_t>* EncodeMessage_921();
static bool Compare_922(DLL2SDK::Array<uint8_t>* buffer1_, DLL2SDK::Array<uint8_t>* buffer2_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsServerHello : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
int32_t unixTime_;
DLL2SDK::Array<uint8_t>* random_;
void _ctor_1013(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void Update_1014();
void ProcessAsSsl3_1015();
void ProcessAsTls1_1016();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsServerFinished : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
struct StaticFields
{
DLL2SDK::Array<uint8_t>* Ssl3Marker_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_1009(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void ProcessAsSsl3_1011();
void ProcessAsTls1_1012();
static void _cctor_1010();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsServerCertificateRequest : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_1006(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void ProcessAsSsl3_1007();
void ProcessAsTls1_1008();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsServerCertificate : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_1003(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void ProcessAsSsl3_1004();
void ProcessAsTls1_1005();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsClientKeyExchange : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_1000(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void ProcessAsSsl3_1001();
void ProcessAsTls1_1002();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsClientHello : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
DLL2SDK::Array<uint8_t>* random_;
DLL2SDK::Array<uint8_t>* sessionId_;
DLL2SDK::Array<int16_t>* cipherSuites_;
DLL2SDK::Array<uint8_t>* compressionMethods_;
void _ctor_993(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void Update_994();
void ProcessAsSsl3_995();
void ProcessAsTls1_996();
void processProtocol_997(int16_t protocol_);
void selectCipherSuite_998();
void selectCompressionMethod_999();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsClientFinished : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_990(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void ProcessAsSsl3_991();
void ProcessAsTls1_992();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsClientCertificateVerify : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_987(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void ProcessAsSsl3_988();
void ProcessAsTls1_989();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsClientCertificate : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* clientCertificates_;
void _ctor_981(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void Update_982();
void ProcessAsSsl3_983();
void ProcessAsTls1_984();
bool checkCertificateUsage_985(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* cert_);
void validateCertificates_986(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* certificates_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsServerKeyExchange : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
DLL2SDK::mscorlib::System::Security::Cryptography::RSAParameters rsaParams_;
DLL2SDK::Array<uint8_t>* signedParams_;
void _ctor_976(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void Update_977();
void ProcessAsSsl3_978();
void ProcessAsTls1_979();
void verifySignature_980();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsServerHelloDone : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_973(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void ProcessAsSsl3_974();
void ProcessAsTls1_975();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
enum struct SecurityCompressionType : int32_t
{
None_ = static_cast<int32_t>(0x0),
Zlib_ = static_cast<int32_t>(0x1)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsServerFinished : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
struct StaticFields
{
DLL2SDK::Array<uint8_t>* Ssl3Marker_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_963(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void Update_965();
void ProcessAsSsl3_966();
void ProcessAsTls1_967();
static void _cctor_964();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsServerCertificateRequest : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::ClientCertificateType* certificateTypes_;
DLL2SDK::Array<DLL2SDK::mscorlib::System::String*>* distinguisedNames_;
void _ctor_959(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void Update_960();
void ProcessAsSsl3_961();
void ProcessAsTls1_962();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsServerCertificate : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* certificates_;
void _ctor_950(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void Update_951();
void ProcessAsSsl3_952();
void ProcessAsTls1_953();
bool checkCertificateUsage_954(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* cert_);
void validateCertificates_955(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* certificates_);
bool checkServerIdentity_956(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* cert_);
bool checkDomainName_957(DLL2SDK::mscorlib::System::String* subjectName_);
static bool Match_958(DLL2SDK::mscorlib::System::String* hostname_, DLL2SDK::mscorlib::System::String* pattern_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsClientKeyExchange : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_946(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void ProcessAsSsl3_947();
void ProcessAsTls1_948();
void ProcessCommon_949(bool sendLength_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsClientHello : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
DLL2SDK::Array<uint8_t>* random_;
void _ctor_942(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void Update_943();
void ProcessAsSsl3_944();
void ProcessAsTls1_945();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsClientFinished : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
struct StaticFields
{
DLL2SDK::Array<uint8_t>* Ssl3Marker_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_937(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void Update_939();
void ProcessAsSsl3_940();
void ProcessAsTls1_941();
static void _cctor_938();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsClientCertificateVerify : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_931(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void Update_932();
void ProcessAsSsl3_933();
void ProcessAsTls1_934();
DLL2SDK::mscorlib::System::Security::Cryptography::RSA* getClientCertRSA_935(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* privKey_);
DLL2SDK::Array<uint8_t>* getUnsignedBigInteger_936(DLL2SDK::Array<uint8_t>* integer_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsClientCertificate : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
bool clientCertSelected_;
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* clientCert_;
void _ctor_923(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* get_ClientCertificate_924();
void Update_925();
void GetClientCertificate_926();
void SendCertificates_927();
void ProcessAsSsl3_928();
void ProcessAsTls1_929();
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* FindParentCertificate_930(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* cert_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake
{
enum struct ClientCertificateType : int32_t
{
RSA_ = static_cast<int32_t>(0x1),
DSS_ = static_cast<int32_t>(0x2),
RSAFixed_ = static_cast<int32_t>(0x3),
DSSFixed_ = static_cast<int32_t>(0x4),
Unknown_ = static_cast<int32_t>(0xFF)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct TlsServerSettings : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* certificates_;
DLL2SDK::mscorlib::System::Security::Cryptography::RSA* certificateRSA_;
DLL2SDK::mscorlib::System::Security::Cryptography::RSAParameters rsaParameters_;
DLL2SDK::Array<uint8_t>* signedParams_;
DLL2SDK::Array<DLL2SDK::mscorlib::System::String*>* distinguisedNames_;
bool serverKeyExchange_;
bool certificateRequest_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::ClientCertificateType* certificateTypes_;
void _ctor_869();
bool get_ServerKeyExchange_870();
void set_ServerKeyExchange_871(bool value_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* get_Certificates_872();
void set_Certificates_873(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* value_);
DLL2SDK::mscorlib::System::Security::Cryptography::RSA* get_CertificateRSA_874();
DLL2SDK::mscorlib::System::Security::Cryptography::RSAParameters get_RsaParameters_875();
void set_RsaParameters_876(DLL2SDK::mscorlib::System::Security::Cryptography::RSAParameters value_);
void set_SignedParams_877(DLL2SDK::Array<uint8_t>* value_);
bool get_CertificateRequest_878();
void set_CertificateRequest_879(bool value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::ClientCertificateType* get_CertificateTypes_880();
void set_CertificateTypes_881(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::ClientCertificateType* value_);
DLL2SDK::Array<DLL2SDK::mscorlib::System::String*>* get_DistinguisedNames_882();
void set_DistinguisedNames_883(DLL2SDK::Array<DLL2SDK::mscorlib::System::String*>* value_);
void UpdateCertificateRSA_884();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
enum struct AlertDescription : uint8_t
{
CloseNotify_ = static_cast<uint8_t>(0x0),
UnexpectedMessage_ = static_cast<uint8_t>(0xA),
BadRecordMAC_ = static_cast<uint8_t>(0x14),
DecryptionFailed_ = static_cast<uint8_t>(0x15),
RecordOverflow_ = static_cast<uint8_t>(0x16),
DecompressionFailiure_ = static_cast<uint8_t>(0x1E),
HandshakeFailiure_ = static_cast<uint8_t>(0x28),
NoCertificate_ = static_cast<uint8_t>(0x29),
BadCertificate_ = static_cast<uint8_t>(0x2A),
UnsupportedCertificate_ = static_cast<uint8_t>(0x2B),
CertificateRevoked_ = static_cast<uint8_t>(0x2C),
CertificateExpired_ = static_cast<uint8_t>(0x2D),
CertificateUnknown_ = static_cast<uint8_t>(0x2E),
IlegalParameter_ = static_cast<uint8_t>(0x2F),
UnknownCA_ = static_cast<uint8_t>(0x30),
AccessDenied_ = static_cast<uint8_t>(0x31),
DecodeError_ = static_cast<uint8_t>(0x32),
DecryptError_ = static_cast<uint8_t>(0x33),
ExportRestriction_ = static_cast<uint8_t>(0x3C),
ProtocolVersion_ = static_cast<uint8_t>(0x46),
InsuficientSecurity_ = static_cast<uint8_t>(0x47),
InternalError_ = static_cast<uint8_t>(0x50),
UserCancelled_ = static_cast<uint8_t>(0x5A),
NoRenegotiation_ = static_cast<uint8_t>(0x64)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
enum struct AlertLevel : uint8_t
{
Warning_ = static_cast<uint8_t>(0x1),
Fatal_ = static_cast<uint8_t>(0x2)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct TlsClientSettings : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* targetHost_;
DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* certificates_;
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* clientCertificate_;
DLL2SDK::Mono_Security::Mono::Security::Cryptography::RSAManaged* certificateRSA_;
void _ctor_853();
DLL2SDK::mscorlib::System::String* get_TargetHost_854();
void set_TargetHost_855(DLL2SDK::mscorlib::System::String* value_);
DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* get_Certificates_856();
void set_Certificates_857(DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* value_);
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* get_ClientCertificate_858();
void set_ClientCertificate_859(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* value_);
DLL2SDK::Mono_Security::Mono::Security::Cryptography::RSAManaged* get_CertificateRSA_860();
void UpdateCertificateRSA_861();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
enum struct ExchangeAlgorithmType : int32_t
{
DiffieHellman_ = static_cast<int32_t>(0x0),
Fortezza_ = static_cast<int32_t>(0x1),
None_ = static_cast<int32_t>(0x2),
RsaKeyX_ = static_cast<int32_t>(0x3),
RsaSign_ = static_cast<int32_t>(0x4)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
enum struct HashAlgorithmType : int32_t
{
Md5_ = static_cast<int32_t>(0x0),
None_ = static_cast<int32_t>(0x1),
Sha1_ = static_cast<int32_t>(0x2)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
enum struct CipherAlgorithmType : int32_t
{
Des_ = static_cast<int32_t>(0x0),
None_ = static_cast<int32_t>(0x1),
Rc2_ = static_cast<int32_t>(0x2),
Rc4_ = static_cast<int32_t>(0x3),
Rijndael_ = static_cast<int32_t>(0x4),
SkipJack_ = static_cast<int32_t>(0x5),
TripleDes_ = static_cast<int32_t>(0x6)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct CipherSuite : DLL2SDK::mscorlib::System::Object
{
int16_t code_;
DLL2SDK::mscorlib::System::String* name_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherAlgorithmType cipherAlgorithmType_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HashAlgorithmType hashAlgorithmType_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ExchangeAlgorithmType exchangeAlgorithmType_;
bool isExportable_;
DLL2SDK::mscorlib::System::Security::Cryptography::CipherMode cipherMode_;
uint8_t keyMaterialSize_;
int32_t keyBlockSize_;
uint8_t expandedKeyMaterialSize_;
int16_t effectiveKeyBits_;
uint8_t ivSize_;
uint8_t blockSize_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_;
DLL2SDK::mscorlib::System::Security::Cryptography::SymmetricAlgorithm* encryptionAlgorithm_;
DLL2SDK::mscorlib::System::Security::Cryptography::ICryptoTransform* encryptionCipher_;
DLL2SDK::mscorlib::System::Security::Cryptography::SymmetricAlgorithm* decryptionAlgorithm_;
DLL2SDK::mscorlib::System::Security::Cryptography::ICryptoTransform* decryptionCipher_;
DLL2SDK::mscorlib::System::Security::Cryptography::KeyedHashAlgorithm* clientHMAC_;
DLL2SDK::mscorlib::System::Security::Cryptography::KeyedHashAlgorithm* serverHMAC_;
struct StaticFields
{
DLL2SDK::Array<uint8_t>* EmptyArray_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_471(int16_t code_, DLL2SDK::mscorlib::System::String* name_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherAlgorithmType cipherAlgorithmType_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HashAlgorithmType hashAlgorithmType_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ExchangeAlgorithmType exchangeAlgorithmType_, bool exportable_, bool blockMode_, uint8_t keyMaterialSize_, uint8_t expandedKeyMaterialSize_, int16_t effectiveKeyBits_, uint8_t ivSize_, uint8_t blockSize_);
DLL2SDK::mscorlib::System::Security::Cryptography::ICryptoTransform* get_EncryptionCipher_473();
DLL2SDK::mscorlib::System::Security::Cryptography::ICryptoTransform* get_DecryptionCipher_474();
DLL2SDK::mscorlib::System::Security::Cryptography::KeyedHashAlgorithm* get_ClientHMAC_475();
DLL2SDK::mscorlib::System::Security::Cryptography::KeyedHashAlgorithm* get_ServerHMAC_476();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherAlgorithmType get_CipherAlgorithmType_477();
DLL2SDK::mscorlib::System::String* get_HashAlgorithmName_478();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HashAlgorithmType get_HashAlgorithmType_479();
int32_t get_HashSize_480();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ExchangeAlgorithmType get_ExchangeAlgorithmType_481();
DLL2SDK::mscorlib::System::Security::Cryptography::CipherMode get_CipherMode_482();
int16_t get_Code_483();
DLL2SDK::mscorlib::System::String* get_Name_484();
bool get_IsExportable_485();
uint8_t get_KeyMaterialSize_486();
int32_t get_KeyBlockSize_487();
uint8_t get_ExpandedKeyMaterialSize_488();
int16_t get_EffectiveKeyBits_489();
uint8_t get_IvSize_490();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* get_Context_491();
void set_Context_492(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* value_);
void Write_493(DLL2SDK::Array<uint8_t>* array_, int32_t offset_, int16_t value_);
void Write_494(DLL2SDK::Array<uint8_t>* array_, int32_t offset_, uint64_t value_);
void InitializeCipher_495();
DLL2SDK::Array<uint8_t>* EncryptRecord_496(DLL2SDK::Array<uint8_t>* fragment_, DLL2SDK::Array<uint8_t>* mac_);
void DecryptRecord_497(DLL2SDK::Array<uint8_t>* fragment_, DLL2SDK::Array<uint8_t>* dcrFragment_, DLL2SDK::Array<uint8_t>* dcrMAC_);
DLL2SDK::Array<uint8_t>* ComputeClientRecordMAC_498(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* fragment_);
DLL2SDK::Array<uint8_t>* ComputeServerRecordMAC_499(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* fragment_);
void ComputeMasterSecret_500(DLL2SDK::Array<uint8_t>* preMasterSecret_);
void ComputeKeys_501();
DLL2SDK::Array<uint8_t>* CreatePremasterSecret_502();
DLL2SDK::Array<uint8_t>* PRF_503(DLL2SDK::Array<uint8_t>* secret_, DLL2SDK::mscorlib::System::String* label_, DLL2SDK::Array<uint8_t>* data_, int32_t length_);
DLL2SDK::Array<uint8_t>* Expand_504(DLL2SDK::mscorlib::System::String* hashName_, DLL2SDK::Array<uint8_t>* secret_, DLL2SDK::Array<uint8_t>* seed_, int32_t length_);
void createEncryptionCipher_505();
void createDecryptionCipher_506();
static void _cctor_472();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct SslStreamBase : DLL2SDK::mscorlib::System::IO::Stream
{
DLL2SDK::mscorlib::System::IO::Stream* innerStream_;
DLL2SDK::mscorlib::System::IO::MemoryStream* inputBuffer_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::RecordProtocol* protocol_;
bool ownsStream_;
bool disposed_;
bool checkCertRevocationStatus_;
DLL2SDK::mscorlib::System::Object* negotiate_;
DLL2SDK::mscorlib::System::Object* read_;
DLL2SDK::mscorlib::System::Object* write_;
DLL2SDK::mscorlib::System::Threading::ManualResetEvent* negotiationComplete_;
DLL2SDK::Array<uint8_t>* recbuf_;
DLL2SDK::mscorlib::System::IO::MemoryStream* recordStream_;
struct StaticFields
{
int32_t WaitTimeOut_;
DLL2SDK::mscorlib::System::Threading::ManualResetEvent* record_processing_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_777(DLL2SDK::mscorlib::System::IO::Stream* stream_, bool ownsStream_);
void AsyncHandshakeCallback_779(DLL2SDK::mscorlib::System::IAsyncResult* asyncResult_);
bool get_MightNeedHandshake_780();
void NegotiateHandshake_781();
DLL2SDK::mscorlib::System::IAsyncResult* OnBeginNegotiateHandshake_782(DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* state_);
void OnNegotiateHandshakeCallback_783(DLL2SDK::mscorlib::System::IAsyncResult* asyncResult_);
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* OnLocalCertificateSelection_784(DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* serverRequestedCertificates_);
bool OnRemoteCertificateValidation_785(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::Array<int32_t>* errors_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ValidationResult* OnRemoteCertificateValidation2_786(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* collection_);
bool get_HaveRemoteValidation2Callback_787();
DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* OnLocalPrivateKeySelection_788(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::mscorlib::System::String* targetHost_);
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* RaiseLocalCertificateSelection_789(DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* certificates_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* remoteCertificate_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* requestedCertificates_);
bool RaiseRemoteCertificateValidation_790(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::Array<int32_t>* errors_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ValidationResult* RaiseRemoteCertificateValidation2_791(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* collection_);
DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* RaiseLocalPrivateKeySelection_792(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::mscorlib::System::String* targetHost_);
bool get_CheckCertRevocationStatus_793();
void set_CheckCertRevocationStatus_794(bool value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherAlgorithmType get_CipherAlgorithm_795();
int32_t get_CipherStrength_796();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HashAlgorithmType get_HashAlgorithm_797();
int32_t get_HashStrength_798();
int32_t get_KeyExchangeStrength_799();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ExchangeAlgorithmType get_KeyExchangeAlgorithm_800();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType get_SecurityProtocol_801();
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* get_ServerCertificate_802();
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* get_ServerCertificates_803();
bool BeginNegotiateHandshake_804(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslStreamBase_InternalAsyncResult* asyncResult_);
void EndNegotiateHandshake_805(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslStreamBase_InternalAsyncResult* asyncResult_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginRead_806(DLL2SDK::Array<uint8_t>* buffer_, int32_t offset_, int32_t count_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* state_);
void InternalBeginRead_807(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslStreamBase_InternalAsyncResult* asyncResult_);
void InternalReadCallback_808(DLL2SDK::mscorlib::System::IAsyncResult* result_);
void InternalBeginWrite_809(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslStreamBase_InternalAsyncResult* asyncResult_);
void InternalWriteCallback_810(DLL2SDK::mscorlib::System::IAsyncResult* ar_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginWrite_811(DLL2SDK::Array<uint8_t>* buffer_, int32_t offset_, int32_t count_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* state_);
int32_t EndRead_812(DLL2SDK::mscorlib::System::IAsyncResult* asyncResult_);
void EndWrite_813(DLL2SDK::mscorlib::System::IAsyncResult* asyncResult_);
void Close_814();
void Flush_815();
int32_t Read_816(DLL2SDK::Array<uint8_t>* buffer_);
int32_t Read_817(DLL2SDK::Array<uint8_t>* buffer_, int32_t offset_, int32_t count_);
int64_t Seek_818(int64_t offset_, DLL2SDK::mscorlib::System::IO::SeekOrigin origin_);
void SetLength_819(int64_t value_);
void Write_820(DLL2SDK::Array<uint8_t>* buffer_);
void Write_821(DLL2SDK::Array<uint8_t>* buffer_, int32_t offset_, int32_t count_);
bool get_CanRead_822();
bool get_CanSeek_823();
bool get_CanWrite_824();
int64_t get_Length_825();
int64_t get_Position_826();
void set_Position_827(int64_t value_);
void Finalize_828();
void Dispose_829(bool disposing_);
void resetBuffer_830();
void checkDisposed_831();
static void _cctor_778();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
enum struct SecurityProtocolType : int32_t
{
Default_ = static_cast<int32_t>(0xC0000000),
Ssl2_ = static_cast<int32_t>(0xC),
Ssl3_ = static_cast<int32_t>(0x30),
Tls_ = static_cast<int32_t>(0xC0)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct SslHandshakeHash : DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm
{
DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* md5_;
DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* sha_;
bool hashing_;
DLL2SDK::Array<uint8_t>* secret_;
DLL2SDK::Array<uint8_t>* innerPadMD5_;
DLL2SDK::Array<uint8_t>* outerPadMD5_;
DLL2SDK::Array<uint8_t>* innerPadSHA_;
DLL2SDK::Array<uint8_t>* outerPadSHA_;
void _ctor_754(DLL2SDK::Array<uint8_t>* secret_);
void Initialize_755();
DLL2SDK::Array<uint8_t>* HashFinal_756();
void HashCore_757(DLL2SDK::Array<uint8_t>* array_, int32_t ibStart_, int32_t cbSize_);
DLL2SDK::Array<uint8_t>* CreateSignature_758(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_);
bool VerifySignature_759(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_, DLL2SDK::Array<uint8_t>* rgbSignature_);
void initializePad_760();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct SslCipherSuite : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite
{
DLL2SDK::Array<uint8_t>* pad1_;
DLL2SDK::Array<uint8_t>* pad2_;
DLL2SDK::Array<uint8_t>* header_;
void _ctor_748(int16_t code_, DLL2SDK::mscorlib::System::String* name_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherAlgorithmType cipherAlgorithmType_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HashAlgorithmType hashAlgorithmType_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ExchangeAlgorithmType exchangeAlgorithmType_, bool exportable_, bool blockMode_, uint8_t keyMaterialSize_, uint8_t expandedKeyMaterialSize_, int16_t effectiveKeyBytes_, uint8_t ivSize_, uint8_t blockSize_);
DLL2SDK::Array<uint8_t>* ComputeServerRecordMAC_749(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* fragment_);
DLL2SDK::Array<uint8_t>* ComputeClientRecordMAC_750(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* fragment_);
void ComputeMasterSecret_751(DLL2SDK::Array<uint8_t>* preMasterSecret_);
void ComputeKeys_752();
DLL2SDK::Array<uint8_t>* prf_753(DLL2SDK::Array<uint8_t>* secret_, DLL2SDK::mscorlib::System::String* label_, DLL2SDK::Array<uint8_t>* random_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct SslClientStream : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslStreamBase
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback* ServerCertValidation_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateSelectionCallback* ClientCertSelection_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::PrivateKeySelectionCallback* PrivateKeySelection_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback2* ServerCertValidation2_;
void _ctor_712(DLL2SDK::mscorlib::System::IO::Stream* stream_, DLL2SDK::mscorlib::System::String* targetHost_, bool ownsStream_);
void _ctor_713(DLL2SDK::mscorlib::System::IO::Stream* stream_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* clientCertificate_);
void _ctor_714(DLL2SDK::mscorlib::System::IO::Stream* stream_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_);
void _ctor_715(DLL2SDK::mscorlib::System::IO::Stream* stream_, DLL2SDK::mscorlib::System::String* targetHost_, bool ownsStream_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType securityProtocolType_);
void _ctor_716(DLL2SDK::mscorlib::System::IO::Stream* stream_, DLL2SDK::mscorlib::System::String* targetHost_, bool ownsStream_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType securityProtocolType_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_);
void add_ServerCertValidation_717(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback* value_);
void remove_ServerCertValidation_718(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback* value_);
void add_ClientCertSelection_719(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateSelectionCallback* value_);
void remove_ClientCertSelection_720(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateSelectionCallback* value_);
void add_PrivateKeySelection_721(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::PrivateKeySelectionCallback* value_);
void remove_PrivateKeySelection_722(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::PrivateKeySelectionCallback* value_);
void add_ServerCertValidation2_723(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback2* value_);
void remove_ServerCertValidation2_724(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback2* value_);
DLL2SDK::mscorlib::System::IO::Stream* get_InputBuffer_725();
DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* get_ClientCertificates_726();
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* get_SelectedClientCertificate_727();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback* get_ServerCertValidationDelegate_728();
void set_ServerCertValidationDelegate_729(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback* value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateSelectionCallback* get_ClientCertSelectionDelegate_730();
void set_ClientCertSelectionDelegate_731(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateSelectionCallback* value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::PrivateKeySelectionCallback* get_PrivateKeyCertSelectionDelegate_732();
void set_PrivateKeyCertSelectionDelegate_733(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::PrivateKeySelectionCallback* value_);
void Finalize_734();
void Dispose_735(bool disposing_);
DLL2SDK::mscorlib::System::IAsyncResult* OnBeginNegotiateHandshake_736(DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* state_);
void SafeReceiveRecord_737(DLL2SDK::mscorlib::System::IO::Stream* s_);
void OnNegotiateHandshakeCallback_738(DLL2SDK::mscorlib::System::IAsyncResult* asyncResult_);
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* OnLocalCertificateSelection_739(DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* serverRequestedCertificates_);
bool get_HaveRemoteValidation2Callback_740();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ValidationResult* OnRemoteCertificateValidation2_741(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* collection_);
bool OnRemoteCertificateValidation_742(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::Array<int32_t>* errors_);
bool RaiseServerCertificateValidation_743(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::Array<int32_t>* certificateErrors_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ValidationResult* RaiseServerCertificateValidation2_744(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* collection_);
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* RaiseClientCertificateSelection_745(DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* serverRequestedCertificates_);
DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* OnLocalPrivateKeySelection_746(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::mscorlib::System::String* targetHost_);
DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* RaisePrivateKeySelection_747(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::mscorlib::System::String* targetHost_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct ValidationResult : DLL2SDK::mscorlib::System::Object
{
bool trusted_;
bool user_denied_;
int32_t error_code_;
void _ctor_709(bool trusted_, bool user_denied_, int32_t error_code_);
bool get_Trusted_710();
int32_t get_ErrorCode_711();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct RecordProtocol : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::IO::Stream* innerStream_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_;
struct StaticFields
{
DLL2SDK::mscorlib::System::Threading::ManualResetEvent* record_processing_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_632(DLL2SDK::mscorlib::System::IO::Stream* innerStream_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* get_Context_634();
void SendRecord_635(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType type_);
void ProcessHandshakeMessage_636(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsStream* handMsg_);
void ProcessChangeCipherSpec_637();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* GetMessage_638(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType type_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginReceiveRecord_639(DLL2SDK::mscorlib::System::IO::Stream* record_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* state_);
void InternalReceiveRecordCallback_640(DLL2SDK::mscorlib::System::IAsyncResult* asyncResult_);
DLL2SDK::Array<uint8_t>* EndReceiveRecord_641(DLL2SDK::mscorlib::System::IAsyncResult* asyncResult_);
DLL2SDK::Array<uint8_t>* ReceiveRecord_642(DLL2SDK::mscorlib::System::IO::Stream* record_);
DLL2SDK::Array<uint8_t>* ReadRecordBuffer_643(int32_t contentType_, DLL2SDK::mscorlib::System::IO::Stream* record_);
DLL2SDK::Array<uint8_t>* ReadClientHelloV2_644(DLL2SDK::mscorlib::System::IO::Stream* record_);
DLL2SDK::Array<uint8_t>* ReadStandardRecordBuffer_645(DLL2SDK::mscorlib::System::IO::Stream* record_);
void ProcessAlert_646(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertLevel alertLevel_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription alertDesc_);
void SendAlert_647(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_);
void SendAlert_648(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertLevel level_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_);
void SendAlert_649(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Alert* alert_);
void SendChangeCipherSpec_650();
DLL2SDK::mscorlib::System::IAsyncResult* BeginSendRecord_651(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType handshakeType_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* state_);
void InternalSendRecordCallback_652(DLL2SDK::mscorlib::System::IAsyncResult* ar_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginSendRecord_653(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* recordData_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* state_);
void EndSendRecord_654(DLL2SDK::mscorlib::System::IAsyncResult* asyncResult_);
void SendRecord_655(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* recordData_);
DLL2SDK::Array<uint8_t>* EncodeRecord_656(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* recordData_);
DLL2SDK::Array<uint8_t>* EncodeRecord_657(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* recordData_, int32_t offset_, int32_t count_);
DLL2SDK::Array<uint8_t>* encryptRecordFragment_658(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* fragment_);
DLL2SDK::Array<uint8_t>* decryptRecordFragment_659(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* fragment_);
bool Compare_660(DLL2SDK::Array<uint8_t>* array1_, DLL2SDK::Array<uint8_t>* array2_);
void ProcessCipherSpecV2Buffer_661(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType protocol_, DLL2SDK::Array<uint8_t>* buffer_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* MapV2CipherCode_662(DLL2SDK::mscorlib::System::String* prefix_, int32_t code_);
static void _cctor_633();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
enum struct HandshakeState : int32_t
{
None_ = static_cast<int32_t>(0x0),
Started_ = static_cast<int32_t>(0x1),
Finished_ = static_cast<int32_t>(0x2)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct SecurityParameters : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* cipher_;
DLL2SDK::Array<uint8_t>* clientWriteMAC_;
DLL2SDK::Array<uint8_t>* serverWriteMAC_;
void _ctor_692();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* get_Cipher_693();
void set_Cipher_694(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* value_);
DLL2SDK::Array<uint8_t>* get_ClientWriteMAC_695();
void set_ClientWriteMAC_696(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_ServerWriteMAC_697();
void set_ServerWriteMAC_698(DLL2SDK::Array<uint8_t>* value_);
void Clear_699();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct RSASslSignatureFormatter : DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricSignatureFormatter
{
DLL2SDK::mscorlib::System::Security::Cryptography::RSA* key_;
DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* hash_;
struct StaticFields
{
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map16_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_688(DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* key_);
DLL2SDK::Array<uint8_t>* CreateSignature_689(DLL2SDK::Array<uint8_t>* rgbHash_);
void SetHashAlgorithm_690(DLL2SDK::mscorlib::System::String* strName_);
void SetKey_691(DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* key_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct RSASslSignatureDeformatter : DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricSignatureDeformatter
{
DLL2SDK::mscorlib::System::Security::Cryptography::RSA* key_;
DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* hash_;
struct StaticFields
{
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map15_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_684(DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* key_);
bool VerifySignature_685(DLL2SDK::Array<uint8_t>* rgbHash_, DLL2SDK::Array<uint8_t>* rgbSignature_);
void SetHashAlgorithm_686(DLL2SDK::mscorlib::System::String* strName_);
void SetKey_687(DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* key_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct HttpsClientStream : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslClientStream
{
DLL2SDK::System::System::Net::HttpWebRequest* _request_;
int32_t _status_;
struct StaticFields
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateSelectionCallback* __f__am_cache2_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::PrivateKeySelectionCallback* __f__am_cache3_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_627(DLL2SDK::mscorlib::System::IO::Stream* stream_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_, DLL2SDK::System::System::Net::HttpWebRequest* request_, DLL2SDK::Array<uint8_t>* buffer_);
bool get_TrustFailure_628();
bool RaiseServerCertificateValidation_629(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::Array<int32_t>* certificateErrors_);
static DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* _HttpsClientStream_m__0_630(DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCerts_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* serverRequestedCertificates_);
static DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* _HttpsClientStream_m__1_631(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::mscorlib::System::String* targetHost_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct Context : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType securityProtocol_;
DLL2SDK::Array<uint8_t>* sessionId_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityCompressionType compressionMethod_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsServerSettings* serverSettings_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsClientSettings* clientSettings_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityParameters* current_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityParameters* negotiating_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityParameters* read_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityParameters* write_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuiteCollection* supportedCiphers_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType lastHandshakeMsg_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HandshakeState handshakeState_;
bool abbreviatedHandshake_;
bool receivedConnectionEnd_;
bool sentConnectionEnd_;
bool protocolNegotiated_;
uint64_t writeSequenceNumber_;
uint64_t readSequenceNumber_;
DLL2SDK::Array<uint8_t>* clientRandom_;
DLL2SDK::Array<uint8_t>* serverRandom_;
DLL2SDK::Array<uint8_t>* randomCS_;
DLL2SDK::Array<uint8_t>* randomSC_;
DLL2SDK::Array<uint8_t>* masterSecret_;
DLL2SDK::Array<uint8_t>* clientWriteKey_;
DLL2SDK::Array<uint8_t>* serverWriteKey_;
DLL2SDK::Array<uint8_t>* clientWriteIV_;
DLL2SDK::Array<uint8_t>* serverWriteIV_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsStream* handshakeMessages_;
DLL2SDK::mscorlib::System::Security::Cryptography::RandomNumberGenerator* random_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::RecordProtocol* recordProtocol_;
void _ctor_565(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType securityProtocolType_);
bool get_AbbreviatedHandshake_566();
void set_AbbreviatedHandshake_567(bool value_);
bool get_ProtocolNegotiated_568();
void set_ProtocolNegotiated_569(bool value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType get_SecurityProtocol_570();
void set_SecurityProtocol_571(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType get_SecurityProtocolFlags_572();
int16_t get_Protocol_573();
DLL2SDK::Array<uint8_t>* get_SessionId_574();
void set_SessionId_575(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityCompressionType get_CompressionMethod_576();
void set_CompressionMethod_577(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityCompressionType value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsServerSettings* get_ServerSettings_578();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsClientSettings* get_ClientSettings_579();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType get_LastHandshakeMsg_580();
void set_LastHandshakeMsg_581(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HandshakeState get_HandshakeState_582();
void set_HandshakeState_583(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HandshakeState value_);
bool get_ReceivedConnectionEnd_584();
void set_ReceivedConnectionEnd_585(bool value_);
bool get_SentConnectionEnd_586();
void set_SentConnectionEnd_587(bool value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuiteCollection* get_SupportedCiphers_588();
void set_SupportedCiphers_589(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuiteCollection* value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsStream* get_HandshakeMessages_590();
uint64_t get_WriteSequenceNumber_591();
void set_WriteSequenceNumber_592(uint64_t value_);
uint64_t get_ReadSequenceNumber_593();
void set_ReadSequenceNumber_594(uint64_t value_);
DLL2SDK::Array<uint8_t>* get_ClientRandom_595();
void set_ClientRandom_596(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_ServerRandom_597();
void set_ServerRandom_598(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_RandomCS_599();
void set_RandomCS_600(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_RandomSC_601();
void set_RandomSC_602(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_MasterSecret_603();
void set_MasterSecret_604(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_ClientWriteKey_605();
void set_ClientWriteKey_606(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_ServerWriteKey_607();
void set_ServerWriteKey_608(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_ClientWriteIV_609();
void set_ClientWriteIV_610(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_ServerWriteIV_611();
void set_ServerWriteIV_612(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::RecordProtocol* get_RecordProtocol_613();
void set_RecordProtocol_614(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::RecordProtocol* value_);
int32_t GetUnixTime_615();
DLL2SDK::Array<uint8_t>* GetSecureRandomBytes_616(int32_t count_);
void Clear_617();
void ClearKeyInfo_618();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType DecodeProtocolCode_619(int16_t code_);
void ChangeProtocol_620(int16_t protocol_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityParameters* get_Current_621();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityParameters* get_Negotiating_622();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityParameters* get_Read_623();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityParameters* get_Write_624();
void StartSwitchingSecurityParameters_625(bool client_);
void EndSwitchingSecurityParameters_626(bool client_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct ClientSessionCache : DLL2SDK::mscorlib::System::Object
{
struct StaticFields
{
DLL2SDK::mscorlib::System::Collections::Hashtable* cache_;
DLL2SDK::mscorlib::System::Object* locker_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
static void _cctor_559();
static void Add_560(DLL2SDK::mscorlib::System::String* host_, DLL2SDK::Array<uint8_t>* id_);
static DLL2SDK::Array<uint8_t>* FromHost_561(DLL2SDK::mscorlib::System::String* host_);
static DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ClientSessionInfo* FromContext_562(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, bool checkValidity_);
static bool SetContextInCache_563(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
static bool SetContextFromCache_564(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct ClientSessionInfo : DLL2SDK::mscorlib::System::Object
{
bool disposed_;
DLL2SDK::mscorlib::System::DateTime validuntil_;
DLL2SDK::mscorlib::System::String* host_;
DLL2SDK::Array<uint8_t>* sid_;
DLL2SDK::Array<uint8_t>* masterSecret_;
struct StaticFields
{
int32_t ValidityInterval_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_547(DLL2SDK::mscorlib::System::String* hostname_, DLL2SDK::Array<uint8_t>* id_);
void Finalize_549();
DLL2SDK::mscorlib::System::String* get_HostName_550();
DLL2SDK::Array<uint8_t>* get_Id_551();
bool get_Valid_552();
void GetContext_553(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void SetContext_554(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void KeepAlive_555();
void Dispose_556();
void Dispose_557(bool disposing_);
void CheckDisposed_558();
static void _cctor_548();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct ClientRecordProtocol : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::RecordProtocol
{
void _ctor_542(DLL2SDK::mscorlib::System::IO::Stream* innerStream_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ClientContext* context_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* GetMessage_543(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType type_);
void ProcessHandshakeMessage_544(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsStream* handMsg_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* createClientHandshakeMessage_545(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType type_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* createServerHandshakeMessage_546(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType type_, DLL2SDK::Array<uint8_t>* buffer_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct ClientContext : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslClientStream* sslStream_;
int16_t clientHelloProtocol_;
void _ctor_537(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslClientStream* stream_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType securityProtocolType_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslClientStream* get_SslStream_538();
int16_t get_ClientHelloProtocol_539();
void set_ClientHelloProtocol_540(int16_t value_);
void Clear_541();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct CipherSuiteFactory : DLL2SDK::mscorlib::System::Object
{
static DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuiteCollection* GetSupportedCiphers_534(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType protocol_);
static DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuiteCollection* GetTls1SupportedCiphers_535();
static DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuiteCollection* GetSsl3SupportedCiphers_536();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct CipherSuiteCollection : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Collections::ArrayList* cipherSuites_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType protocol_;
void _ctor_507(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType protocol_);
DLL2SDK::mscorlib::System::Object* System_Collections_IList_get_Item_508(int32_t index_);
void System_Collections_IList_set_Item_509(int32_t index_, DLL2SDK::mscorlib::System::Object* value_);
bool System_Collections_ICollection_get_IsSynchronized_510();
DLL2SDK::mscorlib::System::Object* System_Collections_ICollection_get_SyncRoot_511();
DLL2SDK::mscorlib::System::Collections::IEnumerator* System_Collections_IEnumerable_GetEnumerator_512();
bool System_Collections_IList_Contains_513(DLL2SDK::mscorlib::System::Object* value_);
int32_t System_Collections_IList_IndexOf_514(DLL2SDK::mscorlib::System::Object* value_);
void System_Collections_IList_Insert_515(int32_t index_, DLL2SDK::mscorlib::System::Object* value_);
void System_Collections_IList_Remove_516(DLL2SDK::mscorlib::System::Object* value_);
void System_Collections_IList_RemoveAt_517(int32_t index_);
int32_t System_Collections_IList_Add_518(DLL2SDK::mscorlib::System::Object* value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* get_Item_519(DLL2SDK::mscorlib::System::String* name_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* get_Item_520(int32_t index_);
void set_Item_521(int32_t index_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* value_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* get_Item_522(int16_t code_);
int32_t get_Count_523();
bool get_IsFixedSize_524();
bool get_IsReadOnly_525();
void CopyTo_526(DLL2SDK::mscorlib::System::Array* array_, int32_t index_);
void Clear_527();
int32_t IndexOf_528(DLL2SDK::mscorlib::System::String* name_);
int32_t IndexOf_529(int16_t code_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* Add_530(int16_t code_, DLL2SDK::mscorlib::System::String* name_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherAlgorithmType cipherType_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HashAlgorithmType hashType_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ExchangeAlgorithmType exchangeType_, bool exportable_, bool blockMode_, uint8_t keyMaterialSize_, uint8_t expandedKeyMaterialSize_, int16_t effectiveKeyBytes_, uint8_t ivSize_, uint8_t blockSize_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsCipherSuite* add_531(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsCipherSuite* cipherSuite_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslCipherSuite* add_532(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslCipherSuite* cipherSuite_);
bool cultureAwareCompare_533(DLL2SDK::mscorlib::System::String* strA_, DLL2SDK::mscorlib::System::String* strB_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct Alert : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertLevel level_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_;
void _ctor_463(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_);
void _ctor_464(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertLevel level_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertLevel get_Level_465();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription get_Description_466();
bool get_IsWarning_467();
bool get_IsCloseNotify_468();
void inferAlertLevel_469();
static DLL2SDK::mscorlib::System::String* GetAlertMessage_470(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct MD5SHA1 : DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm
{
DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* md5_;
DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* sha_;
bool hashing_;
void _ctor_457();
void Initialize_458();
DLL2SDK::Array<uint8_t>* HashFinal_459();
void HashCore_460(DLL2SDK::Array<uint8_t>* array_, int32_t ibStart_, int32_t cbSize_);
DLL2SDK::Array<uint8_t>* CreateSignature_461(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_);
bool VerifySignature_462(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_, DLL2SDK::Array<uint8_t>* rgbSignature_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct HMAC : DLL2SDK::mscorlib::System::Security::Cryptography::KeyedHashAlgorithm
{
DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* hash_;
bool hashing_;
DLL2SDK::Array<uint8_t>* innerPad_;
DLL2SDK::Array<uint8_t>* outerPad_;
void _ctor_450(DLL2SDK::mscorlib::System::String* hashName_, DLL2SDK::Array<uint8_t>* rgbKey_);
DLL2SDK::Array<uint8_t>* get_Key_451();
void set_Key_452(DLL2SDK::Array<uint8_t>* value_);
void Initialize_453();
DLL2SDK::Array<uint8_t>* HashFinal_454();
void HashCore_455(DLL2SDK::Array<uint8_t>* array_, int32_t ibStart_, int32_t cbSize_);
void initializePad_456();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509Extension : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* extnOid_;
bool extnCritical_;
DLL2SDK::Mono_Security::Mono::Security::ASN1* extnValue_;
void _ctor_366(DLL2SDK::Mono_Security::Mono::Security::ASN1* asn1_);
void _ctor_367(DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension* extension_);
void Decode_368();
void Encode_369();
DLL2SDK::mscorlib::System::String* get_Oid_370();
bool get_Critical_371();
DLL2SDK::Mono_Security::Mono::Security::ASN1* get_Value_372();
bool Equals_373(DLL2SDK::mscorlib::System::Object* obj_);
int32_t GetHashCode_374();
void WriteLine_375(DLL2SDK::mscorlib::System::Text::StringBuilder* sb_, int32_t n_, int32_t pos_);
DLL2SDK::mscorlib::System::String* ToString_376();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509::Extensions
{
struct NetscapeCertTypeExtension : DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension
{
int32_t ctbits_;
void _ctor_441(DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension* extension_);
void Decode_442();
bool Support_443(DLL2SDK::Mono_Security::Mono::Security::X509::Extensions::NetscapeCertTypeExtension_CertTypes usage_);
DLL2SDK::mscorlib::System::String* ToString_444();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509::Extensions
{
enum struct KeyUsages : int32_t
{
digitalSignature_ = static_cast<int32_t>(0x80),
nonRepudiation_ = static_cast<int32_t>(0x40),
keyEncipherment_ = static_cast<int32_t>(0x20),
dataEncipherment_ = static_cast<int32_t>(0x10),
keyAgreement_ = static_cast<int32_t>(0x8),
keyCertSign_ = static_cast<int32_t>(0x4),
cRLSign_ = static_cast<int32_t>(0x2),
encipherOnly_ = static_cast<int32_t>(0x1),
decipherOnly_ = static_cast<int32_t>(0x800),
none_ = static_cast<int32_t>(0x0)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509::Extensions
{
struct GeneralNames : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::Collections::ArrayList* rfc822Name_;
DLL2SDK::mscorlib::System::Collections::ArrayList* dnsName_;
DLL2SDK::mscorlib::System::Collections::ArrayList* directoryNames_;
DLL2SDK::mscorlib::System::Collections::ArrayList* uris_;
DLL2SDK::mscorlib::System::Collections::ArrayList* ipAddr_;
void _ctor_432(DLL2SDK::Mono_Security::Mono::Security::ASN1* sequence_);
DLL2SDK::Array<DLL2SDK::mscorlib::System::String*>* get_DNSNames_433();
DLL2SDK::Array<DLL2SDK::mscorlib::System::String*>* get_IPAddresses_434();
DLL2SDK::mscorlib::System::String* ToString_435();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509::Extensions
{
struct ExtendedKeyUsageExtension : DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension
{
DLL2SDK::mscorlib::System::Collections::ArrayList* keyPurpose_;
struct StaticFields
{
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map14_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_427(DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension* extension_);
void Decode_428();
void Encode_429();
DLL2SDK::mscorlib::System::Collections::ArrayList* get_KeyPurpose_430();
DLL2SDK::mscorlib::System::String* ToString_431();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509::Extensions
{
struct BasicConstraintsExtension : DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension
{
bool cA_;
int32_t pathLenConstraint_;
void _ctor_422(DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension* extension_);
void Decode_423();
void Encode_424();
bool get_CertificateAuthority_425();
DLL2SDK::mscorlib::System::String* ToString_426();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509::Extensions
{
struct AuthorityKeyIdentifierExtension : DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension
{
DLL2SDK::Array<uint8_t>* aki_;
void _ctor_418(DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension* extension_);
void Decode_419();
DLL2SDK::Array<uint8_t>* get_Identifier_420();
DLL2SDK::mscorlib::System::String* ToString_421();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X520 : DLL2SDK::mscorlib::System::Object
{
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509Stores : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* _storePath_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509Store* _trusted_;
void _ctor_394(DLL2SDK::mscorlib::System::String* path_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509Store* get_TrustedRoot_395();
DLL2SDK::Mono_Security::Mono::Security::X509::X509Store* Open_396(DLL2SDK::mscorlib::System::String* storeName_, bool create_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509StoreManager : DLL2SDK::mscorlib::System::Object
{
struct StaticFields
{
DLL2SDK::Mono_Security::Mono::Security::X509::X509Stores* _userStore_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509Stores* _machineStore_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
static DLL2SDK::Mono_Security::Mono::Security::X509::X509Stores* get_CurrentUser_391();
static DLL2SDK::Mono_Security::Mono::Security::X509::X509Stores* get_LocalMachine_392();
static DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* get_TrustedRootCertificates_393();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509Store : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* _storePath_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* _certificates_;
DLL2SDK::mscorlib::System::Collections::ArrayList* _crls_;
bool _crl_;
void _ctor_382(DLL2SDK::mscorlib::System::String* path_, bool crl_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* get_Certificates_383();
DLL2SDK::mscorlib::System::Collections::ArrayList* get_Crls_384();
DLL2SDK::Array<uint8_t>* Load_385(DLL2SDK::mscorlib::System::String* filename_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* LoadCertificate_386(DLL2SDK::mscorlib::System::String* filename_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509Crl* LoadCrl_387(DLL2SDK::mscorlib::System::String* filename_);
bool CheckStore_388(DLL2SDK::mscorlib::System::String* path_, bool throwException_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* BuildCertificatesCollection_389(DLL2SDK::mscorlib::System::String* storeName_);
DLL2SDK::mscorlib::System::Collections::ArrayList* BuildCrlsCollection_390(DLL2SDK::mscorlib::System::String* storeName_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509ExtensionCollection : DLL2SDK::mscorlib::System::Collections::CollectionBase
{
bool readOnly_;
void _ctor_377();
void _ctor_378(DLL2SDK::Mono_Security::Mono::Security::ASN1* asn1_);
DLL2SDK::mscorlib::System::Collections::IEnumerator* System_Collections_IEnumerable_GetEnumerator_379();
int32_t IndexOf_380(DLL2SDK::mscorlib::System::String* oid_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension* get_Item_381(DLL2SDK::mscorlib::System::String* oid_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509Crl : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* issuer_;
uint8_t version_;
DLL2SDK::mscorlib::System::DateTime thisUpdate_;
DLL2SDK::mscorlib::System::DateTime nextUpdate_;
DLL2SDK::mscorlib::System::Collections::ArrayList* entries_;
DLL2SDK::mscorlib::System::String* signatureOID_;
DLL2SDK::Array<uint8_t>* signature_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509ExtensionCollection* extensions_;
DLL2SDK::Array<uint8_t>* encoded_;
DLL2SDK::Array<uint8_t>* hash_value_;
struct StaticFields
{
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map13_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_349(DLL2SDK::Array<uint8_t>* crl_);
void Parse_350(DLL2SDK::Array<uint8_t>* crl_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509ExtensionCollection* get_Extensions_351();
DLL2SDK::Array<uint8_t>* get_Hash_352();
DLL2SDK::mscorlib::System::String* get_IssuerName_353();
DLL2SDK::mscorlib::System::DateTime get_NextUpdate_354();
bool Compare_355(DLL2SDK::Array<uint8_t>* array1_, DLL2SDK::Array<uint8_t>* array2_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509Crl_X509CrlEntry* GetCrlEntry_356(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* x509_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509Crl_X509CrlEntry* GetCrlEntry_357(DLL2SDK::Array<uint8_t>* serialNumber_);
DLL2SDK::mscorlib::System::String* GetHashName_358();
bool VerifySignature_359(DLL2SDK::mscorlib::System::Security::Cryptography::DSA* dsa_);
bool VerifySignature_360(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_);
bool VerifySignature_361(DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* aa_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
enum struct X509ChainStatusFlags : int32_t
{
InvalidBasicConstraints_ = static_cast<int32_t>(0x400),
NoError_ = static_cast<int32_t>(0x0),
NotSignatureValid_ = static_cast<int32_t>(0x8),
NotTimeNested_ = static_cast<int32_t>(0x2),
NotTimeValid_ = static_cast<int32_t>(0x1),
PartialChain_ = static_cast<int32_t>(0x10000),
UntrustedRoot_ = static_cast<int32_t>(0x20)
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509Chain : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* roots_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* certs_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* _root_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* _chain_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509ChainStatusFlags _status_;
void _ctor_339();
void _ctor_340(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* chain_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509ChainStatusFlags get_Status_341();
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* get_TrustAnchors_342();
bool Build_343(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* leaf_);
bool IsValid_344(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* cert_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* FindCertificateParent_345(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* child_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* FindCertificateRoot_346(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* potentialRoot_);
bool IsTrusted_347(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* potentialTrusted_);
bool IsParent_348(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* child_, DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* parent_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509CertificateCollection : DLL2SDK::mscorlib::System::Collections::CollectionBase
{
void _ctor_320();
void _ctor_321(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* value_);
DLL2SDK::mscorlib::System::Collections::IEnumerator* System_Collections_IEnumerable_GetEnumerator_322();
DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* get_Item_323(int32_t index_);
int32_t Add_324(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* value_);
void AddRange_325(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* value_);
bool Contains_326(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* value_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection_X509CertificateEnumerator* GetEnumerator_327();
int32_t GetHashCode_328();
int32_t IndexOf_329(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* value_);
void Remove_330(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* value_);
bool Compare_331(DLL2SDK::Array<uint8_t>* array1_, DLL2SDK::Array<uint8_t>* array2_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X509Certificate : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::Mono_Security::Mono::Security::ASN1* decoder_;
DLL2SDK::Array<uint8_t>* m_encodedcert_;
DLL2SDK::mscorlib::System::DateTime m_from_;
DLL2SDK::mscorlib::System::DateTime m_until_;
DLL2SDK::Mono_Security::Mono::Security::ASN1* issuer_;
DLL2SDK::mscorlib::System::String* m_issuername_;
DLL2SDK::mscorlib::System::String* m_keyalgo_;
DLL2SDK::Array<uint8_t>* m_keyalgoparams_;
DLL2SDK::Mono_Security::Mono::Security::ASN1* subject_;
DLL2SDK::mscorlib::System::String* m_subject_;
DLL2SDK::Array<uint8_t>* m_publickey_;
DLL2SDK::Array<uint8_t>* signature_;
DLL2SDK::mscorlib::System::String* m_signaturealgo_;
DLL2SDK::Array<uint8_t>* m_signaturealgoparams_;
DLL2SDK::Array<uint8_t>* certhash_;
DLL2SDK::mscorlib::System::Security::Cryptography::RSA* _rsa_;
DLL2SDK::mscorlib::System::Security::Cryptography::DSA* _dsa_;
int32_t version_;
DLL2SDK::Array<uint8_t>* serialnumber_;
DLL2SDK::Array<uint8_t>* issuerUniqueID_;
DLL2SDK::Array<uint8_t>* subjectUniqueID_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509ExtensionCollection* extensions_;
struct StaticFields
{
DLL2SDK::mscorlib::System::String* encoding_error_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_mapF_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map10_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map11_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_287(DLL2SDK::Array<uint8_t>* data_);
void Parse_289(DLL2SDK::Array<uint8_t>* data_);
DLL2SDK::Array<uint8_t>* GetUnsignedBigInteger_290(DLL2SDK::Array<uint8_t>* integer_);
DLL2SDK::mscorlib::System::Security::Cryptography::DSA* get_DSA_291();
void set_DSA_292(DLL2SDK::mscorlib::System::Security::Cryptography::DSA* value_);
DLL2SDK::Mono_Security::Mono::Security::X509::X509ExtensionCollection* get_Extensions_293();
DLL2SDK::Array<uint8_t>* get_Hash_294();
DLL2SDK::mscorlib::System::String* get_IssuerName_295();
DLL2SDK::mscorlib::System::String* get_KeyAlgorithm_296();
DLL2SDK::Array<uint8_t>* get_KeyAlgorithmParameters_297();
void set_KeyAlgorithmParameters_298(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Array<uint8_t>* get_PublicKey_299();
DLL2SDK::mscorlib::System::Security::Cryptography::RSA* get_RSA_300();
void set_RSA_301(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* value_);
DLL2SDK::Array<uint8_t>* get_RawData_302();
DLL2SDK::Array<uint8_t>* get_SerialNumber_303();
DLL2SDK::Array<uint8_t>* get_Signature_304();
DLL2SDK::mscorlib::System::String* get_SignatureAlgorithm_305();
DLL2SDK::mscorlib::System::String* get_SubjectName_306();
DLL2SDK::mscorlib::System::DateTime get_ValidFrom_307();
DLL2SDK::mscorlib::System::DateTime get_ValidUntil_308();
int32_t get_Version_309();
bool get_IsCurrent_310();
bool WasCurrent_311(DLL2SDK::mscorlib::System::DateTime instant_);
bool VerifySignature_312(DLL2SDK::mscorlib::System::Security::Cryptography::DSA* dsa_);
bool VerifySignature_313(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_);
bool VerifySignature_314(DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* aa_);
bool get_IsSelfSigned_315();
DLL2SDK::Mono_Security::Mono::Security::ASN1* GetIssuerName_316();
DLL2SDK::Mono_Security::Mono::Security::ASN1* GetSubjectName_317();
void GetObjectData_318(DLL2SDK::mscorlib::System::Runtime::Serialization::SerializationInfo* info_, DLL2SDK::mscorlib::System::Runtime::Serialization::StreamingContext context_);
static void _cctor_288();
static DLL2SDK::Array<uint8_t>* PEM_319(DLL2SDK::mscorlib::System::String* type_, DLL2SDK::Array<uint8_t>* data_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct X501 : DLL2SDK::mscorlib::System::Object
{
struct StaticFields
{
DLL2SDK::Array<uint8_t>* countryName_;
DLL2SDK::Array<uint8_t>* organizationName_;
DLL2SDK::Array<uint8_t>* organizationalUnitName_;
DLL2SDK::Array<uint8_t>* commonName_;
DLL2SDK::Array<uint8_t>* localityName_;
DLL2SDK::Array<uint8_t>* stateOrProvinceName_;
DLL2SDK::Array<uint8_t>* streetAddress_;
DLL2SDK::Array<uint8_t>* domainComponent_;
DLL2SDK::Array<uint8_t>* userid_;
DLL2SDK::Array<uint8_t>* email_;
DLL2SDK::Array<uint8_t>* dnQualifier_;
DLL2SDK::Array<uint8_t>* title_;
DLL2SDK::Array<uint8_t>* surname_;
DLL2SDK::Array<uint8_t>* givenName_;
DLL2SDK::Array<uint8_t>* initial_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_mapD_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
static void _cctor_274();
static DLL2SDK::mscorlib::System::String* ToString_275(DLL2SDK::Mono_Security::Mono::Security::ASN1* seq_);
static DLL2SDK::mscorlib::System::String* ToString_276(DLL2SDK::Mono_Security::Mono::Security::ASN1* seq_, bool reversed_, DLL2SDK::mscorlib::System::String* separator_, bool quotes_);
static void AppendEntry_277(DLL2SDK::mscorlib::System::Text::StringBuilder* sb_, DLL2SDK::Mono_Security::Mono::Security::ASN1* entry_, bool quotes_);
static DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue* GetAttributeFromOid_278(DLL2SDK::mscorlib::System::String* attributeType_);
static bool IsOid_279(DLL2SDK::mscorlib::System::String* oid_);
static DLL2SDK::Mono_Security::Mono::Security::X509::X520_AttributeTypeAndValue* ReadAttribute_280(DLL2SDK::mscorlib::System::String* value_, int32_t* pos_);
static bool IsHex_281(wchar_t c_);
static DLL2SDK::mscorlib::System::String* ReadHex_282(DLL2SDK::mscorlib::System::String* value_, int32_t* pos_);
static int32_t ReadEscaped_283(DLL2SDK::mscorlib::System::Text::StringBuilder* sb_, DLL2SDK::mscorlib::System::String* value_, int32_t pos_);
static int32_t ReadQuoted_284(DLL2SDK::mscorlib::System::Text::StringBuilder* sb_, DLL2SDK::mscorlib::System::String* value_, int32_t pos_);
static DLL2SDK::mscorlib::System::String* ReadValue_285(DLL2SDK::mscorlib::System::String* value_, int32_t* pos_);
static DLL2SDK::Mono_Security::Mono::Security::ASN1* FromString_286(DLL2SDK::mscorlib::System::String* rdn_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct PKCS12 : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::Array<uint8_t>* _password_;
DLL2SDK::mscorlib::System::Collections::ArrayList* _keyBags_;
DLL2SDK::mscorlib::System::Collections::ArrayList* _secretBags_;
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* _certs_;
bool _keyBagsChanged_;
bool _secretBagsChanged_;
bool _certsChanged_;
int32_t _iterations_;
DLL2SDK::mscorlib::System::Collections::ArrayList* _safeBags_;
DLL2SDK::mscorlib::System::Security::Cryptography::RandomNumberGenerator* _rng_;
struct StaticFields
{
int32_t recommendedIterationCount_;
int32_t password_max_length_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map5_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map6_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map7_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_map8_;
DLL2SDK::mscorlib::System::Collections::Generic::Dictionary_2<DLL2SDK::mscorlib::System::String*, int32_t>* __f__switch_mapC_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_233();
void _ctor_234(DLL2SDK::Array<uint8_t>* data_);
void _ctor_235(DLL2SDK::Array<uint8_t>* data_, DLL2SDK::mscorlib::System::String* password_);
void Decode_237(DLL2SDK::Array<uint8_t>* data_);
void Finalize_238();
void set_Password_239(DLL2SDK::mscorlib::System::String* value_);
int32_t get_IterationCount_240();
void set_IterationCount_241(int32_t value_);
DLL2SDK::mscorlib::System::Collections::ArrayList* get_Keys_242();
DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* get_Certificates_243();
DLL2SDK::mscorlib::System::Security::Cryptography::RandomNumberGenerator* get_RNG_244();
bool Compare_245(DLL2SDK::Array<uint8_t>* expected_, DLL2SDK::Array<uint8_t>* actual_);
DLL2SDK::mscorlib::System::Security::Cryptography::SymmetricAlgorithm* GetSymmetricAlgorithm_246(DLL2SDK::mscorlib::System::String* algorithmOid_, DLL2SDK::Array<uint8_t>* salt_, int32_t iterationCount_);
DLL2SDK::Array<uint8_t>* Decrypt_247(DLL2SDK::mscorlib::System::String* algorithmOid_, DLL2SDK::Array<uint8_t>* salt_, int32_t iterationCount_, DLL2SDK::Array<uint8_t>* encryptedData_);
DLL2SDK::Array<uint8_t>* Decrypt_248(DLL2SDK::Mono_Security::Mono::Security::PKCS7_EncryptedData* ed_);
DLL2SDK::Array<uint8_t>* Encrypt_249(DLL2SDK::mscorlib::System::String* algorithmOid_, DLL2SDK::Array<uint8_t>* salt_, int32_t iterationCount_, DLL2SDK::Array<uint8_t>* data_);
DLL2SDK::mscorlib::System::Security::Cryptography::DSAParameters GetExistingParameters_250(bool* found_);
void AddPrivateKey_251(DLL2SDK::Mono_Security::Mono::Security::Cryptography::PKCS8_PrivateKeyInfo* pki_);
void ReadSafeBag_252(DLL2SDK::Mono_Security::Mono::Security::ASN1* safeBag_);
DLL2SDK::Mono_Security::Mono::Security::ASN1* CertificateSafeBag_253(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* x509_, DLL2SDK::mscorlib::System::Collections::IDictionary* attributes_);
DLL2SDK::Array<uint8_t>* MAC_254(DLL2SDK::Array<uint8_t>* password_, DLL2SDK::Array<uint8_t>* salt_, int32_t iterations_, DLL2SDK::Array<uint8_t>* data_);
DLL2SDK::Array<uint8_t>* GetBytes_255();
DLL2SDK::Mono_Security::Mono::Security::PKCS7_ContentInfo* EncryptedContentInfo_256(DLL2SDK::Mono_Security::Mono::Security::ASN1* safeBags_, DLL2SDK::mscorlib::System::String* algorithmOid_);
void AddCertificate_257(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* cert_);
void AddCertificate_258(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* cert_, DLL2SDK::mscorlib::System::Collections::IDictionary* attributes_);
void RemoveCertificate_259(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* cert_);
void RemoveCertificate_260(DLL2SDK::Mono_Security::Mono::Security::X509::X509Certificate* cert_, DLL2SDK::mscorlib::System::Collections::IDictionary* attrs_);
DLL2SDK::mscorlib::System::Object* Clone_261();
static void _cctor_236();
static int32_t get_MaximumPasswordLength_262();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509
{
struct SafeBag : DLL2SDK::mscorlib::System::Object
{
DLL2SDK::mscorlib::System::String* _bagOID_;
DLL2SDK::Mono_Security::Mono::Security::ASN1* _asn1_;
void _ctor_230(DLL2SDK::mscorlib::System::String* bagOID_, DLL2SDK::Mono_Security::Mono::Security::ASN1* asn1_);
DLL2SDK::mscorlib::System::String* get_BagOID_231();
DLL2SDK::Mono_Security::Mono::Security::ASN1* get_ASN1_232();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct RSAManaged : DLL2SDK::mscorlib::System::Security::Cryptography::RSA
{
bool isCRTpossible_;
bool keyBlinding_;
bool keypairGenerated_;
bool m_disposed_;
DLL2SDK::Mono_Security::Mono::Math::BigInteger* d_;
DLL2SDK::Mono_Security::Mono::Math::BigInteger* p_;
DLL2SDK::Mono_Security::Mono::Math::BigInteger* q_;
DLL2SDK::Mono_Security::Mono::Math::BigInteger* dp_;
DLL2SDK::Mono_Security::Mono::Math::BigInteger* dq_;
DLL2SDK::Mono_Security::Mono::Math::BigInteger* qInv_;
DLL2SDK::Mono_Security::Mono::Math::BigInteger* n_;
DLL2SDK::Mono_Security::Mono::Math::BigInteger* e_;
DLL2SDK::Mono_Security::Mono::Security::Cryptography::RSAManaged_KeyGeneratedEventHandler* KeyGenerated_;
void _ctor_213();
void _ctor_214(int32_t keySize_);
void Finalize_215();
void GenerateKeyPair_216();
int32_t get_KeySize_217();
bool get_PublicOnly_218();
DLL2SDK::Array<uint8_t>* DecryptValue_219(DLL2SDK::Array<uint8_t>* rgb_);
DLL2SDK::Array<uint8_t>* EncryptValue_220(DLL2SDK::Array<uint8_t>* rgb_);
DLL2SDK::mscorlib::System::Security::Cryptography::RSAParameters ExportParameters_221(bool includePrivateParameters_);
void ImportParameters_222(DLL2SDK::mscorlib::System::Security::Cryptography::RSAParameters parameters_);
void Dispose_223(bool disposing_);
DLL2SDK::mscorlib::System::String* ToXmlString_224(bool includePrivateParameters_);
DLL2SDK::Array<uint8_t>* GetPaddedValue_225(DLL2SDK::Mono_Security::Mono::Math::BigInteger* value_, int32_t length_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct RC4 : DLL2SDK::mscorlib::System::Security::Cryptography::SymmetricAlgorithm
{
struct StaticFields
{
DLL2SDK::Array<DLL2SDK::mscorlib::System::Security::Cryptography::KeySizes*>* s_legalBlockSizes_;
DLL2SDK::Array<DLL2SDK::mscorlib::System::Security::Cryptography::KeySizes*>* s_legalKeySizes_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_207();
DLL2SDK::Array<uint8_t>* get_IV_209();
void set_IV_210(DLL2SDK::Array<uint8_t>* value_);
static void _cctor_208();
static DLL2SDK::Mono_Security::Mono::Security::Cryptography::RC4* Create_211();
static DLL2SDK::Mono_Security::Mono::Security::Cryptography::RC4* Create_212(DLL2SDK::mscorlib::System::String* algName_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct PKCS8 : DLL2SDK::mscorlib::System::Object
{
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct PKCS1 : DLL2SDK::mscorlib::System::Object
{
struct StaticFields
{
DLL2SDK::Array<uint8_t>* emptySHA1_;
DLL2SDK::Array<uint8_t>* emptySHA256_;
DLL2SDK::Array<uint8_t>* emptySHA384_;
DLL2SDK::Array<uint8_t>* emptySHA512_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
static void _cctor_182();
static bool Compare_183(DLL2SDK::Array<uint8_t>* array1_, DLL2SDK::Array<uint8_t>* array2_);
static DLL2SDK::Array<uint8_t>* I2OSP_184(DLL2SDK::Array<uint8_t>* x_, int32_t size_);
static DLL2SDK::Array<uint8_t>* OS2IP_185(DLL2SDK::Array<uint8_t>* x_);
static DLL2SDK::Array<uint8_t>* RSASP1_186(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_, DLL2SDK::Array<uint8_t>* m_);
static DLL2SDK::Array<uint8_t>* RSAVP1_187(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_, DLL2SDK::Array<uint8_t>* s_);
static DLL2SDK::Array<uint8_t>* Sign_v15_188(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_, DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* hash_, DLL2SDK::Array<uint8_t>* hashValue_);
static bool Verify_v15_189(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_, DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* hash_, DLL2SDK::Array<uint8_t>* hashValue_, DLL2SDK::Array<uint8_t>* signature_);
static bool Verify_v15_190(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_, DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* hash_, DLL2SDK::Array<uint8_t>* hashValue_, DLL2SDK::Array<uint8_t>* signature_, bool tryNonStandardEncoding_);
static DLL2SDK::Array<uint8_t>* Encode_v15_191(DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm* hash_, DLL2SDK::Array<uint8_t>* hashValue_, int32_t emLength_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct MD4 : DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm
{
void _ctor_164();
static DLL2SDK::Mono_Security::Mono::Security::Cryptography::MD4* Create_165();
static DLL2SDK::Mono_Security::Mono::Security::Cryptography::MD4* Create_166(DLL2SDK::mscorlib::System::String* hashName_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct MD2 : DLL2SDK::mscorlib::System::Security::Cryptography::HashAlgorithm
{
void _ctor_154();
static DLL2SDK::Mono_Security::Mono::Security::Cryptography::MD2* Create_155();
static DLL2SDK::Mono_Security::Mono::Security::Cryptography::MD2* Create_156(DLL2SDK::mscorlib::System::String* hashName_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct KeyBuilder : DLL2SDK::mscorlib::System::Object
{
struct StaticFields
{
DLL2SDK::mscorlib::System::Security::Cryptography::RandomNumberGenerator* rng_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
static DLL2SDK::mscorlib::System::Security::Cryptography::RandomNumberGenerator* get_Rng_152();
static DLL2SDK::Array<uint8_t>* Key_153(int32_t size_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct CryptoConvert : DLL2SDK::mscorlib::System::Object
{
static int32_t ToInt32LE_144(DLL2SDK::Array<uint8_t>* bytes_, int32_t offset_);
static uint32_t ToUInt32LE_145(DLL2SDK::Array<uint8_t>* bytes_, int32_t offset_);
static DLL2SDK::Array<uint8_t>* Trim_146(DLL2SDK::Array<uint8_t>* array_);
static DLL2SDK::mscorlib::System::Security::Cryptography::RSA* FromCapiPrivateKeyBlob_147(DLL2SDK::Array<uint8_t>* blob_);
static DLL2SDK::mscorlib::System::Security::Cryptography::RSA* FromCapiPrivateKeyBlob_148(DLL2SDK::Array<uint8_t>* blob_, int32_t offset_);
static DLL2SDK::mscorlib::System::String* ToHex_149(DLL2SDK::Array<uint8_t>* input_);
static uint8_t FromHexChar_150(wchar_t c_);
static DLL2SDK::Array<uint8_t>* FromHex_151(DLL2SDK::mscorlib::System::String* hex_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct ARC4Managed : DLL2SDK::Mono_Security::Mono::Security::Cryptography::RC4
{
DLL2SDK::Array<uint8_t>* key_;
DLL2SDK::Array<uint8_t>* state_;
uint8_t x_;
uint8_t y_;
bool m_disposed_;
void _ctor_126();
void Finalize_127();
void Dispose_128(bool disposing_);
DLL2SDK::Array<uint8_t>* get_Key_129();
void set_Key_130(DLL2SDK::Array<uint8_t>* value_);
bool get_CanReuseTransform_131();
DLL2SDK::mscorlib::System::Security::Cryptography::ICryptoTransform* CreateEncryptor_132(DLL2SDK::Array<uint8_t>* rgbKey_, DLL2SDK::Array<uint8_t>* rgvIV_);
DLL2SDK::mscorlib::System::Security::Cryptography::ICryptoTransform* CreateDecryptor_133(DLL2SDK::Array<uint8_t>* rgbKey_, DLL2SDK::Array<uint8_t>* rgvIV_);
void GenerateIV_134();
void GenerateKey_135();
bool get_CanTransformMultipleBlocks_136();
int32_t get_InputBlockSize_137();
int32_t get_OutputBlockSize_138();
void KeySetup_139(DLL2SDK::Array<uint8_t>* key_);
void CheckInput_140(DLL2SDK::Array<uint8_t>* inputBuffer_, int32_t inputOffset_, int32_t inputCount_);
int32_t TransformBlock_141(DLL2SDK::Array<uint8_t>* inputBuffer_, int32_t inputOffset_, int32_t inputCount_, DLL2SDK::Array<uint8_t>* outputBuffer_, int32_t outputOffset_);
int32_t InternalTransformBlock_142(DLL2SDK::Array<uint8_t>* inputBuffer_, int32_t inputOffset_, int32_t inputCount_, DLL2SDK::Array<uint8_t>* outputBuffer_, int32_t outputOffset_);
DLL2SDK::Array<uint8_t>* TransformFinalBlock_143(DLL2SDK::Array<uint8_t>* inputBuffer_, int32_t inputOffset_, int32_t inputCount_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Authenticode
{
struct PrivateKey : DLL2SDK::mscorlib::System::Object
{
bool encrypted_;
DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_;
bool weak_;
int32_t keyType_;
void _ctor_120(DLL2SDK::Array<uint8_t>* data_, DLL2SDK::mscorlib::System::String* password_);
DLL2SDK::mscorlib::System::Security::Cryptography::RSA* get_RSA_121();
DLL2SDK::Array<uint8_t>* DeriveKey_122(DLL2SDK::Array<uint8_t>* salt_, DLL2SDK::mscorlib::System::String* password_);
bool Decode_123(DLL2SDK::Array<uint8_t>* pvk_, DLL2SDK::mscorlib::System::String* password_);
static DLL2SDK::Mono_Security::Mono::Security::Authenticode::PrivateKey* CreateFromFile_124(DLL2SDK::mscorlib::System::String* filename_);
static DLL2SDK::Mono_Security::Mono::Security::Authenticode::PrivateKey* CreateFromFile_125(DLL2SDK::mscorlib::System::String* filename_, DLL2SDK::mscorlib::System::String* password_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security
{
struct PKCS7 : DLL2SDK::mscorlib::System::Object
{
};
}
namespace DLL2SDK::Mono_Security::Mono::Security
{
struct BitConverterLE : DLL2SDK::mscorlib::System::Object
{
static DLL2SDK::Array<uint8_t>* GetUIntBytes_101(uint8_t* bytes_);
static DLL2SDK::Array<uint8_t>* GetBytes_102(int32_t value_);
static void UIntFromBytes_103(uint8_t* dst_, DLL2SDK::Array<uint8_t>* src_, int32_t startIndex_);
static int32_t ToInt32_104(DLL2SDK::Array<uint8_t>* value_, int32_t startIndex_);
static uint32_t ToUInt32_105(DLL2SDK::Array<uint8_t>* value_, int32_t startIndex_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security
{
struct ASN1Convert : DLL2SDK::mscorlib::System::Object
{
static DLL2SDK::Mono_Security::Mono::Security::ASN1* FromInt32_96(int32_t value_);
static DLL2SDK::Mono_Security::Mono::Security::ASN1* FromOid_97(DLL2SDK::mscorlib::System::String* oid_);
static int32_t ToInt32_98(DLL2SDK::Mono_Security::Mono::Security::ASN1* asn1_);
static DLL2SDK::mscorlib::System::String* ToOid_99(DLL2SDK::Mono_Security::Mono::Security::ASN1* asn1_);
static DLL2SDK::mscorlib::System::DateTime ToDateTime_100(DLL2SDK::Mono_Security::Mono::Security::ASN1* time_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security
{
struct ASN1 : DLL2SDK::mscorlib::System::Object
{
uint8_t m_nTag_;
DLL2SDK::Array<uint8_t>* m_aValue_;
DLL2SDK::mscorlib::System::Collections::ArrayList* elist_;
void _ctor_79(uint8_t tag_);
void _ctor_80(uint8_t tag_, DLL2SDK::Array<uint8_t>* data_);
void _ctor_81(DLL2SDK::Array<uint8_t>* data_);
int32_t get_Count_82();
uint8_t get_Tag_83();
int32_t get_Length_84();
DLL2SDK::Array<uint8_t>* get_Value_85();
void set_Value_86(DLL2SDK::Array<uint8_t>* value_);
bool CompareArray_87(DLL2SDK::Array<uint8_t>* array1_, DLL2SDK::Array<uint8_t>* array2_);
bool CompareValue_88(DLL2SDK::Array<uint8_t>* value_);
DLL2SDK::Mono_Security::Mono::Security::ASN1* Add_89(DLL2SDK::Mono_Security::Mono::Security::ASN1* asn1_);
DLL2SDK::Array<uint8_t>* GetBytes_90();
void Decode_91(DLL2SDK::Array<uint8_t>* asn1_, int32_t* anPos_, int32_t anLength_);
void DecodeTLV_92(DLL2SDK::Array<uint8_t>* asn1_, int32_t* pos_, uint8_t* tag_, int32_t* length_, DLL2SDK::Array<uint8_t>* content_);
DLL2SDK::Mono_Security::Mono::Security::ASN1* get_Item_93(int32_t index_);
DLL2SDK::Mono_Security::Mono::Security::ASN1* Element_94(int32_t index_, uint8_t anTag_);
DLL2SDK::mscorlib::System::String* ToString_95();
};
}
namespace DLL2SDK::Mono_Security::Mono::Math::Prime::Generator
{
struct PrimeGeneratorBase : DLL2SDK::mscorlib::System::Object
{
void _ctor_69();
DLL2SDK::Mono_Security::Mono::Math::Prime::ConfidenceFactor get_Confidence_70();
DLL2SDK::Mono_Security::Mono::Math::Prime::PrimalityTest* get_PrimalityTest_71();
int32_t get_TrialDivisionBounds_72();
DLL2SDK::Mono_Security::Mono::Math::BigInteger* GenerateNewPrime_73(int32_t bits_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Math::Prime
{
struct PrimalityTests : DLL2SDK::mscorlib::System::Object
{
static int32_t GetSPPRounds_67(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, DLL2SDK::Mono_Security::Mono::Math::Prime::ConfidenceFactor confidence_);
static bool RabinMillerTest_68(DLL2SDK::Mono_Security::Mono::Math::BigInteger* n_, DLL2SDK::Mono_Security::Mono::Math::Prime::ConfidenceFactor confidence_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Math
{
struct BigInteger : DLL2SDK::mscorlib::System::Object
{
uint32_t length_;
DLL2SDK::Array<uint32_t>* data_;
struct StaticFields
{
DLL2SDK::Array<uint32_t>* smallPrimes_;
DLL2SDK::mscorlib::System::Security::Cryptography::RandomNumberGenerator* rng_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_2(DLL2SDK::Mono_Security::Mono::Math::BigInteger_Sign sign_, uint32_t len_);
void _ctor_3(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_);
void _ctor_4(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, uint32_t len_);
void _ctor_5(DLL2SDK::Array<uint8_t>* inData_);
void _ctor_6(uint32_t ui_);
int32_t BitCount_11();
bool TestBit_12(int32_t bitNum_);
void SetBit_13(uint32_t bitNum_);
void SetBit_14(uint32_t bitNum_, bool value_);
int32_t LowestSetBit_15();
DLL2SDK::Array<uint8_t>* GetBytes_16();
DLL2SDK::mscorlib::System::String* ToString_17(uint32_t radix_);
DLL2SDK::mscorlib::System::String* ToString_18(uint32_t radix_, DLL2SDK::mscorlib::System::String* characterSet_);
void Normalize_19();
void Clear_20();
int32_t GetHashCode_21();
DLL2SDK::mscorlib::System::String* ToString_22();
bool Equals_23(DLL2SDK::mscorlib::System::Object* o_);
DLL2SDK::Mono_Security::Mono::Math::BigInteger* ModInverse_24(DLL2SDK::Mono_Security::Mono::Math::BigInteger* modulus_);
DLL2SDK::Mono_Security::Mono::Math::BigInteger* ModPow_25(DLL2SDK::Mono_Security::Mono::Math::BigInteger* exp_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* n_);
void Incr2_27();
static void _cctor_7();
static DLL2SDK::mscorlib::System::Security::Cryptography::RandomNumberGenerator* get_Rng_8();
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* GenerateRandom_9(int32_t bits_, DLL2SDK::mscorlib::System::Security::Cryptography::RandomNumberGenerator* rng_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* GenerateRandom_10(int32_t bits_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* GeneratePseudoPrime_26(int32_t bits_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* op_Addition_30(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* op_Subtraction_31(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static uint32_t op_Modulus_32(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, uint32_t ui_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* op_Modulus_33(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* op_Division_34(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* op_Multiply_35(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* op_LeftShift_36(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, int32_t shiftVal_);
static DLL2SDK::Mono_Security::Mono::Math::BigInteger* op_RightShift_37(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, int32_t shiftVal_);
static bool op_Equality_38(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, uint32_t ui_);
static bool op_Inequality_39(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, uint32_t ui_);
static bool op_Equality_40(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static bool op_Inequality_41(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static bool op_GreaterThan_42(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static bool op_LessThan_43(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static bool op_GreaterThanOrEqual_44(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
static bool op_LessThanOrEqual_45(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi1_, DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi2_);
};
}
namespace DLL2SDK::Mono_Security
{
struct Locale : DLL2SDK::mscorlib::System::Object
{
static DLL2SDK::mscorlib::System::String* GetText_1(DLL2SDK::mscorlib::System::String* msg_);
};
}
namespace DLL2SDK::Mono_Security
{
struct _Module_ : DLL2SDK::Object
{
};
}
namespace DLL2SDK::Mono_Security::Mono::Math::Prime
{
struct PrimalityTest : DLL2SDK::mscorlib::System::MulticastDelegate
{
void _ctor_1025(DLL2SDK::mscorlib::System::Object* object_, intptr_t method_);
bool Invoke_1026(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, DLL2SDK::Mono_Security::Mono::Math::Prime::ConfidenceFactor confidence_);
DLL2SDK::mscorlib::System::IAsyncResult* BeginInvoke_1027(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, DLL2SDK::Mono_Security::Mono::Math::Prime::ConfidenceFactor confidence_, DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* object_);
bool EndInvoke_1028(DLL2SDK::mscorlib::System::IAsyncResult* result_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsServerKeyExchange : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_1020(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void Update_1021();
void ProcessAsSsl3_1022();
void ProcessAsTls1_1023();
DLL2SDK::Array<uint8_t>* createSignature_1024(DLL2SDK::mscorlib::System::Security::Cryptography::RSA* rsa_, DLL2SDK::Array<uint8_t>* buffer_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Server
{
struct TlsServerHelloDone : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
void _ctor_1017(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_);
void ProcessAsSsl3_1018();
void ProcessAsTls1_1019();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::Client
{
struct TlsServerHello : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityCompressionType compressionMethod_;
DLL2SDK::Array<uint8_t>* random_;
DLL2SDK::Array<uint8_t>* sessionId_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite* cipherSuite_;
void _ctor_968(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context* context_, DLL2SDK::Array<uint8_t>* buffer_);
void Update_969();
void ProcessAsSsl3_970();
void ProcessAsTls1_971();
void processProtocol_972(int16_t protocol_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct TlsException : DLL2SDK::mscorlib::System::Exception
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Alert* alert_;
void _ctor_862(DLL2SDK::mscorlib::System::String* message_);
void _ctor_863(DLL2SDK::mscorlib::System::Runtime::Serialization::SerializationInfo* info_, DLL2SDK::mscorlib::System::Runtime::Serialization::StreamingContext context_);
void _ctor_864(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertLevel level_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_);
void _ctor_865(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertLevel level_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_, DLL2SDK::mscorlib::System::String* message_);
void _ctor_866(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_);
void _ctor_867(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::AlertDescription description_, DLL2SDK::mscorlib::System::String* message_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Alert* get_Alert_868();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct TlsCipherSuite : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherSuite
{
DLL2SDK::Array<uint8_t>* header_;
DLL2SDK::mscorlib::System::Object* headerLock_;
void _ctor_848(int16_t code_, DLL2SDK::mscorlib::System::String* name_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CipherAlgorithmType cipherAlgorithmType_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::HashAlgorithmType hashAlgorithmType_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ExchangeAlgorithmType exchangeAlgorithmType_, bool exportable_, bool blockMode_, uint8_t keyMaterialSize_, uint8_t expandedKeyMaterialSize_, int16_t effectiveKeyBytes_, uint8_t ivSize_, uint8_t blockSize_);
DLL2SDK::Array<uint8_t>* ComputeServerRecordMAC_849(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* fragment_);
DLL2SDK::Array<uint8_t>* ComputeClientRecordMAC_850(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ContentType contentType_, DLL2SDK::Array<uint8_t>* fragment_);
void ComputeMasterSecret_851(DLL2SDK::Array<uint8_t>* preMasterSecret_);
void ComputeKeys_852();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct SslServerStream : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslStreamBase
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback* ClientCertValidation_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::PrivateKeySelectionCallback* PrivateKeySelection_;
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::CertificateValidationCallback2* ClientCertValidation2_;
void _ctor_761(DLL2SDK::mscorlib::System::IO::Stream* stream_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, bool clientCertificateRequired_, bool ownsStream_);
void _ctor_762(DLL2SDK::mscorlib::System::IO::Stream* stream_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, bool clientCertificateRequired_, bool ownsStream_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType securityProtocolType_);
void _ctor_763(DLL2SDK::mscorlib::System::IO::Stream* stream_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, bool clientCertificateRequired_, bool requestClientCertificate_, bool ownsStream_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType securityProtocolType_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::PrivateKeySelectionCallback* get_PrivateKeyCertSelectionDelegate_764();
void set_PrivateKeyCertSelectionDelegate_765(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::PrivateKeySelectionCallback* value_);
void Finalize_766();
void Dispose_767(bool disposing_);
DLL2SDK::mscorlib::System::IAsyncResult* OnBeginNegotiateHandshake_768(DLL2SDK::mscorlib::System::AsyncCallback* callback_, DLL2SDK::mscorlib::System::Object* state_);
void OnNegotiateHandshakeCallback_769(DLL2SDK::mscorlib::System::IAsyncResult* asyncResult_);
DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* OnLocalCertificateSelection_770(DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* clientCertificates_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, DLL2SDK::mscorlib::System::String* targetHost_, DLL2SDK::System::System::Security::Cryptography::X509Certificates::X509CertificateCollection* serverRequestedCertificates_);
bool OnRemoteCertificateValidation_771(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::Array<int32_t>* errors_);
bool get_HaveRemoteValidation2Callback_772();
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ValidationResult* OnRemoteCertificateValidation2_773(DLL2SDK::Mono_Security::Mono::Security::X509::X509CertificateCollection* collection_);
bool RaiseClientCertificateValidation_774(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::Array<int32_t>* certificateErrors_);
DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* OnLocalPrivateKeySelection_775(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::mscorlib::System::String* targetHost_);
DLL2SDK::mscorlib::System::Security::Cryptography::AsymmetricAlgorithm* RaisePrivateKeySelection_776(DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* certificate_, DLL2SDK::mscorlib::System::String* targetHost_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct ServerRecordProtocol : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::RecordProtocol
{
void _ctor_704(DLL2SDK::mscorlib::System::IO::Stream* innerStream_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::ServerContext* context_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* GetMessage_705(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType type_);
void ProcessHandshakeMessage_706(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::TlsStream* handMsg_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* createClientHandshakeMessage_707(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType type_, DLL2SDK::Array<uint8_t>* buffer_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeMessage* createServerHandshakeMessage_708(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Handshake::HandshakeType type_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls
{
struct ServerContext : DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::Context
{
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslServerStream* sslStream_;
bool request_client_certificate_;
bool clientCertificateRequired_;
void _ctor_700(DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslServerStream* stream_, DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SecurityProtocolType securityProtocolType_, DLL2SDK::mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate* serverCertificate_, bool clientCertificateRequired_, bool requestClientCertificate_);
DLL2SDK::Mono_Security::Mono::Security::Protocol::Tls::SslServerStream* get_SslStream_701();
bool get_ClientCertificateRequired_702();
bool get_RequestClientCertificate_703();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509::Extensions
{
struct SubjectAltNameExtension : DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension
{
DLL2SDK::Mono_Security::Mono::Security::X509::Extensions::GeneralNames* _names_;
void _ctor_445(DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension* extension_);
void Decode_446();
DLL2SDK::Array<DLL2SDK::mscorlib::System::String*>* get_DNSNames_447();
DLL2SDK::Array<DLL2SDK::mscorlib::System::String*>* get_IPAddresses_448();
DLL2SDK::mscorlib::System::String* ToString_449();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::X509::Extensions
{
struct KeyUsageExtension : DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension
{
int32_t kubits_;
void _ctor_436(DLL2SDK::Mono_Security::Mono::Security::X509::X509Extension* extension_);
void Decode_437();
void Encode_438();
bool Support_439(DLL2SDK::Mono_Security::Mono::Security::X509::Extensions::KeyUsages usage_);
DLL2SDK::mscorlib::System::String* ToString_440();
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct MD4Managed : DLL2SDK::Mono_Security::Mono::Security::Cryptography::MD4
{
DLL2SDK::Array<uint32_t>* state_;
DLL2SDK::Array<uint8_t>* buffer_;
DLL2SDK::Array<uint32_t>* count_;
DLL2SDK::Array<uint32_t>* x_;
DLL2SDK::Array<uint8_t>* digest_;
void _ctor_167();
void Initialize_168();
void HashCore_169(DLL2SDK::Array<uint8_t>* array_, int32_t ibStart_, int32_t cbSize_);
DLL2SDK::Array<uint8_t>* HashFinal_170();
DLL2SDK::Array<uint8_t>* Padding_171(int32_t nLength_);
uint32_t F_172(uint32_t x_, uint32_t y_, uint32_t z_);
uint32_t G_173(uint32_t x_, uint32_t y_, uint32_t z_);
uint32_t H_174(uint32_t x_, uint32_t y_, uint32_t z_);
uint32_t ROL_175(uint32_t x_, uint8_t n_);
void FF_176(uint32_t* a_, uint32_t b_, uint32_t c_, uint32_t d_, uint32_t x_, uint8_t s_);
void GG_177(uint32_t* a_, uint32_t b_, uint32_t c_, uint32_t d_, uint32_t x_, uint8_t s_);
void HH_178(uint32_t* a_, uint32_t b_, uint32_t c_, uint32_t d_, uint32_t x_, uint8_t s_);
void Encode_179(DLL2SDK::Array<uint8_t>* output_, DLL2SDK::Array<uint32_t>* input_);
void Decode_180(DLL2SDK::Array<uint32_t>* output_, DLL2SDK::Array<uint8_t>* input_, int32_t index_);
void MD4Transform_181(DLL2SDK::Array<uint32_t>* state_, DLL2SDK::Array<uint8_t>* block_, int32_t index_);
};
}
namespace DLL2SDK::Mono_Security::Mono::Security::Cryptography
{
struct MD2Managed : DLL2SDK::Mono_Security::Mono::Security::Cryptography::MD2
{
DLL2SDK::Array<uint8_t>* state_;
DLL2SDK::Array<uint8_t>* checksum_;
DLL2SDK::Array<uint8_t>* buffer_;
int32_t count_;
DLL2SDK::Array<uint8_t>* x_;
struct StaticFields
{
DLL2SDK::Array<uint8_t>* PI_SUBST_;
};
StaticFields* GetStaticFields() { return reinterpret_cast<StaticFields*>(this->ClassPtr->StaticFieldsPtr); }
void _ctor_157();
DLL2SDK::Array<uint8_t>* Padding_159(int32_t nLength_);
void Initialize_160();
void HashCore_161(DLL2SDK::Array<uint8_t>* array_, int32_t ibStart_, int32_t cbSize_);
DLL2SDK::Array<uint8_t>* HashFinal_162();
void MD2Transform_163(DLL2SDK::Array<uint8_t>* state_, DLL2SDK::Array<uint8_t>* checksum_, DLL2SDK::Array<uint8_t>* block_, int32_t index_);
static void _cctor_158();
};
}
namespace DLL2SDK::Mono_Security::Mono::Math::Prime::Generator
{
struct SequentialSearchPrimeGeneratorBase : DLL2SDK::Mono_Security::Mono::Math::Prime::Generator::PrimeGeneratorBase
{
void _ctor_74();
DLL2SDK::Mono_Security::Mono::Math::BigInteger* GenerateSearchBase_75(int32_t bits_, DLL2SDK::mscorlib::System::Object* context_);
DLL2SDK::Mono_Security::Mono::Math::BigInteger* GenerateNewPrime_76(int32_t bits_);
DLL2SDK::Mono_Security::Mono::Math::BigInteger* GenerateNewPrime_77(int32_t bits_, DLL2SDK::mscorlib::System::Object* context_);
bool IsPrimeAcceptable_78(DLL2SDK::Mono_Security::Mono::Math::BigInteger* bi_, DLL2SDK::mscorlib::System::Object* context_);
};
}