System::Security::Cryptography::RSACryptoServiceProvider class
Contents
[
Hide
]RSACryptoServiceProvider class
RSA algorithm in CSP form. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class RSACryptoServiceProvider : public System::Security::Cryptography::RSA,
public System::Security::Cryptography::ICspAsymmetricAlgorithm
Methods
Method | Description |
---|---|
Decrypt(const ByteArrayPtr&, bool) | Decrypts message. Not implemented. |
Decrypt(ByteArrayPtr, SharedPtr<RSAEncryptionPadding>) override | Decrypts input data using the specified padding mode. |
Dispose() override | Frees data associated with object. |
Encrypt(const ByteArrayPtr&, bool) | Encrypts message. Not implemented. |
Encrypt(ByteArrayPtr, SharedPtr<RSAEncryptionPadding>) override | Encrypts input data using the specified padding mode. |
ExportCspBlob(bool) override | Exports blob with information on key. Not implemented. |
ExportParameters(bool) override | Exports CSP parameters. |
get_CspKeyContainerInfo() override | Gets a CspKeyContainerInfo object. |
get_KeyExchangeAlgorithm() override | Checks key exchange algorithm associated with object. |
get_KeySize() override | Gets key size used by algorithm. |
get_PersistKeyInCsp() const | Checks whether key is persisted in CSP object. |
get_PublicOnly() const | Checks if public key only is present in CSP object. |
get_SignatureAlgorithm() override | Gets signature algorithm associated with CSP object. |
static get_UseMachineKeyStore() | Checks whether the key persists in machine store instead of user store. |
ImportCspBlob(ByteArrayPtr) override | Imports blob with information on key. Not implemented. |
ImportParameters(RSAParameters) override | Imports CSP parameters. |
RSACryptoServiceProvider() | RTTI information. |
RSACryptoServiceProvider(const SharedPtr<CspParameters>&) | Constructor. Not implemented. |
RSACryptoServiceProvider(const RSAParameters&) | Constructor. |
RSACryptoServiceProvider(int32_t) | Constructor. |
RSACryptoServiceProvider(int32_t, const SharedPtr<CspParameters>&) | Constructor. Not implemented. |
set_PersistKeyInCsp(bool) | Defines whether key is persisted in CSP object. |
static set_UseMachineKeyStore(bool) | Defines whether the key persists in machine store instead of user store. |
SignData(const ByteArrayPtr&, const SharedPtr<Object>&) | Computes the signature of specified input value. |
SignData(const SharedPtr<IO::Stream>&, const SharedPtr<Object>&) | Computes the signature of specified input value. |
SignData(const ByteArrayPtr&, int32_t, int32_t, const SharedPtr<Object>&) | Computes the signature of specified input value. |
SignHash(ByteArrayPtr, HashAlgorithmName, SharedPtr<RSASignaturePadding>) override | Computes the signature for the specified hash value. |
SignHash(const ByteArrayPtr&, const String&) | Computes the signature of specified input value. Not implemented. |
VerifyData(const ByteArrayPtr&, const SharedPtr<Object>&, const ByteArrayPtr&) | Checks data signature. |
VerifyHash(const ByteArrayPtr&, const String&, const ByteArrayPtr&) | Checks data signature. |
VerifyHash(ByteArrayPtr, ByteArrayPtr, const HashAlgorithmName&, SharedPtr<RSASignaturePadding>) override | Verifies that the signature of the specified hash is valid. |
See Also
- Class RSA
- Class ICspAsymmetricAlgorithm
- Namespace System::Security::Cryptography
- Library Aspose.TeX for C++