| 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
)
public:
virtual void Sign(
[InAttribute] GDSecureMimeCertificate^ certificate,
[InAttribute] GDSMIMEDigest digest,
[InAttribute] GDSMIMESignFormat format
) sealed
function Sign(certificate, digest, 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