CryptSignerVerifyData(Byte, Byte) Method
Verifies that the specified signature matches the specified hash.
Namespace: SysadminsLV.PKI.CryptographyAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public bool VerifyData(
byte[] message,
byte[] signature
)
Public Function VerifyData (
message As Byte(),
signature As Byte()
) As Boolean
public:
virtual bool VerifyData(
array<unsigned char>^ message,
array<unsigned char>^ signature
) sealed
abstract VerifyData :
message : byte[] *
signature : byte[] -> bool
override VerifyData :
message : byte[] *
signature : byte[] -> bool
- message Byte
- The data that was signed.
- signature Byte
- The signature data to be verified.
BooleanTrue if hash matches the one stored in signature, otherwise
False.
ICryptSignerVerifyData(Byte, Byte)