DESFire card module. This is an add-on library for SmartCardAPI.
It supports NXP DESFire EV1/2/3 cards on contactless, PC/SC connected card readers.
Cryptographic operations that are required for mutual authentication with the card
under TDES or AES keys are implemented in software.
Namespace:
CardWerk.SmartCard.CardModule.DESFire
Assembly: CardWerk.SmartCard.CardModule.DESFire (in CardWerk.SmartCard.CardModule.DESFire.dll)
Top
Top
Assembly: CardWerk.SmartCard.CardModule.DESFire (in CardWerk.SmartCard.CardModule.DESFire.dll)
Public Class DESFireCard
Inherits CardModuleBase
This language is not supported or no code example is available.
public class DESFireCard : CardModuleBase
This language is not supported or no code example is available.
public ref class DESFireCard : public CardModuleBase^
This language is not supported or no code example is available.
Name | Description | |
---|---|---|
![]() |
DESFireCard(CardHandle) | Constructor. |
Name | Description | |
---|---|---|
![]() |
Authenticate(int, byte[]) | Full authentication sequence using TDES-based mutual authentication and session key calculation according to NXP DESFire EV1 card edge specification. |
![]() |
AuthenticateAES(int, byte[]) | Full authentication sequence according to NXP DESFire EV1 specifications. |
![]() |
ChangeKey(int, int, byte[], byte[]) | Changes a card key. |
![]() |
ChangeKeySettings(byte) | This command changes the master key configuration settings of the selected application. |
![]() |
CreateApplication(int, byte, byte) | Ceate a card application without any ISO ID or DfName. NOTE: It is not possible to change the key type after creating an application. |
![]() |
CreateApplication(int, byte, byte, int, byte[]) | Creates a new application on the PICC. |
![]() |
CreateFile(int, int, DESFireCardFileSettings) | Central, generic method to create files. |
![]() |
CreateValueFile(int, DESFireCardFileSettings) | Creates value file |
![]() |
Credit(int, int) | Credits a value. |
![]() |
Debit(int, int) | Debits a value. |
![]() |
DeleteApplication(int) | Deletes the application described by aid. |
![]() |
DeleteFile(int) | Deletes a file within an application |
![]() |
FormatPICC() | Formats DESFire card/ This operation deletes all applications and releases all user memory. |
![]() |
GetApplicationIDs() | Returns application IDs of all active applications. |
![]() |
GetCardUID() | Reads the chip-level card serial number. This is a 7-byte value that is unique for each card. |
![]() |
GetFileIDs() | Returns file IDs of all active files within the currently selected application. |
![]() |
GetFileSettings(int) | Explore communication mode, access rights, algorithms and more. |
![]() |
GetKeySettings() | Reads key settings of the selected application. |
![]() |
GetUID() | |
![]() |
GetValue(int, ref int) | Gets value. |
![]() |
GetVersion() | Reads DESFire card GetVersion() returns manufacturing data. |
![]() |
Read(int, int, int) | Reads card data. |
![]() |
SelectApplication(int) | Selects an application on a DESFire card. |
![]() |
Write(int, byte[], int, int) | Writes data to the card. |