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, _
	style As MimeSignatureStyle, _
	algorithm As SignatureHashAlgorithm, _
	ParamArray signers As Certificate() _
)
C#
public void SetSignedContent(
	MimeEntity entity,
	MimeSignatureStyle style,
	SignatureHashAlgorithm algorithm,
	params Certificate[] signers
)

Parameters

entity
Type: Rebex.Mime..::..MimeEntity
Entity to be added as signed content.
style
Type: Rebex.Mime..::..MimeSignatureStyle
Signed content style.
algorithm
Type: Rebex.Security.Certificates..::..SignatureHashAlgorithm
Digest algorithm.
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