Click or drag to resize

DSACryptoServiceProviderVerifySignature Method

Verifies the Crestron.SimplSharp.Cryptography.DSA signature for the specified data.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public 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
ExceptionCondition
ArgumentNullExceptionThe 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