Click or drag to resize
MimeKit

ArmoredFromFilter Class

A filter that armors lines beginning with "From " by encoding the 'F' with the Quoted-Printable encoding.
Inheritance Hierarchy
SystemObject
  MimeKit.IO.FiltersMimeFilterBase
    MimeKit.IO.FiltersArmoredFromFilter

Namespace: MimeKit.IO.Filters
Assembly: MimeKit (in MimeKit.dll) Version: 4.17.0
Syntax
C#
public class ArmoredFromFilter : MimeFilterBase

The ArmoredFromFilter type exposes the following members.

Constructors
 NameDescription
Public methodArmoredFromFilter Initialize a new instance of the ArmoredFromFilter class.
Top
Properties
 NameDescription
Protected propertyOutputBuffer Get the output buffer.
(Inherited from MimeFilterBase)
Top
Methods
 NameDescription
Protected methodEnsureOutputSize Ensure that the output buffer is greater than or equal to the specified size.
(Inherited from MimeFilterBase)
Public methodEquals
(Inherited from Object)
Public methodFilter(Byte, Int32, Int32, Int32, Int32) Filter the specified input.
(Inherited from MimeFilterBase)
Protected methodFilter(Byte, Int32, Int32, Int32, Int32, Boolean) Filter the specified input.
(Overrides MimeFilterBaseFilter(Byte, Int32, Int32, Int32, Int32, Boolean))
Protected methodFinalize
(Inherited from Object)
Public methodFlush Filter the specified input, flushing all internally buffered data to the output.
(Inherited from MimeFilterBase)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodReset Reset the filter.
(Overrides MimeFilterBaseReset)
Protected methodSaveRemainingInput Save the remaining input for the next round of processing.
(Inherited from MimeFilterBase)
Public methodToString
(Inherited from Object)
Top
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.

See Also