AsymmetricKeyAlgorithm.VerifyMessage Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.8944)
VerifyMessage(Byte[], Byte[])
Verifies the specified signature (using default parameters).
Declaration
public bool VerifyMessage(byte[] message, byte[] signature)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | message | Signed 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.
Declaration
public bool VerifyMessage(byte[] message, byte[] signature, SignatureParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | message | Signed 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. |