Class FinChallengeHHDUC

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

Collects the data for the optic TAN procedure HHDUC.

public class FinChallengeHHDUC
Inheritance
FinChallengeHHDUC
Inherited Members

Properties

ChallengeHHDUC

public string ChallengeHHDUC { get; }

Property Value

string

Methods

CreateBQR()

Creates Banking QR Code string as defined by the DK. ATTENTION: This does not include the optional AMS which IS required by some banks!

public string CreateBQR()

Returns

string

The string produced contains raw binary data that can be converted straight into a QR Code, without any additional processing.

CreateSequencer()

public FinChallengeHHDUCSequencer CreateSequencer()

Returns

FinChallengeHHDUCSequencer

CreateTransmissionBlock()

Create the binary transmission block for a HHD UC device.

public byte[] CreateTransmissionBlock()

Returns

byte[]

CreateTransmissionBlockFromBQR(string, out bool)

Extracts the raw transmission block from raw Chip-TAN QR Code data.

public static byte[] CreateTransmissionBlockFromBQR(string sBQR, out bool fWithAMS)

Parameters

sBQR string

The raw binary data from a QR code, forced as a string by assigning each character the byte value of the raw data. This is done because QR Codes usually contain strings, but the BQR code is made up of binary data. In other words, this is the string you get from your QR recognizer. This must not be null.

fWithAMS bool

Returns an indication whether the returned transmission block includes AMS data, or not.

Returns

byte[]

If the given BQR was a valid Chip-TAN QR Code, then the contained, raw transmission block data is returned. If the parameter sBQR did not contain a valid Chip-TAN QR Code, then null is returned.

FromString(string, string)

Creates a FinChallengeHHDUC from the challenge string obtained from a HITAN segment.

public static FinChallengeHHDUC FromString(string sChallengeHHDUC, string sVersionHHDUC)

Parameters

sChallengeHHDUC string

The challenge string from the HITAN segment, usually directly taken from ChallengeHHDUC.

sVersionHHDUC string

The ZKA defined HHD version used by this challenge. This can be taken from the field FinTanProcessParameters.ZkaTanProcVersion. If null, then version 1.3.0 will be assumed.

Returns

FinChallengeHHDUC

If the challenge was parsed successfully as a HHDUC challenge, then a new FinChallengeHHDUC instance is returned. If the challenge string is invalid, then null is returned.

Exceptions

ArgumentNullException

The parameter sChallengeHHDUC was null.