C# Class MimeKit.Cryptography.ApplicationPgpEncrypted

A MIME part with a Content-Type of application/pgp-encrypted.
An application/pgp-encrypted part will typically be the first child of a MultipartEncrypted part and contains only a Version header.
Inheritance: MimePart
ファイルを表示 Open project: nachocove/MimeKit Class Usage Examples

Public Methods

Method Description
Accept ( MimeVisitor visitor ) : void

Dispatches to the specific visit method for this MIME entity.

This default implementation for MimeKit.Cryptography.ApplicationPgpEncrypted nodes calls MimeKit.MimeVisitor.VisitApplicationPgpEncrypted. Override this method to call into a more specific method on a derived visitor class of the MimeKit.MimeVisitor class. However, it should still support unknown visitors by calling MimeKit.MimeVisitor.VisitApplicationPgpEncrypted.

ApplicationPgpEncrypted ( ) : System

Initializes a new instance of the MimeKit.Cryptography.ApplicationPgpEncrypted class.

Creates a new MIME part with a Content-Type of application/pgp-encrypted and content matching "Version: 1\n".

ApplicationPgpEncrypted ( MimeEntityConstructorArgs args ) : System

Initializes a new instance of the MimeKit.Cryptography.ApplicationPgpEncrypted class based on the MimeKit.MimeEntityConstructorArgs.

This constructor is used by MimeKit.MimeParser.

Method Details

Accept() public method

Dispatches to the specific visit method for this MIME entity.
This default implementation for MimeKit.Cryptography.ApplicationPgpEncrypted nodes calls MimeKit.MimeVisitor.VisitApplicationPgpEncrypted. Override this method to call into a more specific method on a derived visitor class of the MimeKit.MimeVisitor class. However, it should still support unknown visitors by calling MimeKit.MimeVisitor.VisitApplicationPgpEncrypted.
/// is null. ///
public Accept ( MimeVisitor visitor ) : void
visitor MimeVisitor The visitor.
return void

ApplicationPgpEncrypted() public method

Initializes a new instance of the MimeKit.Cryptography.ApplicationPgpEncrypted class.
Creates a new MIME part with a Content-Type of application/pgp-encrypted and content matching "Version: 1\n".
public ApplicationPgpEncrypted ( ) : System
return System

ApplicationPgpEncrypted() public method

Initializes a new instance of the MimeKit.Cryptography.ApplicationPgpEncrypted class based on the MimeKit.MimeEntityConstructorArgs.
This constructor is used by MimeKit.MimeParser.
/// is null. ///
public ApplicationPgpEncrypted ( MimeEntityConstructorArgs args ) : System
args MimeEntityConstructorArgs Information used by the constructor.
return System