DSACryptoServiceProviderVerifySignature Method |
Verifies the Crestron.SimplSharp.Cryptography.DSA signature for the specified data.
Namespace: Crestron.SimplSharp.CryptographyAssembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntaxpublic override bool VerifySignature(
byte[] rgbHash,
byte[] rgbSignature
)
Parameters
- rgbHash Byte
- The data signed with rgbSignature.
- rgbSignature Byte
- The signature to be verified for rgbData.
Return Value
Boolean
true if rgbSignature matches the signature computed using the specified hash
algorithm and key on rgbHash; otherwise, false.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | The rgbHash parameter is null. -or- The rgbSignature parameter is null. |
| CryptographicException |
The cryptographic service provider (CSP) cannot be acquired. -or- The signature
cannot be verified.
|
Version Information
.NET Compact Framework
Supported in: 3.5
See Also