Zdexby TheHolyOneZ
42,595 classes
Class

RSACryptoServiceProvider

: RSA : AsymmetricAlgorithm : Object
System.Security.Cryptography.RSACryptoServiceProvider, mscorlib 0x0038 (56 B) inherited 0x0020 mscorlib.dll
0x00x0038

Members 10

OffsetSizeNameTypeFlagsDefault
0x04s_UseMachineKeyStoreCspProviderFlagsPrivateStatic—
—0x04PROV_RSA_FULLintPrivateStatic+1 flags1457616304
—0x04AT_KEYEXCHANGEintPrivateStatic+1 flags1457616304
—0x04AT_SIGNATUREintPrivateStatic+1 flags1457616304
0x08storeKeyPairPersistencePrivate—
0x01persistKeyboolPrivate—
0x01persistedboolPrivate—
0x01privateKeyExportableboolPrivate—
0x01m_disposedboolPrivate—
0x002C0x04padding / unreflected
0x08rsaRSAManagedPrivate—
Inherited from AsymmetricAlgorithm 2
OffsetSizeNameTypeFlagsDefault
0x04KeySizeValueint1 flags—
0x00140x04padding / unreflected
0x08LegalKeySizesValueKeySizes[]1 flags—

Functions 46

SignatureFlagsNativeParams
string get_SignatureAlgorithm()Public+2 flags0x08
bool get_UseMachineKeyStore()PublicStatic+1 flags0x01
void set_UseMachineKeyStore(bool value)PublicStatic+1 flags0x01
byte[] HashData(const byte[]& data, int offset, int count, const HashAlgorithmName& hashAlgorithm)2 flags0x08
byte[] HashData(Stream data, const HashAlgorithmName& hashAlgorithm)2 flags0x08
int GetAlgorithmId(const HashAlgorithmName& hashAlgorithm)PrivateStatic0x08
byte[] Encrypt(const byte[]& data, RSAEncryptionPadding padding)Public+1 flags0x08
byte[] Decrypt(const byte[]& data, RSAEncryptionPadding padding)Public+1 flags0x08
byte[] SignHash(const byte[]& hash, const HashAlgorithmName& hashAlgorithm, RSASignaturePadding padding)Public+1 flags0x08
bool VerifyHash(const byte[]& hash, const byte[]& signature, const HashAlgorithmName& hashAlgorithm, RSASignaturePadding padding)Public+1 flags0x08
Exception PaddingModeNotSupported()PrivateStatic0x08
void .ctor()Public+1 flags0x00
void .ctor(CspParameters parameters)Public+1 flags0x08
void .ctor(int dwKeySize)Public+1 flags0x04
void .ctor(int dwKeySize, CspParameters parameters)Public+1 flags0x08
void Common(int dwKeySize, bool parameters)Private0x04
void Common(CspParameters p)Private0x08
void Finalize()2 flags0x00
string get_KeyExchangeAlgorithm()Public+2 flags0x08
int get_KeySize()Public+2 flags0x04
bool get_PersistKeyInCsp()Public+1 flags0x01
void set_PersistKeyInCsp(bool value)Public+1 flags0x01
bool get_PublicOnly()Public+1 flags0x01
byte[] Decrypt(const byte[]& rgb, bool fOAEP)Public0x08
byte[] DecryptValue(const byte[]& rgb)Public+1 flags0x08
byte[] Encrypt(const byte[]& rgb, bool fOAEP)Public0x08
byte[] EncryptValue(const byte[]& rgb)Public+1 flags0x08
RSAParameters ExportParameters(bool includePrivateParameters)Public+1 flags0x40
void ImportParameters(const RSAParameters& parameters)Public+1 flags0x40
HashAlgorithm GetHash(object halg)Private0x08
HashAlgorithm GetHashFromString(const string& name)Private0x08
byte[] SignData(const byte[]& buffer, object halg)Public0x08
byte[] SignData(Stream inputStream, object halg)Public0x08
byte[] SignData(const byte[]& buffer, int offset, int count, object halg)Public0x08
string GetHashNameFromOID(const string& oid)Private0x08
byte[] SignHash(const byte[]& rgbHash, const string& str)Public0x08
byte[] SignHash(const byte[]& rgbHash, int calgHash)Private0x08
HashAlgorithm InternalHashToHashAlgorithm(int calgHash)PrivateStatic0x08
bool VerifyData(const byte[]& buffer, object halg, const byte[]& signature)Public0x08
bool VerifyHash(const byte[]& rgbHash, const string& str, const byte[]& rgbSignature)Public0x08
bool VerifyHash(const byte[]& rgbHash, int calgHash, const byte[]& rgbSignature)Private0x08
void Dispose(bool disposing)2 flags0x01
void OnKeyGenerated(object sender, EventArgs e)Private0x08
CspKeyContainerInfo get_CspKeyContainerInfo()PublicFinal+3 flags0x08
byte[] ExportCspBlob(bool includePrivateParameters)PublicFinal+2 flags0x08
void ImportCspBlob(const byte[]& keyBlob)PublicFinal+2 flags0x08