Package com.yubico.yubikit.desktop.pcsc
Class PcscSmartCardConnection
java.lang.Object
com.yubico.yubikit.desktop.pcsc.PcscSmartCardConnection
- All Implemented Interfaces:
com.yubico.yubikit.core.smartcard.SmartCardConnection,com.yubico.yubikit.core.YubiKeyConnection,Closeable,AutoCloseable
public class PcscSmartCardConnection
extends Object
implements com.yubico.yubikit.core.smartcard.SmartCardConnection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()byte[]getAtr()com.yubico.yubikit.core.Transportbooleanbyte[]sendAndReceive(byte[] apdu)
-
Constructor Details
-
PcscSmartCardConnection
- Throws:
IOException
-
-
Method Details
-
getTransport
public com.yubico.yubikit.core.Transport getTransport()- Specified by:
getTransportin interfacecom.yubico.yubikit.core.smartcard.SmartCardConnection
-
isExtendedLengthApduSupported
public boolean isExtendedLengthApduSupported()- Specified by:
isExtendedLengthApduSupportedin interfacecom.yubico.yubikit.core.smartcard.SmartCardConnection
-
getAtr
public byte[] getAtr()- Specified by:
getAtrin interfacecom.yubico.yubikit.core.smartcard.SmartCardConnection
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
sendAndReceive
- Specified by:
sendAndReceivein interfacecom.yubico.yubikit.core.smartcard.SmartCardConnection- Throws:
IOException
-