Computes the signature for the specified message by encrypting it with the private key.
Namespace:
Rebex.Security.Certificates
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>[]()[][]
The message to be signed.
- parameters
- Type: Rebex.Security.Cryptography..::..SignatureParameters
Signature parameters.
Return Value
The signature for the specified message.Remarks
The private key for a certificate must be available for this method to succeed.