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.3.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 is a workaround to prevent receiving clients (or servers) that uses the mbox file format for local storage from munging the line by prepending a ">", as is typical with the mbox format.

This armoring technique ensures that the receiving client will still be able to verify S/MIME signatures.

See Also