Class FinHHD
Assembly: Subsembly.FinTS.Core.dll
Syntax
public abstract class FinHHD : IDisposable
Constructors
FinHHD()
Declaration
Properties
DeviceName
Declaration
public abstract string DeviceName { get; }
Property Value
IsSupported
Indicates whether this HHD device type is generally supported on this platform.
Declaration
public abstract bool IsSupported { get; }
Property Value
Type |
Description |
bool |
For a Bluetooth HHD device this shall be true if, and only if, the
platform supports Bluetooth LE.
For a USB HHD device this shall be true if, and only if, the platform
supports PC/SC connections.
|
State
Declaration
public FinHHDState State { get; }
Property Value
Methods
AbortHHDUC()
If there is any ongoing transmission, then it is aborted at this point.
Declaration
BuildSecoderInfoAPDU()
Builds a "boxed" SECODER INFO command.
Declaration
protected byte[] BuildSecoderInfoAPDU()
Returns
CheckPresence()
Check whether the Chip-TAN device is present.
Declaration
protected abstract bool CheckPresence()
Returns
Dispose()
Declaration
public virtual void Dispose()
FinalizeHHDUC(bool)
Starts transmitting a SECODER FINALIZE TRANSACTION command to the reader.
Declaration
public FinHHDError FinalizeHHDUC(bool fOK)
Parameters
Type |
Name |
Description |
bool |
fOK |
|
Returns
GetErrorText(FinHHDError, int)
Declaration
public static string GetErrorText(FinHHDError nError, int nSW)
Parameters
Returns
OnReceiveError(FinHHDErrorEventArgs)
Declaration
protected void OnReceiveError(FinHHDErrorEventArgs aEventArgs)
Parameters
OnReceiveFinalize(FinHHDFinalizeEventArgs)
Declaration
protected void OnReceiveFinalize(FinHHDFinalizeEventArgs aEventArgs)
Parameters
OnReceiveSecoderInfo(FinHHDSecoderInfoEventArgs)
Declaration
protected void OnReceiveSecoderInfo(FinHHDSecoderInfoEventArgs aEventArgs)
Parameters
OnReceiveTAN(FinHHDTanEventArgs)
Declaration
protected void OnReceiveTAN(FinHHDTanEventArgs aEventArgs)
Parameters
ParseSecoderInfoAPDU(byte[])
Declaration
protected FinHHDSecoderInfo ParseSecoderInfoAPDU(byte[] vbResponseAPDU)
Parameters
Type |
Name |
Description |
byte[] |
vbResponseAPDU |
|
Returns
ReceiveAPDU(int, byte[])
Declaration
protected void ReceiveAPDU(int nSW, byte[] vbResponseAPDU)
Parameters
Type |
Name |
Description |
int |
nSW |
|
byte[] |
vbResponseAPDU |
|
SecoderInfo()
Declaration
public FinHHDError SecoderInfo()
Returns
TransmitHHDUC(FinChallengeHHDUC)
Starts transmitting the challenge to the reader, using a boxed SECODER TRANSMIT
HHDUC.
Declaration
public FinHHDError TransmitHHDUC(FinChallengeHHDUC aChallenge)
Parameters
Returns
TransmitHHDUC(byte[], bool)
Starts transmitting the challenge to the reader, using a boxed SECODER TRANSMIT
HHDUC.
command.
Declaration
public FinHHDError TransmitHHDUC(byte[] vbChallenge, bool fChallengeWithAMS)
Parameters
Type |
Name |
Description |
byte[] |
vbChallenge |
|
bool |
fChallengeWithAMS |
|
Returns
TransmitSecoderAPDU(byte[])
Start transmitting a boxed SECODER APDU in extended format.
Declaration
protected abstract FinHHDError TransmitSecoderAPDU(byte[] vbSecoderAPDU)
Parameters
Type |
Name |
Description |
byte[] |
vbSecoderAPDU |
|
Returns
Events
ReceiveError
Declaration
public event EventHandler<FinHHDErrorEventArgs> ReceiveError
Event Type
ReceiveFinalize
Declaration
public event EventHandler<FinHHDFinalizeEventArgs> ReceiveFinalize
Event Type
ReceiveSecoderInfo
Declaration
public event EventHandler<FinHHDSecoderInfoEventArgs> ReceiveSecoderInfo
Event Type
ReceiveTAN
Declaration
public event EventHandler<FinHHDTanEventArgs> ReceiveTAN
Event Type
Implements