SetKey()

DSASignatureDeformatter::SetKey(SharedPtr<AsymmetricAlgorithm>) method

Sets key to use for verification.

void System::Security::Cryptography::DSASignatureDeformatter::SetKey(SharedPtr<AsymmetricAlgorithm> key) override

Arguments

ParameterTypeDescription
keySharedPtr<AsymmetricAlgorithm>DSA algorithm that holds the public key.

Exceptions

ExceptionDescription
ArgumentNullExceptionIf key is null.
InvalidCastExceptionIf key is not a DSA algorithm.

See Also