Class FinChallengeHHDUC
Collects the data for the optic TAN procedure HHDUC.
Inheritance
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinChallengeHHDUC
Properties
ChallengeHHDUC
Declaration
public string ChallengeHHDUC { get; }
Property Value
Type | Description |
---|---|
System.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!
Declaration
public string CreateBQR()
Returns
Type | Description |
---|---|
System.String | The string produced contains raw binary data that can be converted straight into a QR Code, without any additional processing. |
CreateSequencer()
Declaration
public FinChallengeHHDUCSequencer CreateSequencer()
Returns
Type | Description |
---|---|
FinChallengeHHDUCSequencer |
CreateTransmissionBlock()
Create the binary transmission block for a HHD UC device.
Declaration
public byte[] CreateTransmissionBlock()
Returns
Type | Description |
---|---|
System.Byte[] |
CreateTransmissionBlockFromBQR(String, out Boolean)
Extracts the raw transmission block from raw Chip-TAN QR Code data.
Declaration
public static byte[] CreateTransmissionBlockFromBQR(string sBQR, out bool fWithAMS)
Parameters
Type | Name | Description |
---|---|---|
System.String | sBQR | 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 |
System.Boolean | fWithAMS | Returns an indication whether the returned transmission block includes AMS data, or not. |
Returns
Type | Description |
---|---|
System.Byte[] | If the given BQR was a valid Chip-TAN QR Code, then the contained, raw transmission
block data is returned. If the parameter |
FromString(String, String)
Creates a FinChallengeHHDUC from the challenge string obtained from a HITAN segment.
Declaration
public static FinChallengeHHDUC FromString(string sChallengeHHDUC, string sVersionHHDUC)
Parameters
Type | Name | Description |
---|---|---|
System.String | sChallengeHHDUC | The challenge string from the HITAN segment, usually directly taken from ChallengeHHDUC. |
System.String | sVersionHHDUC | The ZKA defined HHD version used by this challenge. This can be taken from the
field FinTanProcessParameters.ZkaTanProcVersion.
If |
Returns
Type | Description |
---|---|
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 |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |