public final class SEAccessControlUtility extends Object
| Constructor and Description |
|---|
SEAccessControlUtility() |
| Modifier and Type | Method and Description |
|---|---|
static void |
acrAdd(GlobalPlatform gp,
pro.javacard.AID aid,
byte[] hash,
byte[] rules)
Add an access rule.
|
static void |
acrDelete(GlobalPlatform gp,
pro.javacard.AID aid,
byte[] hash)
Delete an access rule by AID/HASH.
|
static void |
acrList(GlobalPlatform gp,
javax.smartcardio.Card card)
List access rules.
|
static void |
acrStore(GlobalPlatform gp,
com.payneteasy.tlv.BerTlv data)
Send store data for access rule.
|
public static void acrList(GlobalPlatform gp, javax.smartcardio.Card card) throws javax.smartcardio.CardException, GPException
card - javax.smartcardio.CardExceptionGPExceptionpublic static void acrAdd(GlobalPlatform gp, pro.javacard.AID aid, byte[] hash, byte[] rules) throws javax.smartcardio.CardException, GPException
aid - hash - rules - javax.smartcardio.CardExceptionGPExceptionpublic static void acrStore(GlobalPlatform gp, com.payneteasy.tlv.BerTlv data) throws javax.smartcardio.CardException, GPException
data - TLV datajavax.smartcardio.CardExceptionGPExceptionpublic static void acrDelete(GlobalPlatform gp, pro.javacard.AID aid, byte[] hash) throws javax.smartcardio.CardException, GPException
aid - hash - javax.smartcardio.CardExceptionGPExceptionCopyright © 2018. All rights reserved.