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
System.Security.Cryptography.RSACryptoServiceProvider Class Referencesealed
+ Inheritance diagram for System.Security.Cryptography.RSACryptoServiceProvider:

Public Member Functions

override byte[] Encrypt (byte[] data, RSAEncryptionPadding padding)
 
override byte[] Decrypt (byte[] data, RSAEncryptionPadding padding)
 
override byte[] SignHash (byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
override bool VerifyHash (byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
 
 RSACryptoServiceProvider ()
 
 RSACryptoServiceProvider (CspParameters parameters)
 
 RSACryptoServiceProvider (int dwKeySize)
 
 RSACryptoServiceProvider (int dwKeySize, CspParameters parameters)
 
byte[] Decrypt (byte[] rgb, bool fOAEP)
 
override byte[] DecryptValue (byte[] rgb)
 
byte[] Encrypt (byte[] rgb, bool fOAEP)
 
override byte[] EncryptValue (byte[] rgb)
 
override RSAParameters ExportParameters (bool includePrivateParameters)
 
override void ImportParameters (RSAParameters parameters)
 
byte[] SignData (byte[] buffer, object halg)
 
byte[] SignData (Stream inputStream, object halg)
 
byte[] SignData (byte[] buffer, int offset, int count, object halg)
 
byte[] SignHash (byte[] rgbHash, string str)
 
bool VerifyData (byte[] buffer, object halg, byte[] signature)
 
bool VerifyHash (byte[] rgbHash, string str, byte[] rgbSignature)
 
byte[] ExportCspBlob (bool includePrivateParameters)
 
void ImportCspBlob (byte[] keyBlob)
 
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)
 
override string ToXmlString (bool includePrivateParameters)
 
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 byte[] HashData (byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
 
override byte[] HashData (Stream data, HashAlgorithmName hashAlgorithm)
 
override void Finalize ()
 
override void Dispose (bool disposing)
 
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 string SignatureAlgorithm [get]
 
static bool UseMachineKeyStore [get, set]
 
override string KeyExchangeAlgorithm [get]
 
override int KeySize [get]
 
bool PersistKeyInCsp [get, set]
 
bool PublicOnly [get]
 
CspKeyContainerInfo CspKeyContainerInfo [get]
 
virtual KeySizes[] LegalKeySizes [get]
 

Private Member Functions

void Common (int dwKeySize, bool parameters)
 
void Common (CspParameters p)
 
HashAlgorithm GetHash (object halg)
 
HashAlgorithm GetHashFromString (string name)
 
string GetHashNameFromOID (string oid)
 
byte[] SignHash (byte[] rgbHash, int calgHash)
 
bool VerifyHash (byte[] rgbHash, int calgHash, byte[] rgbSignature)
 
void OnKeyGenerated (object sender, EventArgs e)
 

Static Private Member Functions

static int GetAlgorithmId (HashAlgorithmName hashAlgorithm)
 
static Exception PaddingModeNotSupported ()
 
static HashAlgorithm InternalHashToHashAlgorithm (int calgHash)
 
static Exception DerivedClassMustOverride ()
 

Private Attributes

KeyPairPersistence store
 
bool persistKey
 
bool persisted
 
bool privateKeyExportable
 
bool m_disposed
 
RSAManaged rsa
 

Static Private Attributes

static CspProviderFlags s_UseMachineKeyStore
 
const int PROV_RSA_FULL = 1
 
const int AT_KEYEXCHANGE = 1
 
const int AT_SIGNATURE = 2
 

Detailed Description

Definition at line 11 of file RSACryptoServiceProvider.cs.


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