Click or drag to resize
GDSecureMimeDecoderProcessMessageAsync Method
A helper function which will decrypt, verify and extract clear text content from an SMIME message.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public IAsyncOperation<GDSMIMEProcessMessageOutput> ProcessMessageAsync(
	GDSMIMESignatureVerificationOptions signingOptions,
	string revocationURL
)

Parameters

signingOptions
Type: GDGDSMIMESignatureVerificationOptions
A set of GDSMIMESignatureVerificationOptions. These can be combined using the binary operators.
revocationURL
Type: SystemString
Signature verification revocation URL.

Return Value

Type: IAsyncOperationGDSMIMEProcessMessageOutput
A GDSMIMEProcessMessageOutput.
Remarks

This function implements a loop which will decode an SMIME message, extract clear text if present, decrypt or verify content if it is encrypted or signed, and then proceed to the next part of a multi-part message. Only the first clear text content will be returned. Only the last part of opaque-signed and/or encrypted message will be returned. In the most common scenarios, this is perfectly fine.

Remember to check returned structure for empty fields and errors.

See Also