Class FinHHD
Inheritance
System.Object
FinHHD
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Subsembly.FinTS.Core.dll
Syntax
public abstract class FinHHD : IDisposable
Constructors
FinHHD()
Declaration
Properties
DeviceName
Declaration
public abstract string DeviceName { get; }
Property Value
Type |
Description |
System.String |
|
IsSupported
Indicates whether this HHD device type is generally supported on this platform.
Declaration
public abstract bool IsSupported { get; }
Property Value
Type |
Description |
System.Boolean |
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
Type |
Description |
System.Byte[] |
|
CheckPresence()
Check whether the Chip-TAN device is present.
Declaration
protected abstract bool CheckPresence()
Returns
Type |
Description |
System.Boolean |
|
Dispose()
Declaration
public virtual void Dispose()
FinalizeHHDUC(Boolean)
Starts transmitting a SECODER FINALIZE TRANSACTION command to the reader.
Declaration
public FinHHDError FinalizeHHDUC(bool fOK)
Parameters
Type |
Name |
Description |
System.Boolean |
fOK |
|
Returns
GetErrorText(FinHHDError, Int32)
Declaration
public static string GetErrorText(FinHHDError nError, int nSW)
Parameters
Type |
Name |
Description |
FinHHDError |
nError |
|
System.Int32 |
nSW |
|
Returns
Type |
Description |
System.String |
|
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 |
System.Byte[] |
vbResponseAPDU |
|
Returns
ReceiveAPDU(Int32, Byte[])
Declaration
protected void ReceiveAPDU(int nSW, byte[] vbResponseAPDU)
Parameters
Type |
Name |
Description |
System.Int32 |
nSW |
|
System.Byte[] |
vbResponseAPDU |
|
SecoderInfo()
Declaration
public FinHHDError SecoderInfo()
Returns
TransmitHHDUC(FinChallengeHHDUC)
Declaration
public FinHHDError TransmitHHDUC(FinChallengeHHDUC aChallenge)
Parameters
Returns
TransmitHHDUC(Byte[])
Starts transmitting the challenge to the reader, using a boxed SECODER TRANSMIT
HHDUC.
command.
Declaration
public FinHHDError TransmitHHDUC(byte[] vbChallenge)
Parameters
Type |
Name |
Description |
System.Byte[] |
vbChallenge |
|
Returns
TransmitSecoderAPDU(Byte[])
Start transmitting a boxed SECODER APDU in extended format.
Declaration
protected abstract FinHHDError TransmitSecoderAPDU(byte[] vbSecoderAPDU)
Parameters
Type |
Name |
Description |
System.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
System.IDisposable