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 |
static List<byte[]> |
FIDESMO_CARD_AIDS |
static pro.javacard.AID |
FIDESMO_PLATFORM_AID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deliverRecipe(AuthenticatedFidesmoApiClient client,
FormHandler formHandler,
String recipe) |
boolean |
deliverRecipes(AuthenticatedFidesmoApiClient client,
FormHandler formHandler,
List<String> recipes) |
static FidesmoCard.ChipPlatform |
detectPlatform(byte[] cplc) |
boolean |
detectPlatformV2() |
boolean |
detectPlatformV3() |
static FidesmoCard |
fakeInstance(javax.smartcardio.CardChannel channel) |
byte[] |
getBatchId() |
byte[] |
getCIN() |
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 final pro.javacard.AID FIDESMO_PLATFORM_AID
public static final List<byte[]> FIDESMO_CARD_AIDS
public static FidesmoCard.ChipPlatform detectPlatform(byte[] cplc)
public static FidesmoCard getInstance(javax.smartcardio.CardChannel channel) throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic static FidesmoCard fakeInstance(javax.smartcardio.CardChannel channel)
public boolean deliverRecipe(AuthenticatedFidesmoApiClient client, FormHandler formHandler, String recipe) throws javax.smartcardio.CardException, IOException, UnsupportedCallbackException
javax.smartcardio.CardExceptionIOExceptionUnsupportedCallbackExceptionpublic boolean deliverRecipes(AuthenticatedFidesmoApiClient client, FormHandler formHandler, List<String> recipes) throws javax.smartcardio.CardException, IOException, UnsupportedCallbackException
javax.smartcardio.CardExceptionIOExceptionUnsupportedCallbackExceptionpublic byte[] transmit(byte[] bytes)
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic byte[] getCIN()
public byte[] getBatchId()
public FidesmoCard.ChipPlatform getPlatform()
public Optional<byte[]> getUID()
public boolean detectPlatformV2()
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic boolean detectPlatformV3()
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic List<byte[]> listApps() throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionCopyright © 2020. All rights reserved.