System::Security::Cryptography::DSACryptoServiceProvider class
Contents
[
Hide
]DSACryptoServiceProvider class
DSA 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 DSACryptoServiceProvider : public System::Security::Cryptography::DSA,
public System::Security::Cryptography::ICspAsymmetricAlgorithm
Methods
Method | Description |
---|---|
CreateSignature(ByteArrayPtr) override | Create DSA signature for the specified data. |
Dispose() override | Frees data associated with object. |
DSACryptoServiceProvider() | Constructor. Uses default parameters. |
DSACryptoServiceProvider(const DSAParameters&) | Constructor. |
DSACryptoServiceProvider(const SharedPtr<CspParameters>&) | Constructor. Not implemented. |
DSACryptoServiceProvider(int32_t) | Constructor. |
DSACryptoServiceProvider(int32_t, const SharedPtr<CspParameters>&) | Constructor. Not implemented. |
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. |
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 to use. |
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(DSAParameters) override | Imports all parameters from data structure. |
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&) | Computes the signature of specified input value. |
SignData(const SharedPtr<IO::Stream>&) | Computes the signature of specified input value. |
SignData(const ByteArrayPtr&, int32_t, int32_t) | Computes the signature of specified input value. |
SignData(const ByteArrayPtr&, const HashAlgorithmName&) | RTTI information. |
SignData(const ByteArrayPtr&, int32_t, int32_t, const HashAlgorithmName&) | RTTI information. |
SignData(const StreamPtr&, const HashAlgorithmName&) | RTTI information. |
SignHash(const ByteArrayPtr&, const String&) | Computes the signature of specified input value. |
VerifyData(const ByteArrayPtr&, const ByteArrayPtr&) | Checks data signature. |
VerifyData(const ByteArrayPtr&, const ByteArrayPtr&, const HashAlgorithmName&) | Verifies that the signature of the specified data is valid. |
VerifyData(const ByteArrayPtr&, int32_t, int32_t, const ByteArrayPtr&, const HashAlgorithmName&) | Verifies that the signature of the specified data is valid. |
VerifyData(const StreamPtr&, const ByteArrayPtr&, const HashAlgorithmName&) | Verifies that the signature of the specified binary stream is valid. |
VerifyHash(const ByteArrayPtr&, const String&, const ByteArrayPtr&) | Checks data signature. |
VerifySignature(ByteArrayPtr, ByteArrayPtr) override | Verify DSA signature for the specified data. |
See Also
- Class DSA
- Class ICspAsymmetricAlgorithm
- Namespace System::Security::Cryptography
- Library Aspose.TeX for C++