Click or drag to resize
GDSecureMimeEncoderSign Method (GDSecureMimeCertificate, GDSMIMEDigest, GDSMIMESignFormat)
Signs a message.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public void Sign(
	GDSecureMimeCertificate certificate,
	GDSMIMEDigest digest,
	GDSMIMESignFormat format
)

Parameters

certificate
Type: GDGDSecureMimeCertificate
The certificate to sign with. The private key must also be present within the secure container.
digest
Type: GDGDSMIMEDigest
Digest algorithm to be used.
format
Type: GDGDSMIMESignFormat
If the message is to be understood by agents that do not have SMIME capability, specify the ClearSigned option. Otherwise, specify OpaqueSigned.
Remarks

This method is lazy. After execution it stores operation in queue which is processed by FlushAsync method.

See Also