Armored From Filter Class
A filter that armors lines beginning with "From " by encoding the 'F' with the
Quoted-Printable encoding.
Definition
Namespace: MimeKit.IO.Filters
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public class ArmoredFromFilter : MimeFilterBase- Inheritance
- Object MimeFilterBase ArmoredFromFilter
Remarks
From-armoring serves a similar purpose as the MboxFromFilter, but uses quoted-printable encoding to replace lines beginning with "From " using "=46rom " instead of replacing those lines with ">From " (which is irreversable). From-armoring is a better alternative to using the MboxFromFilter, but also requires the ContentTransferEncoding property of the MimePart containing the content modified by this filter to be set to QuotedPrintable in order to work properly.
This armoring technique ensures that the receiving client will still be able to verify PGP/MIME and S/MIME signatures.
Constructors
| ArmoredFromFilter | Initialize a new instance of the ArmoredFromFilter class. |
Properties
| OutputBuffer |
Get the output buffer.
(Inherited from MimeFilterBase) |
Methods
| EnsureOutputSize |
Ensure that the output buffer is greater than or equal to the specified size.
(Inherited from MimeFilterBase) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Filter(Byte, Int32, Int32, Int32, Int32) |
Filter the specified input.
(Inherited from MimeFilterBase) |
| Filter(Byte, Int32, Int32, Int32, Int32, Boolean) |
Filter the specified input.
(Overrides MimeFilterBaseFilter(Byte, Int32, Int32, Int32, Int32, Boolean)) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| Flush |
Filter the specified input, flushing all internally buffered data to the output.
(Inherited from MimeFilterBase) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Reset |
Reset the filter.
(Overrides MimeFilterBaseReset) |
| SaveRemainingInput |
Save the remaining input for the next round of processing.
(Inherited from MimeFilterBase) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |