Class FinHHD
public abstract class FinHHD : IDisposable
- Inheritance
-
FinHHD
- Implements
- Derived
- Inherited Members
Constructors
FinHHD()
public FinHHD()
Properties
DeviceName
public abstract string DeviceName { get; }
Property Value
IsSupported
Indicates whether this HHD device type is generally supported on this platform.
public abstract bool IsSupported { get; }
Property Value
- 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
public FinHHDState State { get; }
Property Value
Methods
AbortHHDUC()
If there is any ongoing transmission, then it is aborted at this point.
public void AbortHHDUC()
BuildSecoderInfoAPDU()
Builds a "boxed" SECODER INFO command.
protected byte[] BuildSecoderInfoAPDU()
Returns
- byte[]
CheckPresence()
Check whether the Chip-TAN device is present.
protected abstract bool CheckPresence()
Returns
Dispose()
public virtual void Dispose()
FinalizeHHDUC(bool)
Starts transmitting a SECODER FINALIZE TRANSACTION command to the reader.
public FinHHDError FinalizeHHDUC(bool fOK)
Parameters
fOK
bool
Returns
GetErrorText(FinHHDError, int)
public static string GetErrorText(FinHHDError nError, int nSW)
Parameters
nError
FinHHDErrornSW
int
Returns
OnReceiveError(FinHHDErrorEventArgs)
protected void OnReceiveError(FinHHDErrorEventArgs aEventArgs)
Parameters
aEventArgs
FinHHDErrorEventArgs
OnReceiveFinalize(FinHHDFinalizeEventArgs)
protected void OnReceiveFinalize(FinHHDFinalizeEventArgs aEventArgs)
Parameters
aEventArgs
FinHHDFinalizeEventArgs
OnReceiveSecoderInfo(FinHHDSecoderInfoEventArgs)
protected void OnReceiveSecoderInfo(FinHHDSecoderInfoEventArgs aEventArgs)
Parameters
aEventArgs
FinHHDSecoderInfoEventArgs
OnReceiveTAN(FinHHDTanEventArgs)
protected void OnReceiveTAN(FinHHDTanEventArgs aEventArgs)
Parameters
aEventArgs
FinHHDTanEventArgs
ParseSecoderInfoAPDU(byte[])
protected FinHHDSecoderInfo ParseSecoderInfoAPDU(byte[] vbResponseAPDU)
Parameters
vbResponseAPDU
byte[]
Returns
ReceiveAPDU(int, byte[])
protected void ReceiveAPDU(int nSW, byte[] vbResponseAPDU)
Parameters
SecoderInfo()
public FinHHDError SecoderInfo()
Returns
TransmitHHDUC(FinChallengeHHDUC)
Starts transmitting the challenge to the reader, using a boxed SECODER TRANSMIT HHDUC.
public FinHHDError TransmitHHDUC(FinChallengeHHDUC aChallenge)
Parameters
aChallenge
FinChallengeHHDUC
Returns
Remarks
This method can only be used to transmit challenge data without AMS.
TransmitHHDUC(byte[], bool)
Starts transmitting the challenge to the reader, using a boxed SECODER TRANSMIT HHDUC. command.
public FinHHDError TransmitHHDUC(byte[] vbChallenge, bool fChallengeWithAMS)
Parameters
Returns
TransmitSecoderAPDU(byte[])
Start transmitting a boxed SECODER APDU in extended format.
protected abstract FinHHDError TransmitSecoderAPDU(byte[] vbSecoderAPDU)
Parameters
vbSecoderAPDU
byte[]
Returns
Remarks
The transmission of the APDU shall occur on a background thread. The final result, or error, must be provided asynchronously by calling ReceiveAPDU(int, byte[]).
Events
ReceiveError
public event EventHandler<FinHHDErrorEventArgs> ReceiveError
Event Type
ReceiveFinalize
public event EventHandler<FinHHDFinalizeEventArgs> ReceiveFinalize
Event Type
ReceiveSecoderInfo
public event EventHandler<FinHHDSecoderInfoEventArgs> ReceiveSecoderInfo
Event Type
ReceiveTAN
Asynchronously provides the TAN result from the preceeding TransmitHHDUC(byte[], bool) call.
public event EventHandler<FinHHDTanEventArgs> ReceiveTAN