LumiSoft Net Help
GetEnvelopedMime Method (cert)
Namespaces ► LumiSoft.Net.MIME ► MIME_b_ApplicationPkcs7Mime ► GetEnvelopedMime(X509Certificate2)
Decrypts enveloped mime content.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public MIME_Message GetEnvelopedMime(
    	X509Certificate2 cert
    )

    Public Function GetEnvelopedMime (
    	cert As X509Certificate2
    ) As MIME_Message

    public:
    MIME_Message^ GetEnvelopedMime(
    	X509Certificate2^ cert
    )

    member GetEnvelopedMime :
            cert : X509Certificate2 -> MIME_Message

Parameters

cert (X509Certificate2)
  Decrypting certificate.

Return Value
MIME_Message
Returns decrypted enveloped mime content.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when cert is null reference.
InvalidOperationException | Is raised when smime-type != enveloped-data.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119