Class FinTanBuilder
Builder for a transaction number segment (HKTAN).
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinTanBuilder : FinOrderBuilder
Remarks
This class also provides convenient access to the various TAN modes defined in the HITANS segment.
Properties
BankSignatureProfile
Indicates whether and how the HITAN response will be signed.
Declaration
public int BankSignatureProfile { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The value zero indicates that the HITAN will not be signed by the bank. This should hopefully always be the case. |
MultipleTanOrdersAllowed
DEPRECATED: Please use MultipleTanOrdersAllowed instead.
Declaration
public bool MultipleTanOrdersAllowed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
OrderHashMode
DEPRECATED: Please use OrderHashMode instead.
Declaration
public FinHash OrderHashMode { get; }
Property Value
Type | Description |
---|---|
FinHash |
SingleStepTanAllowed
Declaration
public bool SingleStepTanAllowed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
TanProcessCount
Total number of TAN processes that are available.
Declaration
public int TanProcessCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Build(FinTanProcessParameters, FinOrder, FinTanProcessStep, FinTanInfo, Boolean)
Builds a HKTAN segment.
Declaration
public FinTan Build(FinTanProcessParameters aTanProc, FinOrder aAssocOrder, FinTanProcessStep nTanProcessStep, FinTanInfo aTanInfo, bool fMoreTansFollow)
Parameters
Type | Name | Description |
---|---|---|
FinTanProcessParameters | aTanProc | The TAN process parameters that are in effect for the HKTAN segment to be built.
Must not be |
FinOrder | aAssocOrder | A reference to the actual order that is associated with this HKTAN. The response
segments and the status segment of this order are updated according to the result
of the HKTAN submission. This must be supplied when nTanProcess is 1. Otherwise it
may be |
FinTanProcessStep | nTanProcessStep | Indicates the TAN process step to build a HKTAN segment for. |
FinTanInfo | aTanInfo | Provides the TAN information to be submitted in the HKTAN segment. Must not be
|
System.Boolean | fMoreTansFollow | Set to |
Returns
Type | Description |
---|---|
FinTan |
FindTanProcessParameters(Int32)
Retrieves the complete TAN process parameters for a particular TAN process, identified by its security function code.
Declaration
public FinTanProcessParameters FindTanProcessParameters(int nSecurityFunction)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nSecurityFunction | The security function code that identifies the TAN process to retrieve the parameters for. |
Returns
Type | Description |
---|---|
FinTanProcessParameters | If TAN process parameters have been found they will be returned. If no
TAN process parameters have been found for the given security function code, then
|
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | The parameter nSecurityFunction was outside the range from zero through 999. |
FindTanProcessParameters(String, Boolean)
Retrieves the complete TAN process parameters for a particular TAN process, identified by its technical identification.
Declaration
public FinTanProcessParameters FindTanProcessParameters(string sTechnicalIdentification, bool fIgnoreCase)
Parameters
Type | Name | Description |
---|---|---|
System.String | sTechnicalIdentification | The technical identification of the TAN-Process to retrieve the parameters for. This will match the TechnicalIdentification property of the returned FinTanProcessParameters instance. |
System.Boolean | fIgnoreCase | Indicates whether the upper/lower case shall be ignored when comparing. |
Returns
Type | Description |
---|---|
FinTanProcessParameters | If TAN process parameters have been found they will be returned. If no
TAN process parameters have been found for the given technical identification, then
|
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter sTechnicalIdentification was |
System.ArgumentException | The parameter sTechnicalIdentification was an empty string. |
GetTanProcessParameters(Int32)
Retrieves the complete TAN process parameters for one of the available TAN processes.
Declaration
public FinTanProcessParameters GetTanProcessParameters(int i)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i | Selects the available TAN process by its index position. The first TAN process has the index position 1 and does always exist. Further TAN processes up to index position 98 may exist. |
Returns
Type | Description |
---|---|
FinTanProcessParameters | Complete set of TAN process parameters or |
SupportsSCA(Int32)
Determines whether the given security function does support SCA.
Declaration
public bool SupportsSCA(int nSecurityFunction)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nSecurityFunction |
Returns
Type | Description |
---|---|
System.Boolean |