MessageSignerVerifyHash Method |
Verifies that the specified signature matches the specified hash.
Namespace:
SysadminsLV.PKI.Tools.MessageOperations
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public bool VerifyHash(
byte[] hash,
byte[] signature
)
Public Function VerifyHash (
hash As Byte(),
signature As Byte()
) As Boolean
public:
bool VerifyHash(
array<unsigned char>^ hash,
array<unsigned char>^ signature
)
member VerifyHash :
hash : byte[] *
signature : byte[] -> bool
Parameters
- hash
- Type: SystemByte
The hash value of the signed data. - signature
- Type: SystemByte
The signature data to be verified.
Return Value
Type:
BooleanTrue if hash matches the one stored in signature, otherwise
False.
Exceptions Exception | Condition |
---|
ArgumentNullException | hash or signature parameter is null.
|
See Also