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
System.Security.Cryptography.RSACryptoServiceProvider Class Referencesealed
+ Inheritance diagram for System.Security.Cryptography.RSACryptoServiceProvider:
+ Collaboration 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 (global::System.IO.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 (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)
 
override string ToXmlString (bool includePrivateParameters)
 
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 byte[] HashData (byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
 
override byte[] HashData (global::System.IO.Stream data, HashAlgorithmName hashAlgorithm)
 
override void Finalize ()
 
override void Dispose (bool disposing)
 
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 string SignatureAlgorithm [get, set]
 
static bool UseMachineKeyStore [get, set]
 
override string KeyExchangeAlgorithm [get, set]
 
override int KeySize [get, set]
 
bool PersistKeyInCsp [get, set]
 
bool PublicOnly [get, set]
 
CspKeyContainerInfo CspKeyContainerInfo [get, set]
 
virtual KeySizes[] LegalKeySizes [get, set]
 

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, global::System.EventArgs e)
 

Static Private Member Functions

static int GetAlgorithmId (HashAlgorithmName hashAlgorithm)
 
static global::System.Exception PaddingModeNotSupported ()
 
static HashAlgorithm InternalHashToHashAlgorithm (int calgHash)
 
static global::System.Exception DerivedClassMustOverride ()
 

Private Attributes

Mono.Security.Cryptography.KeyPairPersistence store
 
bool persistKey
 
bool persisted
 
bool privateKeyExportable
 
bool m_disposed
 
Mono.Security.Cryptography.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 12 of file RSACryptoServiceProvider.cs.


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