Certificate.VerifyMessage Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9083)
VerifyMessage(Byte[], Byte[])
Verifies the specified signature data by comparing it to the signature computed for the specified message.
Declaration
public bool VerifyMessage(byte[] message, byte[] signature)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | message | The message. |
Byte[] | signature | The signature for the specified message. |
Returns
Type | Description |
---|---|
Boolean | True if the signature verifies as valid; otherwise, false. |
VerifyMessage(Byte[], Byte[], SignatureParameters)
Verifies the specified signature data by comparing it to the signature computed for the specified message.
Declaration
public bool VerifyMessage(byte[] message, byte[] signature, SignatureParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | message | The message. |
Byte[] | signature | The signature for the specified message. |
SignatureParameters | parameters | Signature parameters. |
Returns
Type | Description |
---|---|
Boolean | True if the signature verifies as valid; otherwise, false. |