Class NfcSmartCardConnection
- java.lang.Object
-
- com.yubico.yubikit.android.transport.nfc.NfcSmartCardConnection
-
- All Implemented Interfaces:
com.yubico.yubikit.core.smartcard.SmartCardConnection,com.yubico.yubikit.core.YubiKeyConnection,java.io.Closeable,java.lang.AutoCloseable
public class NfcSmartCardConnection extends java.lang.Object implements com.yubico.yubikit.core.smartcard.SmartCardConnectionNFC service for interacting with the YubiKey
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()com.yubico.yubikit.core.TransportgetTransport()booleanisExtendedLengthApduSupported()byte[]sendAndReceive(byte[] apdu)
-
-
-
Method Detail
-
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
-
sendAndReceive
public byte[] sendAndReceive(byte[] apdu) throws java.io.IOException- Specified by:
sendAndReceivein interfacecom.yubico.yubikit.core.smartcard.SmartCardConnection- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-