AsymmetricKeyAlgorithm.SignMessage Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9083)
SignMessage(Byte[])
Computes the signature for the specified message (using default parameters).
Declaration
public byte[] SignMessage(byte[] message)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | message | Message to be signed. |
Returns
Type | Description |
---|---|
Byte[] | Signature for the specified message. |
Remarks
The private key must be available for this method to succeed.
SignMessage(Byte[], SignatureParameters)
Computes the signature for the specified message.
Declaration
public byte[] SignMessage(byte[] message, SignatureParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | message | Message to be signed. |
SignatureParameters | parameters | Signature parameters. |
Returns
Type | Description |
---|---|
Byte[] | Signature for the specified message. |
Remarks
The private key must be available for this method to succeed.