Class FinFilterBase64

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

Implements the IFinFilter interface for a base 64 encoding/decoding transport filter.

public class FinFilterBase64 : IFinFilter
Inheritance
FinFilterBase64
Implements
Inherited Members

Constructors

FinFilterBase64()

public FinFilterBase64()

Properties

FilterFunction

Provides the name of the filter function that this class implements. Thus it always returns "MIM" which is the name defined for the base 64 filter.

public string FilterFunction { get; }

Property Value

string

FilterFunctionVersion

Provides the specified version of the filter function that this class implements. Thus it always returns 1 which is the only value defined in FinTS.

public int FilterFunctionVersion { get; }

Property Value

int

Methods

FilteredOutputSize(int)

public int FilteredOutputSize(int nMsgSize)

Parameters

nMsgSize int

Returns

int

InputFilter(Stream)

Creates a new instance of a base 64 output stream decoding filter.

public Stream InputFilter(Stream aStream)

Parameters

aStream Stream

Source stream that provides the base 64 encoded data that shall be decoded.

Returns

Stream

A readable Stream is returned that base 64 decodes all data from the source stream and provides the resulting decoded data through its read functions.

OutputFilter(Stream)

Creates a new instance of a base 64 output stream encoding filter.

public Stream OutputFilter(Stream aStream)

Parameters

aStream Stream

Destination stream to write the base 64 encoded data to.

Returns

Stream

A writable Stream is returned that base 64 encodes all written data and writes the base 64 encoded data to the given destination stream.