GDSecureMimeDecoderProcessMessageAsync Method |
Namespace: GD
public IAsyncOperation<GDSMIMEProcessMessageOutput> ProcessMessageAsync( GDSMIMESignatureVerificationOptions signingOptions, string revocationURL )
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.