public class FidesmoCard extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FidesmoCard.ChipPlatform |
| Modifier and Type | Field and Description |
|---|---|
static pro.javacard.AID |
FIDESMO_APP_AID |
static pro.javacard.AID |
FIDESMO_BATCH_AID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deliverRecipe(AuthenticatedFidesmoApiClient client,
FormHandler formHandler,
String recipe) |
boolean |
deliverRecipes(AuthenticatedFidesmoApiClient client,
FormHandler formHandler,
List<String> recipes) |
boolean |
detect() |
static FidesmoCard.ChipPlatform |
detectPlatform(byte[] cplc) |
byte[] |
getBatchId() |
byte[] |
getCIN() |
byte[] |
getIIN() |
static FidesmoCard |
getInstance(javax.smartcardio.CardChannel channel) |
FidesmoCard.ChipPlatform |
getPlatform() |
Optional<byte[]> |
getUID() |
List<byte[]> |
listApps() |
byte[] |
transmit(byte[] bytes) |
public static final pro.javacard.AID FIDESMO_APP_AID
public static final pro.javacard.AID FIDESMO_BATCH_AID
public static FidesmoCard.ChipPlatform detectPlatform(byte[] cplc)
public static FidesmoCard getInstance(javax.smartcardio.CardChannel channel) throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic boolean deliverRecipe(AuthenticatedFidesmoApiClient client, FormHandler formHandler, String recipe) throws javax.smartcardio.CardException, IOException
javax.smartcardio.CardExceptionIOExceptionpublic boolean deliverRecipes(AuthenticatedFidesmoApiClient client, FormHandler formHandler, List<String> recipes) throws javax.smartcardio.CardException, IOException
javax.smartcardio.CardExceptionIOExceptionpublic byte[] transmit(byte[] bytes)
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic byte[] getIIN()
public byte[] getCIN()
public byte[] getBatchId()
public FidesmoCard.ChipPlatform getPlatform()
public Optional<byte[]> getUID()
public boolean detect()
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic List<byte[]> listApps() throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionCopyright © 2019. All rights reserved.