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.CardExceptionpublic byte[] doSignatur(byte[] sha256Hash,
String pin)
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic byte[] doSignaturWithoutSelection(byte[] sha256Hash,
String pin)
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic String getCertificateSerialDecimal() throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic String getCertificateSerialHex() throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionpublic X509Certificate getCertificate() throws javax.smartcardio.CardException, CertificateException
javax.smartcardio.CardExceptionCertificateExceptionpublic String getCIN() throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionprotected void executeSelectWithFileIdAPDU(byte[] fileID)
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionprotected javax.smartcardio.ResponseAPDU selectWithAppliactionId(byte[] appliactionId)
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionprotected javax.smartcardio.ResponseAPDU executeCommand(javax.smartcardio.CommandAPDU commandAPDU)
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionprotected byte[] getData(javax.smartcardio.CommandAPDU commandAPDU)
throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionprotected List<byte[]> getBuffer(boolean onlyFirst, byte[] DF, byte[] EF) throws javax.smartcardio.CardException
javax.smartcardio.CardExceptionCopyright © 2021. All rights reserved.