IApplication Pkcs 7Mime Interface
An interface for an S/MIME part with a Content-Type of application/pkcs7-mime.
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 IApplicationPkcs7Mime : IMimePart,
IMimeEntity, IDisposable- Implements
- IMimeEntity, IMimePart, IDisposable
Remarks
An application/pkcs7-mime is an S/MIME part and may contain encrypted,
signed or compressed data (or any combination of the above).
Properties
| Content |
Get or set the MIME content.
(Inherited from IMimePart) |
| ContentBase |
Get or set the base content URI.
(Inherited from IMimeEntity) |
| ContentDescription |
Get or set the description of the content if available.
(Inherited from IMimePart) |
| ContentDisposition |
Get or set the content disposition.
(Inherited from IMimeEntity) |
| ContentDuration |
Get or set the duration of the content if available.
(Inherited from IMimePart) |
| ContentId |
Get or set the Content-Id.
(Inherited from IMimeEntity) |
| ContentLocation |
Get or set the content location.
(Inherited from IMimeEntity) |
| ContentMd5 |
Get or set the md5sum of the content.
(Inherited from IMimePart) |
| ContentTransferEncoding |
Get or set the content transfer encoding.
(Inherited from IMimePart) |
| ContentType |
Get the type of the content.
(Inherited from IMimeEntity) |
| FileName |
Get or set the name of the file.
(Inherited from IMimePart) |
| Headers |
Get the list of headers.
(Inherited from IMimeEntity) |
| IsAttachment |
Get a value indicating whether this entity is an attachment.
(Inherited from IMimeEntity) |
| SecureMimeType | Gets the value of the "smime-type" parameter. |
Methods
| Accept |
Dispatches to the specific visit method for this MIME entity.
(Inherited from IMimeEntity) |
| ComputeContentMd5 |
Compute the MD5 checksum of the content.
(Inherited from IMimePart) |
| Decompress(CancellationToken) | Decompress the compressed-data. |
| Decompress(SecureMimeContext, CancellationToken) | Decompress the compressed-data. |
| DecompressAsync(CancellationToken) | Asynchronously decompress the compressed-data. |
| DecompressAsync(SecureMimeContext, CancellationToken) | Asynchronously decompress the compressed-data. |
| Decrypt(CancellationToken) | Decrypt the enveloped-data. |
| Decrypt(SecureMimeContext, CancellationToken) | Decrypt the enveloped-data. |
| DecryptAsync(CancellationToken) | Asynchronously decrypt the enveloped-data. |
| DecryptAsync(SecureMimeContext, CancellationToken) | Asynchronously decrypt the enveloped-data. |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
| GetBestEncoding(EncodingConstraint, CancellationToken) |
Calculate the most efficient content encoding given the specified constraint.
(Inherited from IMimePart) |
| GetBestEncoding(EncodingConstraint, Int32, CancellationToken) |
Calculate the most efficient content encoding given the specified constraint.
(Inherited from IMimePart) |
| Import | Import the certificates contained in the application/pkcs7-mime content. |
| ImportAsync | Asynchronously import the certificates contained in the application/pkcs7-mime content. |
| Prepare |
Prepare the MIME entity for transport using the specified encoding constraints.
(Inherited from IMimeEntity) |
| Verify(MimeEntity, CancellationToken) | Verifies the signed-data and returns the unencapsulated MimeEntity. |
| Verify(SecureMimeContext, MimeEntity, CancellationToken) | Verify the signed-data and return the unencapsulated MimeEntity. |
| VerifyContentMd5 |
Verify the Content-Md5 value against an independently computed md5sum.
(Inherited from IMimePart) |
| 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) |