Click or drag to resize
MimeKit

MultipartSigned Class

A signed multipart, as used by both S/MIME and PGP/MIME protocols.
Inheritance Hierarchy
SystemObject
  MimeKitMimeEntity
    MimeKitMultipart
      MimeKit.CryptographyMultipartSigned

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public class MultipartSigned : Multipart, 
	IMultipartSigned, IMultipart, IMimeEntity, IDisposable, ICollection<MimeEntity>, 
	IEnumerable<MimeEntity>, IEnumerable, IList<MimeEntity>

The MultipartSigned type exposes the following members.

Constructors
 NameDescription
Public methodMultipartSigned Initialize a new instance of the MultipartSigned class.
Public methodMultipartSigned(MimeEntityConstructorArgs) Initialize a new instance of the MultipartSigned class.
Top
Properties
 NameDescription
Public propertyBoundary Get or set the boundary.
(Inherited from Multipart)
Public propertyContentBase Get or set the base content URI.
(Inherited from MimeEntity)
Public propertyContentDisposition Get or set the content disposition.
(Inherited from MimeEntity)
Public propertyContentId Get or set the Content-Id.
(Inherited from MimeEntity)
Public propertyContentLocation Get or set the content location.
(Inherited from MimeEntity)
Public propertyContentType Get the type of the content.
(Inherited from MimeEntity)
Public propertyCount Get the number of parts in the multipart.
(Inherited from Multipart)
Public propertyEpilogue Get or set the epilogue.
(Inherited from Multipart)
Public propertyHeaders Get the list of headers.
(Inherited from MimeEntity)
Public propertyIsAttachment Get a value indicating whether this MimePart is an attachment.
(Inherited from MimeEntity)
Public propertyIsReadOnly Get a value indicating whether this instance is read only.
(Inherited from Multipart)
Public propertyItem Get or set the MimeEntity at the specified index.
(Inherited from Multipart)
Public propertyPreamble Get or set the preamble.
(Inherited from Multipart)
Top
Methods
 NameDescription
Public methodAccept Dispatches to the specific visit method for this MIME entity.
(Overrides MultipartAccept(MimeVisitor))
Public methodAdd Add an entity to the multipart.
(Inherited from Multipart)
Public methodClear Clear a multipart.
(Inherited from Multipart)
Public methodClear(Boolean) Clear a multipart.
(Inherited from Multipart)
Public methodContains Check if the Multipart contains the specified entity.
(Inherited from Multipart)
Public methodCopyTo Copy all of the entities in the Multipart to the specified array.
(Inherited from Multipart)
Public methodStatic memberCreate(CmsSigner, MimeEntity, CancellationToken) Create a new MultipartSigned.
Public methodStatic memberCreate(PgpSecretKey, DigestAlgorithm, MimeEntity, CancellationToken) Create a new MultipartSigned.
Public methodStatic memberCreate(SecureMimeContext, CmsSigner, MimeEntity, CancellationToken) Create a new MultipartSigned.
Public methodStatic memberCreate(CryptographyContext, MailboxAddress, DigestAlgorithm, MimeEntity, CancellationToken) Create a new MultipartSigned.
Public methodStatic memberCreate(OpenPgpContext, PgpSecretKey, DigestAlgorithm, MimeEntity, CancellationToken) Create a new MultipartSigned.
Public methodStatic memberCreateAsync(CmsSigner, MimeEntity, CancellationToken) Asynchronously create a new MultipartSigned.
Public methodStatic memberCreateAsync(PgpSecretKey, DigestAlgorithm, MimeEntity, CancellationToken) Asynchronously create a new MultipartSigned.
Public methodStatic memberCreateAsync(SecureMimeContext, CmsSigner, MimeEntity, CancellationToken) Asynchronously create a new MultipartSigned.
Public methodStatic memberCreateAsync(CryptographyContext, MailboxAddress, DigestAlgorithm, MimeEntity, CancellationToken) Asynchronously create a new MultipartSigned.
Public methodStatic memberCreateAsync(OpenPgpContext, PgpSecretKey, DigestAlgorithm, MimeEntity, CancellationToken) Asynchronously create a new MultipartSigned.
Public methodDispose Releases all resources used by the MimeEntity object.
(Inherited from MimeEntity)
Protected methodDispose(Boolean) Release the unmanaged resources used by the Multipart and optionally releases the managed resources.
(Inherited from Multipart)
Public methodEquals
(Inherited from Object)
Protected methodFinalize Releases unmanaged resources and performs other cleanup operations before the MimeEntity is reclaimed by garbage collection.
(Inherited from MimeEntity)
Public methodGetEnumerator Get the enumerator for the children of the Multipart.
(Inherited from Multipart)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodIndexOf Get the index of an entity.
(Inherited from Multipart)
Public methodInsert Insert an entity into the Multipart at the specified index.
(Inherited from Multipart)
Protected methodMemberwiseClone
(Inherited from Object)
Protected methodOnHeadersChanged Called when the headers change in some way.
(Inherited from MimeEntity)
Public methodPrepare Prepare the MIME entity for transport using the specified encoding constraints.
(Overrides MultipartPrepare(EncodingConstraint, Int32))
Public methodRemove Remove an entity from the multipart.
(Inherited from Multipart)
Public methodRemoveAt Remove an entity from the Multipart at the specified index.
(Inherited from Multipart)
Protected methodRemoveHeader Remove a header by name.
(Inherited from MimeEntity)
Protected methodSetHeader(String, Byte) Set the value of a header using the raw value.
(Inherited from MimeEntity)
Protected methodSetHeader(String, String) Set the value of a header.
(Inherited from MimeEntity)
Public methodToString Return a String that represents the MimeEntity for debugging purposes.
(Inherited from MimeEntity)
Public methodTryGetValue Get the preferred message body if it exists.
(Inherited from Multipart)
Protected methodTryInit Tries to use the given object to initialize the appropriate property.
(Inherited from MimeEntity)
Public methodVerify(CancellationToken) Verify the multipart/signed part.
Public methodVerify(CryptographyContext, CancellationToken) Verify the multipart/signed part.
Public methodVerifyAsync(CancellationToken) Asynchronously verify the multipart/signed part.
Public methodVerifyAsync(CryptographyContext, CancellationToken) Verify the multipart/signed part.
Public methodWriteTo(Stream, CancellationToken) Write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteTo(String, CancellationToken) Write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteTo(FormatOptions, Stream, CancellationToken) Write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteTo(FormatOptions, String, CancellationToken) Write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteTo(Stream, Boolean, CancellationToken) Write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteTo(String, Boolean, CancellationToken) Write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteTo(FormatOptions, String, Boolean, CancellationToken) Write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteTo(FormatOptions, Stream, Boolean, CancellationToken) Write the Multipart to the specified output stream.
(Inherited from Multipart)
Public methodWriteToAsync(Stream, CancellationToken) Asynchronously write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteToAsync(String, CancellationToken) Asynchronously write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteToAsync(FormatOptions, Stream, CancellationToken) Asynchronously write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteToAsync(FormatOptions, String, CancellationToken) Asynchronously write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteToAsync(Stream, Boolean, CancellationToken) Asynchronously write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteToAsync(String, Boolean, CancellationToken) Asynchronously write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteToAsync(FormatOptions, String, Boolean, CancellationToken) Asynchronously write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteToAsync(FormatOptions, Stream, Boolean, CancellationToken) Asynchronously write the Multipart to the specified output stream.
(Inherited from Multipart)
Top
Remarks
The first child of a multipart/signed is the content while the second child is the detached signature data. Any other children are not defined and could be anything.
See Also