terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Mono.Security.Cryptography.RSAManaged Class Reference
+ Inheritance diagram for Mono.Security.Cryptography.RSAManaged:

Classes

class  KeyGeneratedEventHandler
 

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)
 
 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)
 
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 (ReadOnlySpan< byte > hash, 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 (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 (Stream data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
virtual bool VerifyData (ReadOnlySpan< byte > data, ReadOnlySpan< byte > signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
override void FromXmlString (string xmlString)
 
virtual bool TryDecrypt (ReadOnlySpan< byte > data, Span< byte > destination, RSAEncryptionPadding padding, [Out] int bytesWritten)
 
virtual bool TryEncrypt (ReadOnlySpan< byte > data, Span< byte > destination, RSAEncryptionPadding padding, [Out] int bytesWritten)
 
virtual bool TrySignHash (ReadOnlySpan< byte > hash, Span< byte > destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, [Out] int bytesWritten)
 
virtual bool TrySignData (ReadOnlySpan< byte > data, Span< byte > destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, [Out] int bytesWritten)
 
virtual byte[] ExportRSAPrivateKey ()
 
virtual byte[] ExportRSAPublicKey ()
 
virtual void ImportRSAPrivateKey (ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual void ImportRSAPublicKey (ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual bool TryExportRSAPrivateKey (Span< byte > destination, [Out] int bytesWritten)
 
virtual bool TryExportRSAPublicKey (Span< byte > destination, [Out] int bytesWritten)
 
void Dispose ()
 
void Clear ()
 
virtual byte[] ExportEncryptedPkcs8PrivateKey (ReadOnlySpan< byte > passwordBytes, PbeParameters pbeParameters)
 
virtual byte[] ExportEncryptedPkcs8PrivateKey (ReadOnlySpan< char > password, PbeParameters pbeParameters)
 
virtual byte[] ExportPkcs8PrivateKey ()
 
virtual byte[] ExportSubjectPublicKeyInfo ()
 
virtual void ImportEncryptedPkcs8PrivateKey (ReadOnlySpan< byte > passwordBytes, ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual void ImportEncryptedPkcs8PrivateKey (ReadOnlySpan< char > password, ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual void ImportPkcs8PrivateKey (ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual void ImportSubjectPublicKeyInfo (ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual bool TryExportEncryptedPkcs8PrivateKey (ReadOnlySpan< byte > passwordBytes, PbeParameters pbeParameters, Span< byte > destination, [Out] int bytesWritten)
 
virtual bool TryExportEncryptedPkcs8PrivateKey (ReadOnlySpan< char > password, PbeParameters pbeParameters, Span< byte > destination, [Out] int bytesWritten)
 
virtual bool TryExportPkcs8PrivateKey (Span< byte > destination, [Out] int bytesWritten)
 
virtual bool TryExportSubjectPublicKeyInfo (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 (Stream data, HashAlgorithmName hashAlgorithm)
 
virtual bool TryHashData (ReadOnlySpan< byte > data, Span< byte > destination, HashAlgorithmName hashAlgorithm, [Out] int bytesWritten)
 

Protected Attributes

int KeySizeValue
 
KeySizes[] LegalKeySizesValue
 

Static Package Functions

static Exception HashAlgorithmNameNullOrEmpty ()
 

Properties

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

Private Member Functions

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

Static Private Member Functions

static Exception DerivedClassMustOverride ()
 

Private Attributes

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

Detailed Description

Definition at line 9 of file RSAManaged.cs.


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