public class SmartCardCardOS extends Object
Modifier and Type | Field and Description |
---|---|
protected javax.smartcardio.CardChannel |
channel |
Constructor and Description |
---|
SmartCardCardOS(javax.smartcardio.Card card) |
Modifier and Type | Method and Description |
---|---|
byte[] |
doSignatur(byte[] sha256Hash,
String pin) |
byte[] |
doSignaturWithoutSelection(byte[] sha256Hash,
String pin) |
protected javax.smartcardio.ResponseAPDU |
executeCommand(javax.smartcardio.CommandAPDU commandAPDU) |
protected void |
executeSelectWithFileIdAPDU(byte[] fileID) |
protected List<byte[]> |
getBuffer(boolean onlyFirst,
byte[] DF,
byte[] EF) |
X509Certificate |
getCertificate() |
String |
getCertificateSerialDecimal() |
String |
getCertificateSerialHex() |
String |
getCIN() |
protected byte[] |
getData(javax.smartcardio.CommandAPDU commandAPDU) |
protected javax.smartcardio.ResponseAPDU |
selectWithAppliactionId(byte[] appliactionId) |
public SmartCardCardOS(javax.smartcardio.Card card) throws javax.smartcardio.CardException
javax.smartcardio.CardException
public byte[] doSignatur(byte[] sha256Hash, String pin) throws javax.smartcardio.CardException
javax.smartcardio.CardException
public byte[] doSignaturWithoutSelection(byte[] sha256Hash, String pin) throws javax.smartcardio.CardException
javax.smartcardio.CardException
public String getCertificateSerialDecimal() throws javax.smartcardio.CardException
javax.smartcardio.CardException
public String getCertificateSerialHex() throws javax.smartcardio.CardException
javax.smartcardio.CardException
public X509Certificate getCertificate() throws javax.smartcardio.CardException, CertificateException
javax.smartcardio.CardException
CertificateException
public String getCIN() throws javax.smartcardio.CardException
javax.smartcardio.CardException
protected void executeSelectWithFileIdAPDU(byte[] fileID) throws javax.smartcardio.CardException
javax.smartcardio.CardException
protected javax.smartcardio.ResponseAPDU selectWithAppliactionId(byte[] appliactionId) throws javax.smartcardio.CardException
javax.smartcardio.CardException
protected javax.smartcardio.ResponseAPDU executeCommand(javax.smartcardio.CommandAPDU commandAPDU) throws javax.smartcardio.CardException
javax.smartcardio.CardException
protected byte[] getData(javax.smartcardio.CommandAPDU commandAPDU) throws javax.smartcardio.CardException
javax.smartcardio.CardException
protected List<byte[]> getBuffer(boolean onlyFirst, byte[] DF, byte[] EF) throws javax.smartcardio.CardException
javax.smartcardio.CardException
Copyright © 2021. All rights reserved.