Computes the signature for the specified message.
Namespace:
Rebex.Security.Cryptography
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Function SignMessage ( _ message As Byte(), _ parameters As SignatureParameters _ ) As Byte() |
C# |
---|
public byte[] SignMessage( byte[] message, SignatureParameters parameters ) |
Parameters
- message
- Type: array<System..::..Byte>[]()[][]
Message to be signed.
- parameters
- Type: Rebex.Security.Cryptography..::..SignatureParameters
Signature parameters.
Return Value
Signature for the specified message.Remarks
The private key must be available for this method to succeed.