IMultipart Encrypted Interface
An interface for a multipart MIME part with a ContentType of multipart/encrypted containing an encrypted MIME part.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public interface IMultipartEncrypted : IMultipart,
IMimeEntity, IDisposable, ICollection<MimeEntity>, IEnumerable<MimeEntity>,
IEnumerable, IList<MimeEntity>Remarks
This mime-type is common when dealing with PGP/MIME but is not used for S/MIME.
Properties
| Boundary |
Get or set the boundary.
(Inherited from IMultipart) |
| ContentBase |
Get or set the base content URI.
(Inherited from IMimeEntity) |
| ContentDisposition |
Get or set the content disposition.
(Inherited from IMimeEntity) |
| ContentId |
Get or set the Content-Id.
(Inherited from IMimeEntity) |
| ContentLocation |
Get or set the content location.
(Inherited from IMimeEntity) |
| ContentType |
Get the type of the content.
(Inherited from IMimeEntity) |
| Count | Gets the number of elements contained in the ICollectionT. (Inherited from ICollectionMimeEntity) |
| Epilogue |
Get or set the epilogue.
(Inherited from IMultipart) |
| Headers |
Get the list of headers.
(Inherited from IMimeEntity) |
| IsAttachment |
Get a value indicating whether this entity is an attachment.
(Inherited from IMimeEntity) |
| IsReadOnly | Gets a value indicating whether the ICollectionT is read-only. (Inherited from ICollectionMimeEntity) |
| Item | Gets or sets the element at the specified index. (Inherited from IListMimeEntity) |
| Preamble |
Get or set the preamble.
(Inherited from IMultipart) |
Methods
| Accept |
Dispatches to the specific visit method for this MIME entity.
(Inherited from IMimeEntity) |
| Add | Adds an item to the ICollectionT. (Inherited from ICollectionMimeEntity) |
| Clear | Removes all items from the ICollectionT. (Inherited from ICollectionMimeEntity) |
| Contains | Determines whether the ICollectionT contains a specific value. (Inherited from ICollectionMimeEntity) |
| CopyTo | Copies the elements of the ICollectionT to an Array, starting at a particular Array index. (Inherited from ICollectionMimeEntity) |
| Decrypt(CancellationToken) | Decrypts the IMultipartEncrypted part. |
| Decrypt(DigitalSignatureCollection, CancellationToken) | Decrypts the IMultipartEncrypted part. |
| Decrypt(OpenPgpContext, CancellationToken) | Decrypts the IMultipartEncrypted part. |
| Decrypt(OpenPgpContext, DigitalSignatureCollection, CancellationToken) | Decrypts the IMultipartEncrypted part. |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
| GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerableMimeEntity) |
| IndexOf | Determines the index of a specific item in the IListT. (Inherited from IListMimeEntity) |
| Insert | Inserts an item to the IListT at the specified index. (Inherited from IListMimeEntity) |
| Prepare |
Prepare the MIME entity for transport using the specified encoding constraints.
(Inherited from IMimeEntity) |
| Remove | Removes the first occurrence of a specific object from the ICollectionT. (Inherited from ICollectionMimeEntity) |
| RemoveAt | Removes the IListT item at the specified index. (Inherited from IListMimeEntity) |
| WriteTo(Stream, CancellationToken) |
Write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity) |
| WriteTo(String, CancellationToken) |
Write the IMimeEntity to the specified file.
(Inherited from IMimeEntity) |
| WriteTo(FormatOptions, Stream, CancellationToken) |
Write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity) |
| WriteTo(FormatOptions, String, CancellationToken) |
Write the IMimeEntity to the specified file.
(Inherited from IMimeEntity) |
| WriteTo(Stream, Boolean, CancellationToken) |
Write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity) |
| WriteTo(String, Boolean, CancellationToken) |
Write the IMimeEntity to the specified file.
(Inherited from IMimeEntity) |
| WriteTo(FormatOptions, Stream, Boolean, CancellationToken) |
Write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity) |
| WriteTo(FormatOptions, String, Boolean, CancellationToken) |
Write the IMimeEntity to the specified file.
(Inherited from IMimeEntity) |
| WriteToAsync(Stream, CancellationToken) |
Asynchronously write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity) |
| WriteToAsync(String, CancellationToken) |
Asynchronously write the IMimeEntity to the specified file.
(Inherited from IMimeEntity) |
| WriteToAsync(FormatOptions, Stream, CancellationToken) |
Asynchronously write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity) |
| WriteToAsync(FormatOptions, String, CancellationToken) |
Asynchronously write the IMimeEntity to the specified file.
(Inherited from IMimeEntity) |
| WriteToAsync(Stream, Boolean, CancellationToken) |
Asynchronously write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity) |
| WriteToAsync(String, Boolean, CancellationToken) |
Asynchronously write the IMimeEntity to the specified file.
(Inherited from IMimeEntity) |
| WriteToAsync(FormatOptions, Stream, Boolean, CancellationToken) |
Asynchronously write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity) |
| WriteToAsync(FormatOptions, String, Boolean, CancellationToken) |
Asynchronously write the IMimeEntity to the specified file.
(Inherited from IMimeEntity) |