Class FinFilterBase64
Implements the IFinFilter interface for a base 64 encoding/decoding transport filter.
Inheritance
Implements
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinFilterBase64 : IFinFilter
Constructors
FinFilterBase64()
Declaration
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.
Declaration
public string FilterFunction { get; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public int FilterFunctionVersion { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
FilteredOutputSize(Int32)
Declaration
public int FilteredOutputSize(int nMsgSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nMsgSize |
Returns
Type | Description |
---|---|
System.Int32 |
InputFilter(Stream)
Creates a new instance of a base 64 output stream decoding filter.
Declaration
public Stream InputFilter(Stream aStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | aStream | Source stream that provides the base 64 encoded data that shall be decoded. |
Returns
Type | Description |
---|---|
System.IO.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.
Declaration
public Stream OutputFilter(Stream aStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | aStream | Destination stream to write the base 64 encoded data to. |
Returns
Type | Description |
---|---|
System.IO.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. |