SetKey()
DSASignatureDeformatter::SetKey(SharedPtr<AsymmetricAlgorithm>) method
Sets key to use for verification.
void System::Security::Cryptography::DSASignatureDeformatter::SetKey(SharedPtr<AsymmetricAlgorithm> key) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| key | SharedPtr<AsymmetricAlgorithm> | DSA algorithm that holds the public key. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | If key is null. |
| InvalidCastException | If key is not a DSA algorithm. |
See Also
- Typedef SharedPtr
- Class AsymmetricAlgorithm
- Class DSASignatureDeformatter
- Namespace System::Security::Cryptography
- Library Aspose.Slides