Sets the content of this entity to the specified signed content.

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

Syntax

Visual Basic
Public Sub SetSignedContent ( _
	entity As MimeEntity, _
	signatureParameters As SignatureParameters, _
	ParamArray signers As Certificate() _
)
C#
public void SetSignedContent(
	MimeEntity entity,
	SignatureParameters signatureParameters,
	params Certificate[] signers
)

Parameters

entity
Type: Rebex.Mime..::..MimeEntity
Entity to be added as signed content.
signatureParameters
Type: Rebex.Security.Cryptography..::..SignatureParameters
Signature parameters (to specify RSASSA-PSS parameters). Can be null (for PKCS #1).
signers
Type: array<Rebex.Security.Certificates..::..Certificate>[]()[][]
The list of signers' certificates with private keys to sign the content.

Remarks

Note: Due to a bug in MS Outlook Express, the Epilogue of the signed content will be set to null by this method.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also