Signs a message.
Namespace:
Rebex.Mail
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Sub Sign ( _ signatureParameters As MailSignatureParameters, _ ParamArray signers As Certificate() _ ) |
C# |
---|
public void Sign( MailSignatureParameters signatureParameters, params Certificate[] signers ) |
Parameters
- signatureParameters
- Type: Rebex.Mail..::..MailSignatureParameters
Signature parameters (to specify RSASSA-PSS parameters). Can be null (for PKCS #1 detached signature).
- signers
- Type: array<Rebex.Security.Certificates..::..Certificate>[]()[][]
The list of signers' certificates. At least one must be specified. Also, private keys for the certificates must be available.