kz.gamma.hardware.crypto.pcsc.jacarta.license
Class LicenseJaCarta
java.lang.Object
kz.gamma.hardware.crypto.pcsc.jacarta.license.LicenseJaCarta
public class LicenseJaCarta
- extends java.lang.Object
- Author:
- Sergey Moisseyev
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLA
private static final byte CLA
- See Also:
- Constant Field Values
LIC_OPERATION
private static final byte LIC_OPERATION
- See Also:
- Constant Field Values
P1_GET_VENDOR_ID
private static final byte P1_GET_VENDOR_ID
- See Also:
- Constant Field Values
P1_GET_LICENSE_ID
private static final byte P1_GET_LICENSE_ID
- See Also:
- Constant Field Values
P1_GET_LICENSE
private static final byte P1_GET_LICENSE
- See Also:
- Constant Field Values
respApdu
private javax.smartcardio.ResponseAPDU respApdu
capdu
private javax.smartcardio.CommandAPDU capdu
ch
private javax.smartcardio.CardChannel ch
atr
private java.lang.String atr
GAMMA_VENDOR_ID
private byte[] GAMMA_VENDOR_ID
GAMMA_PRODUCT_ID
private byte[] GAMMA_PRODUCT_ID
LicenseJaCarta
public LicenseJaCarta(javax.smartcardio.CardChannel ch)
throws javax.smartcardio.CardException
- Throws:
javax.smartcardio.CardException
checkLicense
public boolean checkLicense(byte[] lic)
readApplet
public ResponceCard readApplet()
throws javax.smartcardio.CardException
- Throws:
javax.smartcardio.CardException
getVendorID
public ResponceCard getVendorID()
throws javax.smartcardio.CardException
- Throws:
javax.smartcardio.CardException
getLicenseID
public ResponceCard getLicenseID(byte[] vendorID,
int offset)
throws javax.smartcardio.CardException
- Throws:
javax.smartcardio.CardException
getLicense
public ResponceCard getLicense(byte[] vendorID,
int offsetV,
byte[] licenseID,
int offsetL)
throws javax.smartcardio.CardException
- Throws:
javax.smartcardio.CardException
disconnect
public void disconnect()
throws javax.smartcardio.CardException
- Throws:
javax.smartcardio.CardException
Copyright © 2013 Gamma Technologies. All Rights Reserved.