C# Class MimeKit.Cryptography.ApplicationPgpSignature

A MIME part with a Content-Type of application/pgp-signature.

An application/pgp-signature part contains detatched pgp signature data and is typically contained within a MultipartSigned part.

To verify the signature, use the MultipartSigned.Verify() method on the parent multipart/signed part.

Inheritance: MimePart
Afficher le fichier Open project: nachocove/MimeKit Class Usage Examples

Méthodes publiques

Méthode Description
Accept ( MimeVisitor visitor ) : void

Dispatches to the specific visit method for this MIME entity.

This default implementation for MimeKit.Cryptography.ApplicationPgpSignature nodes calls MimeKit.MimeVisitor.VisitApplicationPgpSignature. 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.VisitApplicationPgpSignature.

ApplicationPgpSignature ( MimeEntityConstructorArgs args ) : System

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

This constructor is used by MimeKit.MimeParser.

ApplicationPgpSignature ( Stream stream ) : System

Initializes a new instance of the MimeKit.Cryptography.ApplicationPgpSignature class with a Content-Type of application/pgp-signature.

Creates a new MIME part with a Content-Type of application/pgp-signature and the stream as its content.

Method Details

Accept() public méthode

Dispatches to the specific visit method for this MIME entity.
This default implementation for MimeKit.Cryptography.ApplicationPgpSignature nodes calls MimeKit.MimeVisitor.VisitApplicationPgpSignature. 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.VisitApplicationPgpSignature.
/// is null. ///
public Accept ( MimeVisitor visitor ) : void
visitor MimeVisitor The visitor.
Résultat void

ApplicationPgpSignature() public méthode

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

ApplicationPgpSignature() public méthode

Initializes a new instance of the MimeKit.Cryptography.ApplicationPgpSignature class with a Content-Type of application/pgp-signature.
Creates a new MIME part with a Content-Type of application/pgp-signature and the stream as its content.
/// is null. /// /// does not support reading. /// -or- /// does not support seeking. ///
public ApplicationPgpSignature ( Stream stream ) : System
stream Stream The content stream.
Résultat System