Class FinChallengeInfo

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

Trivial class that collects the information about a challenge provided by the bank system.

public class FinChallengeInfo
Inheritance
FinChallengeInfo
Inherited Members

Fields

Challenge

The actual challenge that shall be displayed to the user.

public string Challenge

Field Value

string

This string may consist of up to 2048 characters.

ChallengeBinary

Binary challenge data.

public FinByteBuffer ChallengeBinary

Field Value

FinByteBuffer

Remarks

This data is extracted from the binary ChallengeUC field of HITAN. It may be needed if that field does not contain a real HHDUC string that can be stored in ChallengeHHDUC.

ChallengeExpiryDate

Optional date when the challenge will expire. That is, the user must provide the TAN matching this challenge before the challenge expires.

public SwiftDate ChallengeExpiryDate

Field Value

SwiftDate

ChallengeExpiryTime

Optional time that, together with the ChallengeExpiryDate, defines the exact point in time when the challenge expires.

public SwiftTime ChallengeExpiryTime

Field Value

SwiftTime

ChallengeHHDUC

Special challenge data according to the HHD UC specification.

public string ChallengeHHDUC

Field Value

string

Remarks

This data is either extracted from the binary ChallengeUC field of HITAN version 4, or from the standard Challenge field if this starts with the meta token CHLGUC. It contains the complete challenge UC including the LC length field.

ChallengeHTML

Challenge text with HTML markup.

public string ChallengeHTML

Field Value

string

Remarks

If the challenge text from the bank contains HTML markup, then the raw challenge text including the HTML markup is stored in this field. The Challenge field contains the text only version of the challenge text without any markup. If the challenge text from the bank does not include HTML markup, then this field has the same value as the Challenge field.

ChallengeMatrixCode

If the challenge data contains a marix code, e.g. photoTAN, then the net data of the matrix code can be accessed using this property.

public byte[] ChallengeMatrixCode

Field Value

byte[]

Methods

GetChallengePrompt(FinTanProcessParameters)

Produces a human readable prompt for this challenge, based on the Challenge text.

public string GetChallengePrompt(FinTanProcessParameters aTanProc)

Parameters

aTanProc FinTanProcessParameters

Returns

string

GetDefaultPrompt(FinTanProcessParameters)

Gets a default prompt text without challenge.

public static string GetDefaultPrompt(FinTanProcessParameters aTanProc)

Parameters

aTanProc FinTanProcessParameters

Returns

string