terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Mono.Security.Cryptography.RSAManaged Class Reference
+ Inheritance diagram for Mono.Security.Cryptography.RSAManaged:
+ Collaboration diagram for Mono.Security.Cryptography.RSAManaged:

Public Member Functions

 RSAManaged ()
 
 RSAManaged (int keySize)
 
override byte[] DecryptValue (byte[] rgb)
 
override byte[] EncryptValue (byte[] rgb)
 
override RSAParameters ExportParameters (bool includePrivateParameters)
 
override void ImportParameters (RSAParameters parameters)
 
override string ToXmlString (bool includePrivateParameters)
 
delegate void KeyGeneratedEventHandler (object sender, EventArgs e)
 
 RSAManaged (int keySize)
 
override byte[] DecryptValue (byte[] rgb)
 
override byte[] EncryptValue (byte[] rgb)
 
override global::System.Security.Cryptography.RSAParameters ExportParameters (bool includePrivateParameters)
 
override void ImportParameters (global::System.Security.Cryptography.RSAParameters parameters)
 
override string ToXmlString (bool includePrivateParameters)
 
delegate void KeyGeneratedEventHandler (object sender, global::System.EventArgs e)
 
virtual byte[] Encrypt (byte[] data, RSAEncryptionPadding padding)
 
virtual byte[] Decrypt (byte[] data, RSAEncryptionPadding padding)
 
virtual byte[] SignHash (byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
virtual bool VerifyHash (byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
virtual bool VerifyHash (global::System.ReadOnlySpan< byte > hash, global::System.ReadOnlySpan< byte > signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
byte[] SignData (byte[] data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
virtual byte[] SignData (byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
virtual byte[] SignData (global::System.IO.Stream data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
bool VerifyData (byte[] data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
virtual bool VerifyData (byte[] data, int offset, int count, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
bool VerifyData (global::System.IO.Stream data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
virtual bool VerifyData (global::System.ReadOnlySpan< byte > data, global::System.ReadOnlySpan< byte > signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
override void FromXmlString (string xmlString)
 
virtual bool TryDecrypt (global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, RSAEncryptionPadding padding, out int bytesWritten)
 
virtual bool TryEncrypt (global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, RSAEncryptionPadding padding, out int bytesWritten)
 
virtual bool TrySignHash (global::System.ReadOnlySpan< byte > hash, global::System.Span< byte > destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, out int bytesWritten)
 
virtual bool TrySignData (global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, out int bytesWritten)
 
virtual byte[] ExportRSAPrivateKey ()
 
virtual byte[] ExportRSAPublicKey ()
 
virtual void ImportRSAPrivateKey (global::System.ReadOnlySpan< byte > source, out int bytesRead)
 
virtual void ImportRSAPublicKey (global::System.ReadOnlySpan< byte > source, out int bytesRead)
 
virtual bool TryExportRSAPrivateKey (global::System.Span< byte > destination, out int bytesWritten)
 
virtual bool TryExportRSAPublicKey (global::System.Span< byte > destination, out int bytesWritten)
 
void Dispose ()
 
void Clear ()
 
virtual byte[] ExportEncryptedPkcs8PrivateKey (global::System.ReadOnlySpan< byte > passwordBytes, PbeParameters pbeParameters)
 
virtual byte[] ExportEncryptedPkcs8PrivateKey (global::System.ReadOnlySpan< char > password, PbeParameters pbeParameters)
 
virtual byte[] ExportPkcs8PrivateKey ()
 
virtual byte[] ExportSubjectPublicKeyInfo ()
 
virtual void ImportEncryptedPkcs8PrivateKey (global::System.ReadOnlySpan< byte > passwordBytes, global::System.ReadOnlySpan< byte > source, out int bytesRead)
 
virtual void ImportEncryptedPkcs8PrivateKey (global::System.ReadOnlySpan< char > password, global::System.ReadOnlySpan< byte > source, out int bytesRead)
 
virtual void ImportPkcs8PrivateKey (global::System.ReadOnlySpan< byte > source, out int bytesRead)
 
virtual void ImportSubjectPublicKeyInfo (global::System.ReadOnlySpan< byte > source, out int bytesRead)
 
virtual bool TryExportEncryptedPkcs8PrivateKey (global::System.ReadOnlySpan< byte > passwordBytes, PbeParameters pbeParameters, global::System.Span< byte > destination, out int bytesWritten)
 
virtual bool TryExportEncryptedPkcs8PrivateKey (global::System.ReadOnlySpan< char > password, PbeParameters pbeParameters, global::System.Span< byte > destination, out int bytesWritten)
 
virtual bool TryExportPkcs8PrivateKey (global::System.Span< byte > destination, out int bytesWritten)
 
virtual bool TryExportSubjectPublicKeyInfo (global::System.Span< byte > destination, out int bytesWritten)
 

Static Public Member Functions

static new RSA Create ()
 
static new RSA Create (string algName)
 
static RSA Create (int keySizeInBits)
 
static RSA Create (RSAParameters parameters)
 

Protected Member Functions

override void Finalize ()
 
override void Dispose (bool disposing)
 
override void Finalize ()
 
override void Dispose (bool disposing)
 
virtual byte[] HashData (byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
 
virtual byte[] HashData (global::System.IO.Stream data, HashAlgorithmName hashAlgorithm)
 
virtual bool TryHashData (global::System.ReadOnlySpan< byte > data, global::System.Span< byte > destination, HashAlgorithmName hashAlgorithm, out int bytesWritten)
 

Protected Attributes

int KeySizeValue
 
KeySizes[] LegalKeySizesValue
 

Static Package Functions

static global::System.Exception HashAlgorithmNameNullOrEmpty ()
 

Properties

override int KeySize [get, set]
 
override string KeyExchangeAlgorithm [get, set]
 
bool PublicOnly [get, set]
 
override string SignatureAlgorithm [get, set]
 
bool IsCrtPossible [get, set]
 
virtual KeySizes[] LegalKeySizes [get, set]
 

Private Member Functions

void GenerateKeyPair ()
 
byte[] GetPaddedValue (BigInteger value, int length)
 
void GenerateKeyPair ()
 
byte[] GetPaddedValue (Mono.Math.BigInteger value, int length)
 

Static Private Member Functions

static global::System.Exception DerivedClassMustOverride ()
 

Private Attributes

bool isCRTpossible
 
bool keyBlinding
 
bool keypairGenerated
 
bool m_disposed
 
BigInteger d
 
BigInteger p
 
BigInteger q
 
BigInteger dp
 
BigInteger dq
 
BigInteger qInv
 
BigInteger n
 
BigInteger e
 
RSAManaged.KeyGeneratedEventHandler KeyGenerated
 
Mono.Math.BigInteger d
 
Mono.Math.BigInteger p
 
Mono.Math.BigInteger q
 
Mono.Math.BigInteger dp
 
Mono.Math.BigInteger dq
 
Mono.Math.BigInteger qInv
 
Mono.Math.BigInteger n
 
Mono.Math.BigInteger e
 

Detailed Description

Definition at line 13 of file RSAManaged.cs.


The documentation for this class was generated from the following files: