Signs a message.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Sub Sign ( _
	signatureParameters As MailSignatureParameters, _
	signers As IEnumerable(Of Certificate) _
)
C#
public void Sign(
	MailSignatureParameters signatureParameters,
	IEnumerable<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: System.Collections.Generic..::..IEnumerable<(Of <(<'Certificate>)>)>
The list of signers' certificates. At least one must be specified. Also, private keys for the certificates must be available.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also