Click or drag to resize

RSAPKCS1SignatureDeformatterVerifySignature(Byte, Byte) Method

Verifies the Crestron.SimplSharp.Cryptography.RSA PKCS#1 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 rgbHash.

Return Value

Boolean
true if rgbSignature matches the signature computed using the specified hash algorithm and key on rgbHash; otherwise, false.
Exceptions
ExceptionCondition
CryptographicUnexpectedOperationExceptionThe key is null. -or- The hash algorithm is null.
ArgumentNullExceptionThe rgbHash parameter is null. -or- The rgbSignature parameter is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also