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() _ ) As Byte() |
C# |
---|
public byte[] SignMessage( byte[] message ) |
Parameters
- message
- Type: array<System..::..Byte>[]()[][]
The message to be signed.
Return Value
The signature for the specified message.Remarks
The private key for a certificate must be available for this method to succeed.