Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Apdu - Class in com.yubico.yubikit.core.smartcard
-
Data model for encapsulating an APDU command, as defined by ISO/IEC 7816-4 standard.
- Apdu(int, int, int, int, byte[]) - Constructor for class com.yubico.yubikit.core.smartcard.Apdu
- Apdu(int, int, int, int, byte[], int) - Constructor for class com.yubico.yubikit.core.smartcard.Apdu
-
Constructor using int's for convenience.
- ApduException - Exception in com.yubico.yubikit.core.smartcard
-
Thrown when an APDU command fails with an error code.
- ApduException(short) - Constructor for exception com.yubico.yubikit.core.smartcard.ApduException
- ApduException(short, String) - Constructor for exception com.yubico.yubikit.core.smartcard.ApduException
- ApduFormat - Enum Class in com.yubico.yubikit.core.smartcard
-
APDU encoding format.
- ApduProcessor - Interface in com.yubico.yubikit.core.smartcard
- ApduResponse - Class in com.yubico.yubikit.core.smartcard
-
An APDU response from a YubiKey, comprising response data, and a status code.
- ApduResponse(byte[]) - Constructor for class com.yubico.yubikit.core.smartcard.ApduResponse
-
Creates a new response from a key
- AppId - Class in com.yubico.yubikit.core.smartcard
- AppId() - Constructor for class com.yubico.yubikit.core.smartcard.AppId
- ApplicationNotAvailableException - Exception in com.yubico.yubikit.core.application
-
The application is either disabled or not supported on the connected YubiKey.
- ApplicationNotAvailableException(String) - Constructor for exception com.yubico.yubikit.core.application.ApplicationNotAvailableException
- ApplicationNotAvailableException(String, Throwable) - Constructor for exception com.yubico.yubikit.core.application.ApplicationNotAvailableException
- ApplicationSession<T extends ApplicationSession<T>> - Class in com.yubico.yubikit.core.application
-
A base class for Sessions with a YubiKey.
- ApplicationSession() - Constructor for class com.yubico.yubikit.core.application.ApplicationSession
- AUTH_METHOD_BLOCKED - Static variable in class com.yubico.yubikit.core.smartcard.SW
- authenticate(ScpKeyParams) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Initialize SCP and authenticate the session.
B
- BadResponseException - Exception in com.yubico.yubikit.core.application
-
The data contained in a YubiKey response was invalid.
- BadResponseException(String) - Constructor for exception com.yubico.yubikit.core.application.BadResponseException
- BadResponseException(String, Throwable) - Constructor for exception com.yubico.yubikit.core.application.BadResponseException
- Base64 - Class in com.yubico.yubikit.core.internal.codec
-
Loads and provides Base64 implementation
- Base64() - Constructor for class com.yubico.yubikit.core.internal.codec.Base64
- Base64Codec - Interface in com.yubico.yubikit.core.internal.codec
-
Helper for performing Base64 data conversions.
- bitLength - Variable in class com.yubico.yubikit.core.keys.PublicKeyValues
- BrainpoolP256R1 - Enum constant in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- BrainpoolP384R1 - Enum constant in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- BrainpoolP512R1 - Enum constant in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- bytesToHex(byte[]) - Static method in class com.yubico.yubikit.core.util.StringUtils
-
Helper method that convert byte array into string for logging
- bytesToHex(byte[], int, int) - Static method in class com.yubico.yubikit.core.util.StringUtils
-
Helper method that convert byte array into string for logging
- ByteUtils - Class in com.yubico.yubikit.core.util
-
Used internally in YubiKit, don't use from applications.
- ByteUtils() - Constructor for class com.yubico.yubikit.core.util.ByteUtils
C
- calculateCrc(byte[], int) - Static method in class com.yubico.yubikit.core.otp.ChecksumUtils
-
Calculate the CRC13239 checksum for a byte buffer.
- Callback<T> - Interface in com.yubico.yubikit.core.util
-
Generic callback interface.
- cancel() - Method in class com.yubico.yubikit.core.application.CommandState
-
Cancel an ongoing CTAP2 command, by sending a CTAP cancel command.
- CCID - Enum constant in enum class com.yubico.yubikit.core.UsbInterface.Mode
- CCID - Static variable in class com.yubico.yubikit.core.UsbInterface
- checkCrc(byte[], int) - Static method in class com.yubico.yubikit.core.otp.ChecksumUtils
-
Verifies a checksum.
- ChecksumUtils - Class in com.yubico.yubikit.core.otp
-
Utility methods for calculating and verifying the CRC13239 checksum used by YubiKeys.
- CLASS_NOT_SUPPORTED - Static variable in class com.yubico.yubikit.core.smartcard.SW
- close() - Method in class com.yubico.yubikit.core.fido.FidoProtocol
- close() - Method in class com.yubico.yubikit.core.otp.OtpProtocol
- close() - Method in class com.yubico.yubikit.core.smartcard.ScpProcessor
- close() - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- close() - Method in class com.yubico.yubikit.core.smartcard.SmartCardProtocol
- com.yubico.yubikit.core - package com.yubico.yubikit.core
- com.yubico.yubikit.core.application - package com.yubico.yubikit.core.application
- com.yubico.yubikit.core.fido - package com.yubico.yubikit.core.fido
- com.yubico.yubikit.core.internal - package com.yubico.yubikit.core.internal
- com.yubico.yubikit.core.internal.codec - package com.yubico.yubikit.core.internal.codec
- com.yubico.yubikit.core.keys - package com.yubico.yubikit.core.keys
- com.yubico.yubikit.core.otp - package com.yubico.yubikit.core.otp
- com.yubico.yubikit.core.smartcard - package com.yubico.yubikit.core.smartcard
- com.yubico.yubikit.core.smartcard.scp - package com.yubico.yubikit.core.smartcard.scp
- com.yubico.yubikit.core.util - package com.yubico.yubikit.core.util
- COMMAND_ABORTED - Static variable in class com.yubico.yubikit.core.smartcard.SW
- COMMAND_NOT_ALLOWED - Static variable in class com.yubico.yubikit.core.smartcard.SW
- CommandException - Exception in com.yubico.yubikit.core.application
-
An error response from a YubiKey.
- CommandException(String) - Constructor for exception com.yubico.yubikit.core.application.CommandException
- CommandException(String, Throwable) - Constructor for exception com.yubico.yubikit.core.application.CommandException
- CommandRejectedException - Exception in com.yubico.yubikit.core.otp
-
Thrown if a command is rejected by the YubiKey.
- CommandRejectedException(String) - Constructor for exception com.yubico.yubikit.core.otp.CommandRejectedException
- CommandState - Class in com.yubico.yubikit.core.application
-
Provides control over an ongoing YubiKey operation.
- CommandState() - Constructor for class com.yubico.yubikit.core.application.CommandState
- compareTo(Version) - Method in class com.yubico.yubikit.core.Version
- CONDITIONS_NOT_SATISFIED - Static variable in class com.yubico.yubikit.core.smartcard.SW
- configure(Version) - Method in class com.yubico.yubikit.core.smartcard.SmartCardProtocol
-
Enable all relevant settings and workarounds given the firmware version of the YubiKey.
- CtapException - Exception in com.yubico.yubikit.core.fido
-
An error on the CTAP-level, returned from the Authenticator.
- CtapException(byte) - Constructor for exception com.yubico.yubikit.core.fido.CtapException
- Cv25519(EllipticCurveValues, byte[]) - Constructor for class com.yubico.yubikit.core.keys.PublicKeyValues.Cv25519
D
- d(String) - Static method in class com.yubico.yubikit.core.Logger
-
Deprecated.Log a debug message.
- DATA_INVALID - Static variable in class com.yubico.yubikit.core.smartcard.SW
- DataEncryptor - Interface in com.yubico.yubikit.core.smartcard.scp
-
Encrypts data using the DEK (data encryption key) of a current SCP session.
- debug(Logger, String) - Static method in class com.yubico.yubikit.core.internal.Logger
- debug(Logger, String, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- debug(Logger, String, Object...) - Static method in class com.yubico.yubikit.core.internal.Logger
- debug(Logger, String, Object, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- decode(String) - Static method in class com.yubico.yubikit.core.otp.Modhex
-
Decodes Modhex encoded string.
- decodeList(byte[]) - Static method in class com.yubico.yubikit.core.util.Tlvs
-
Decodes a sequence of BER-TLV encoded data into a list of Tlvs.
- decodeMap(byte[]) - Static method in class com.yubico.yubikit.core.util.Tlvs
-
Decodes a sequence of BER-TLV encoded data into a mapping of Tag-Value pairs.
- decrypt(byte[]) - Method in class com.yubico.yubikit.core.smartcard.scp.ScpState
- DefaultBase64Codec - Class in com.yubico.yubikit.core.internal.codec
-
Default implementation of Base64Codec
- DefaultBase64Codec() - Constructor for class com.yubico.yubikit.core.internal.codec.DefaultBase64Codec
- deleteKey(KeyRef, boolean) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Delete one (or more) keys.
- derive(byte[]) - Method in class com.yubico.yubikit.core.smartcard.scp.StaticKeys
- destroy() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues
- destroy() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Ec
- destroy() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
E
- e(String, Throwable) - Static method in class com.yubico.yubikit.core.Logger
-
Deprecated.Log an error message, together with an exception.
- Ec(EllipticCurveValues, byte[]) - Constructor for class com.yubico.yubikit.core.keys.PrivateKeyValues.Ec
- Ec(EllipticCurveValues, BigInteger, BigInteger) - Constructor for class com.yubico.yubikit.core.keys.PublicKeyValues.Ec
- Ed25519 - Enum constant in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- EllipticCurveValues - Enum Class in com.yubico.yubikit.core.keys
- enableWorkarounds(Version) - Method in class com.yubico.yubikit.core.smartcard.SmartCardProtocol
-
Deprecated.
- encode(byte[]) - Static method in class com.yubico.yubikit.core.otp.Modhex
-
Encodes data to Modhex.
- encodeList(Iterable<? extends Tlv>) - Static method in class com.yubico.yubikit.core.util.Tlvs
-
Encodes a List of Tlvs into an array of bytes.
- encodeMap(Map<Integer, byte[]>) - Static method in class com.yubico.yubikit.core.util.Tlvs
-
Encodes a Map of Tag-Value pairs into an array of bytes.
- encrypt(byte[]) - Method in interface com.yubico.yubikit.core.smartcard.scp.DataEncryptor
- encrypt(byte[]) - Method in class com.yubico.yubikit.core.smartcard.scp.ScpState
- equals(Object) - Method in class com.yubico.yubikit.core.smartcard.scp.KeyRef
- equals(Object) - Method in class com.yubico.yubikit.core.Version
- ERR_ACTION_TIMEOUT - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_CBOR_UNEXPECTED_TYPE - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_CHANNEL_BUSY - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_CREDENTIAL_EXCLUDED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_EXTENSION_FIRST - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_EXTENSION_LAST - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_FP_DATABASE_FULL - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INTEGRITY_FAILURE - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INVALID_CBOR - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INVALID_CHANNEL - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INVALID_COMMAND - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INVALID_CREDENTIAL - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INVALID_LENGTH - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INVALID_OPTION - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INVALID_PARAMETER - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INVALID_SEQ - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_INVALID_SUBCOMMAND - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_KEEPALIVE_CANCEL - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_KEY_STORE_FULL - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_LIMIT_EXCEEDED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_LOCK_REQUIRED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_MISSING_PARAMETER - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_NO_CREDENTIALS - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_NO_OPERATION_PENDING - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_NO_OPERATIONS - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_NOT_ALLOWED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_NOT_BUSY - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_OPERATION_DENIED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_OPERATION_PENDING - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_OTHER - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_PIN_AUTH_BLOCKED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_PIN_AUTH_INVALID - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_PIN_BLOCKED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_PIN_INVALID - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_PIN_NOT_SET - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_PIN_POLICY_VIOLATION - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_PIN_REQUIRED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_PIN_TOKEN_EXPIRED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_PROCESSING - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_REQUEST_TOO_LARGE - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_SPEC_LAST - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_SUCCESS - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_TIMEOUT - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_UNAUTHORIZED_PERMISSION - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_UNSUPPORTED_ALGORITHM - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_UNSUPPORTED_EXTENSION - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_UNSUPPORTED_OPTION - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_UP_REQUIRED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_USER_ACTION_PENDING - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_USER_ACTION_TIMEOUT - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_UV_BLOCKED - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_UV_INVALID - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_VENDOR_FIRST - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- ERR_VENDOR_LAST - Static variable in exception com.yubico.yubikit.core.fido.CtapException
- error(Logger, String) - Static method in class com.yubico.yubikit.core.internal.Logger
- error(Logger, String, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- error(Logger, String, Object...) - Static method in class com.yubico.yubikit.core.internal.Logger
- error(Logger, String, Object, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- EXTENDED - Enum constant in enum class com.yubico.yubikit.core.smartcard.ApduFormat
F
- failure(E) - Static method in class com.yubico.yubikit.core.util.Result
-
Constructs a Result for an Exception (failure).
- Feature<T extends ApplicationSession<T>> - Class in com.yubico.yubikit.core.application
-
A feature for a YubiKey application, which may not be supported by all YubiKeys.
- Feature(String) - Constructor for class com.yubico.yubikit.core.application.Feature
- FEATURE_REPORT_SIZE - Static variable in interface com.yubico.yubikit.core.otp.OtpConnection
- Feature.Versioned<T extends ApplicationSession<T>> - Class in com.yubico.yubikit.core.application
-
A Feature which has a minimum version which it checks against.
- featureName - Variable in class com.yubico.yubikit.core.application.Feature
- FIDO - Enum constant in enum class com.yubico.yubikit.core.UsbInterface.Mode
- FIDO - Static variable in class com.yubico.yubikit.core.smartcard.AppId
- FIDO - Static variable in class com.yubico.yubikit.core.UsbInterface
- FIDO_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbInterface.Mode
- FidoConnection - Interface in com.yubico.yubikit.core.fido
-
A HID CTAP connection to a YubiKey.
- FidoProtocol - Class in com.yubico.yubikit.core.fido
- FidoProtocol(FidoConnection) - Constructor for class com.yubico.yubikit.core.fido.FidoProtocol
- FILE_NOT_FOUND - Static variable in class com.yubico.yubikit.core.smartcard.SW
- first - Variable in class com.yubico.yubikit.core.util.Pair
- fromBytes(byte[]) - Static method in class com.yubico.yubikit.core.Version
-
Parses a Version from a byte array by taking the first three bytes.
- fromEncodedPoint(EllipticCurveValues, byte[]) - Static method in class com.yubico.yubikit.core.keys.PublicKeyValues.Ec
- fromOid(byte[]) - Static method in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- fromPrivateKey(PrivateKey) - Static method in class com.yubico.yubikit.core.keys.PrivateKeyValues
-
Constructs a PrivateKeyValues instance using values from a JCA
PrivateKey
. - fromPublicKey(PublicKey) - Static method in class com.yubico.yubikit.core.keys.PublicKeyValues
- fromString(String) - Method in interface com.yubico.yubikit.core.internal.codec.Base64Codec
- fromString(String) - Method in class com.yubico.yubikit.core.internal.codec.DefaultBase64Codec
- fromUrlSafeString(String) - Static method in class com.yubico.yubikit.core.internal.codec.Base64
-
Decodes Base64 URL safe formatted string to binary data.
- fromUrlSafeString(String) - Method in interface com.yubico.yubikit.core.internal.codec.Base64Codec
- fromUrlSafeString(String) - Method in class com.yubico.yubikit.core.internal.codec.DefaultBase64Codec
- fromValue(int) - Static method in enum class com.yubico.yubikit.core.UsbPid
G
- generateEcKey(KeyRef, int) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Generate a new SCP11 key.
- getAtr() - Method in interface com.yubico.yubikit.core.smartcard.SmartCardConnection
-
Retrieve Answer to reset (or answer to select for NFC)
- getAttemptsRemaining() - Method in exception com.yubico.yubikit.core.application.InvalidPinException
- getBase64Codec() - Static method in class com.yubico.yubikit.core.internal.codec.Base64
-
Returns Base64Codec
- getBitLength() - Method in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- getBitLength() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues
- getBitLength() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues
- getBytes() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Cv25519
- getBytes() - Method in class com.yubico.yubikit.core.smartcard.ApduResponse
- getBytes() - Method in class com.yubico.yubikit.core.smartcard.scp.KeyRef
- getBytes() - Method in class com.yubico.yubikit.core.util.Tlv
-
Returns the Tlv as a BER-TLV encoded byte array.
- getBytes() - Method in class com.yubico.yubikit.core.Version
-
Returns the version components as a byte array of size 3.
- getCardRecognitionData() - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- getCertificateBundle(KeyRef) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- getCla() - Method in class com.yubico.yubikit.core.smartcard.Apdu
-
Returns the CLA of the APDU.
- getConnection() - Method in class com.yubico.yubikit.core.smartcard.SmartCardProtocol
- getCrtCoefficient() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
- getCtapError() - Method in exception com.yubico.yubikit.core.fido.CtapException
- getCurveParams() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Ec
- getCurveParams() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Cv25519
- getCurveParams() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Ec
- getData() - Method in class com.yubico.yubikit.core.smartcard.Apdu
-
Returns the data payload of the APDU.
- getData() - Method in class com.yubico.yubikit.core.smartcard.ApduResponse
- getData(short, byte[]) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- getDataEncryptor() - Method in class com.yubico.yubikit.core.smartcard.scp.ScpState
- getDefaultKeys() - Static method in class com.yubico.yubikit.core.smartcard.scp.StaticKeys
- getEncoded() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Cv25519
- getEncoded() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Ec
- getEncoded() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues
- getEncoded() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Rsa
- getEncodedPoint() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Ec
- getFeatureName() - Method in class com.yubico.yubikit.core.application.Feature
-
Get a human readable name of the feature.
- getIns() - Method in class com.yubico.yubikit.core.smartcard.Apdu
-
Returns the INS of the APDU.
- getKeyInformation() - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- getKeyRef() - Method in class com.yubico.yubikit.core.smartcard.scp.Scp03KeyParams
- getKeyRef() - Method in class com.yubico.yubikit.core.smartcard.scp.Scp11KeyParams
- getKeyRef() - Method in interface com.yubico.yubikit.core.smartcard.scp.ScpKeyParams
- getKid() - Method in class com.yubico.yubikit.core.smartcard.scp.KeyRef
- getKvn() - Method in class com.yubico.yubikit.core.smartcard.scp.KeyRef
- getLe() - Method in class com.yubico.yubikit.core.smartcard.Apdu
- getLength() - Method in class com.yubico.yubikit.core.util.Tlv
-
Returns the length of the value.
- getMode(int) - Static method in enum class com.yubico.yubikit.core.UsbInterface.Mode
-
Returns the USB Mode given the enabled USB interfaces it has.
- getModulus() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
- getModulus() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Rsa
- getNdefPayload(byte[]) - Static method in class com.yubico.yubikit.core.util.NdefUtils
-
Returns the String payload portion (an OTP, for example) of a YubiKey's NDEF data.
- getNdefPayloadBytes(byte[]) - Static method in class com.yubico.yubikit.core.util.NdefUtils
-
Returns the byte payload portion (static password scan codes, for example) of a YubiKey's NDEF data.
- getP1() - Method in class com.yubico.yubikit.core.smartcard.Apdu
-
Returns the parameter P1 of the APDU.
- getP2() - Method in class com.yubico.yubikit.core.smartcard.Apdu
-
Returns the parameter P2 of the APDU.
- getPrimeExponentP() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
- getPrimeExponentQ() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
- getPrimeP() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
- getPrimeQ() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
- getPublicExponent() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
- getPublicExponent() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Rsa
- getRandomBytes(int) - Static method in class com.yubico.yubikit.core.util.RandomUtils
-
Returns a byte array containing random values.
- getRequiredMessage() - Method in class com.yubico.yubikit.core.application.Feature
- getRequiredMessage() - Method in class com.yubico.yubikit.core.application.Feature.Versioned
- getSecret() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Ec
- getSupportedCaIdentifiers(boolean, boolean) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- getSw() - Method in exception com.yubico.yubikit.core.smartcard.ApduException
-
Gets error code that received via APDU response
- getSw() - Method in class com.yubico.yubikit.core.smartcard.ApduResponse
- getTag() - Method in class com.yubico.yubikit.core.util.Tlv
-
Returns the tag.
- getTransport() - Method in interface com.yubico.yubikit.core.smartcard.SmartCardConnection
-
Checks what transport the connection is using (USB or NFC).
- getTransport() - Method in interface com.yubico.yubikit.core.YubiKeyDevice
-
Returns the transport used for communication
- getValue() - Method in class com.yubico.yubikit.core.util.Result
-
Gets the held value, if the Result is successful, or throws the error on failure.
- getValue() - Method in class com.yubico.yubikit.core.util.Tlv
-
returns the value.
- getVersion() - Method in class com.yubico.yubikit.core.application.ApplicationSession
-
Get the version of the Application from the YubiKey.
- getVersion() - Method in class com.yubico.yubikit.core.fido.FidoProtocol
- getVersion() - Method in class com.yubico.yubikit.core.otp.OtpProtocol
- getVersion() - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- getX() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Ec
- getY() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Ec
H
- hashCode() - Method in class com.yubico.yubikit.core.smartcard.scp.KeyRef
- hashCode() - Method in class com.yubico.yubikit.core.Version
- HSMAUTH - Static variable in class com.yubico.yubikit.core.smartcard.AppId
I
- INCORRECT_PARAMETERS - Static variable in class com.yubico.yubikit.core.smartcard.SW
- info(Logger, String) - Static method in class com.yubico.yubikit.core.internal.Logger
- info(Logger, String, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- info(Logger, String, Object...) - Static method in class com.yubico.yubikit.core.internal.Logger
- info(Logger, String, Object, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- initScp(ScpKeyParams) - Method in class com.yubico.yubikit.core.smartcard.SmartCardProtocol
- interfaces - Variable in enum class com.yubico.yubikit.core.UsbInterface.Mode
- intToLength(BigInteger, int) - Static method in class com.yubico.yubikit.core.util.ByteUtils
-
Serializes a BigInteger as an unsigned integer of the given length.
- INVALID_INSTRUCTION - Static variable in class com.yubico.yubikit.core.smartcard.SW
- InvalidPinException - Exception in com.yubico.yubikit.core.application
-
Thrown when the wrong PIN or PUK is used (or when the PIN or PUK is in a blocked state).
- InvalidPinException(int) - Constructor for exception com.yubico.yubikit.core.application.InvalidPinException
- InvalidPinException(int, String) - Constructor for exception com.yubico.yubikit.core.application.InvalidPinException
- invoke(T) - Method in interface com.yubico.yubikit.core.util.Callback
- isAtLeast(int, int, int) - Method in class com.yubico.yubikit.core.Version
-
Returns whether or not the Version is greater than or equal to a given version.
- isDestroyed() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues
- isError() - Method in class com.yubico.yubikit.core.util.Result
-
Checks if the Result is a failure.
- isExtendedLengthApduSupported() - Method in interface com.yubico.yubikit.core.smartcard.SmartCardConnection
-
Standard APDUs have a 1-byte length field, allowing a maximum of 255 payload bytes, which results in a maximum APDU length of 261 bytes.
- isLessThan(int, int, int) - Method in class com.yubico.yubikit.core.Version
-
Returns whether or not the Version is less than a given version.
- isSuccess() - Method in class com.yubico.yubikit.core.util.Result
-
Checks if the Result is successful.
- isSupportedBy(Version) - Method in class com.yubico.yubikit.core.application.Feature
-
Checks if the Feature is supported by the given Application version.
- isSupportedBy(Version) - Method in class com.yubico.yubikit.core.application.Feature.Versioned
K
- KeyRef - Class in com.yubico.yubikit.core.smartcard.scp
-
Reference to an SCP key.
- KeyRef(byte, byte) - Constructor for class com.yubico.yubikit.core.smartcard.scp.KeyRef
L
- logDebug(String) - Method in class com.yubico.yubikit.core.Logger
-
Deprecated.Specifies how debug messages are logged.
- logError(String, Throwable) - Method in class com.yubico.yubikit.core.Logger
-
Deprecated.Specifies how error messages (with exceptions) are logged.
- Logger - Class in com.yubico.yubikit.core.internal
-
Used internally in YubiKit, don't use from applications.
- Logger - Class in com.yubico.yubikit.core
-
Deprecated.This class and all its public methods have been deprecated in YubiKit 2.3.0 and will be removed in future release.
- Logger() - Constructor for class com.yubico.yubikit.core.internal.Logger
- Logger() - Constructor for class com.yubico.yubikit.core.Logger
-
Deprecated.
M
- mac(byte[]) - Method in class com.yubico.yubikit.core.smartcard.scp.ScpState
- major - Variable in class com.yubico.yubikit.core.Version
- MANAGEMENT - Static variable in class com.yubico.yubikit.core.smartcard.AppId
- MEMORY_ERROR - Static variable in class com.yubico.yubikit.core.smartcard.SW
- micro - Variable in class com.yubico.yubikit.core.Version
- minor - Variable in class com.yubico.yubikit.core.Version
- Modhex - Class in com.yubico.yubikit.core.otp
-
Methods for encoding and decoding Modhex encoded Strings.
- Modhex() - Constructor for class com.yubico.yubikit.core.otp.Modhex
N
- name - Variable in enum class com.yubico.yubikit.core.YubiKeyType
- NdefUtils - Class in com.yubico.yubikit.core.util
-
Parser that helps to extract OTP from nfc tag.
- NdefUtils() - Constructor for class com.yubico.yubikit.core.util.NdefUtils
- NEO - Enum constant in enum class com.yubico.yubikit.core.YubiKeyType
- NEO_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- NEO_FIDO - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- NEO_FIDO_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- NEO_OTP - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- NEO_OTP_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- NEO_OTP_FIDO - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- NEO_OTP_FIDO_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- NFC - Enum constant in enum class com.yubico.yubikit.core.Transport
-
Near-field communication, using a built-in antenna.
- NO_INPUT_DATA - Static variable in class com.yubico.yubikit.core.smartcard.SW
- NO_SPACE - Static variable in class com.yubico.yubikit.core.smartcard.SW
O
- OATH - Static variable in class com.yubico.yubikit.core.smartcard.AppId
- of(Callable<T>) - Static method in class com.yubico.yubikit.core.util.Result
-
Runs the given callable, creating a Result of its value, if run successfully, or its Exception.
- OK - Static variable in class com.yubico.yubikit.core.smartcard.SW
- onKeepAliveStatus(byte) - Method in class com.yubico.yubikit.core.application.CommandState
-
Override this method to handle keep-alive messages sent from the YubiKey.
- openConnection(Class<T>) - Method in interface com.yubico.yubikit.core.YubiKeyDevice
-
Returns a new connection of the given connection type.
- OPENPGP - Static variable in class com.yubico.yubikit.core.smartcard.AppId
- OTP - Enum constant in enum class com.yubico.yubikit.core.UsbInterface.Mode
- OTP - Static variable in class com.yubico.yubikit.core.smartcard.AppId
- OTP - Static variable in class com.yubico.yubikit.core.UsbInterface
- OTP_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbInterface.Mode
- OTP_FIDO - Enum constant in enum class com.yubico.yubikit.core.UsbInterface.Mode
- OTP_FIDO_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbInterface.Mode
- OtpConnection - Interface in com.yubico.yubikit.core.otp
-
A HID keyboard connection to a YubiKey, which uses feature reports to send and receive data.
- OtpProtocol - Class in com.yubico.yubikit.core.otp
- OtpProtocol(OtpConnection) - Constructor for class com.yubico.yubikit.core.otp.OtpProtocol
P
- PackageNonnullByDefault - Annotation Interface in com.yubico.yubikit.core
-
Annotation used in package-info.java to indicate that all fields, methods, and parameters are Nonnull by default.
- PACKET_SIZE - Static variable in interface com.yubico.yubikit.core.fido.FidoConnection
- Pair<A,
B> - Class in com.yubico.yubikit.core.util -
Utility class to hold two values.
- Pair(A, B) - Constructor for class com.yubico.yubikit.core.util.Pair
- parse(byte[]) - Static method in class com.yubico.yubikit.core.util.Tlv
-
Parse a Tlv from a BER-TLV encoded byte array.
- parse(byte[], int, int) - Static method in class com.yubico.yubikit.core.util.Tlv
-
Parse a Tlv from a BER-TLV encoded byte array.
- parse(String) - Static method in class com.yubico.yubikit.core.Version
-
Parses a Version from a String (eg.
- PIV - Static variable in class com.yubico.yubikit.core.smartcard.AppId
- PrivateKeyValues - Class in com.yubico.yubikit.core.keys
-
Contains private key values to be imported into a YubiKey.
- PrivateKeyValues(int) - Constructor for class com.yubico.yubikit.core.keys.PrivateKeyValues
- PrivateKeyValues.Ec - Class in com.yubico.yubikit.core.keys
- PrivateKeyValues.Rsa - Class in com.yubico.yubikit.core.keys
- processor - Variable in class com.yubico.yubikit.core.smartcard.ScpProcessor
- PublicKeyValues - Class in com.yubico.yubikit.core.keys
-
Values defining a public key, such as an RSA or EC key.
- PublicKeyValues(int) - Constructor for class com.yubico.yubikit.core.keys.PublicKeyValues
- PublicKeyValues.Cv25519 - Class in com.yubico.yubikit.core.keys
- PublicKeyValues.Ec - Class in com.yubico.yubikit.core.keys
- PublicKeyValues.Rsa - Class in com.yubico.yubikit.core.keys
- putKey(KeyRef, PrivateKeyValues, int) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Imports a secret key for SCP11.
- putKey(KeyRef, PublicKeyValues, int) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Imports a public key for authentication of the off-card entity for SCP11a/c.
- putKey(KeyRef, StaticKeys, int) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Imports an SCP03 key set.
R
- RandomUtils - Class in com.yubico.yubikit.core.util
-
Utility class to generate random data.
- readStatus() - Method in class com.yubico.yubikit.core.otp.OtpProtocol
-
Receive status bytes from YubiKey
- receive(byte[]) - Method in interface com.yubico.yubikit.core.fido.FidoConnection
-
Receives a HID CTAP packet from the YubiKey.
- receive(byte[]) - Method in interface com.yubico.yubikit.core.otp.OtpConnection
-
Read an 8 byte feature report from the YubiKey
- REFERENCED_DATA_NOT_FOUND - Static variable in class com.yubico.yubikit.core.smartcard.SW
- requestConnection(Class<T>, Callback<Result<T, IOException>>) - Method in interface com.yubico.yubikit.core.YubiKeyDevice
-
Requests a new connection of the given connection type.
- require(Feature<T>) - Method in class com.yubico.yubikit.core.application.ApplicationSession
- reset() - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Perform a factory reset of the Security Domain.
- Result<T,
E extends Throwable> - Class in com.yubico.yubikit.core.util -
Result value, wrapping a T (if successful) or an Exception (if failed).
- Rsa(BigInteger, BigInteger) - Constructor for class com.yubico.yubikit.core.keys.PublicKeyValues.Rsa
- Rsa(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
S
- SCP03 - Static variable in class com.yubico.yubikit.core.smartcard.scp.ScpKid
- scp03Init(ApduProcessor, Scp03KeyParams, byte[]) - Static method in class com.yubico.yubikit.core.smartcard.scp.ScpState
- Scp03KeyParams - Class in com.yubico.yubikit.core.smartcard.scp
-
SCP key parameters for performing an SCP03 authentication.
- Scp03KeyParams(KeyRef, StaticKeys) - Constructor for class com.yubico.yubikit.core.smartcard.scp.Scp03KeyParams
- SCP11a - Static variable in class com.yubico.yubikit.core.smartcard.scp.ScpKid
- SCP11b - Static variable in class com.yubico.yubikit.core.smartcard.scp.ScpKid
- SCP11c - Static variable in class com.yubico.yubikit.core.smartcard.scp.ScpKid
- scp11Init(ApduProcessor, Scp11KeyParams) - Static method in class com.yubico.yubikit.core.smartcard.scp.ScpState
- Scp11KeyParams - Class in com.yubico.yubikit.core.smartcard.scp
-
SCP key parameters for performing SCP11 authentication.
- Scp11KeyParams(KeyRef, PublicKey) - Constructor for class com.yubico.yubikit.core.smartcard.scp.Scp11KeyParams
- Scp11KeyParams(KeyRef, PublicKey, KeyRef, PrivateKey, List<X509Certificate>) - Constructor for class com.yubico.yubikit.core.smartcard.scp.Scp11KeyParams
- ScpKeyParams - Interface in com.yubico.yubikit.core.smartcard.scp
-
SCP key parameters for performing an SCP authentication with a YubiKey.
- ScpKid - Class in com.yubico.yubikit.core.smartcard.scp
- ScpProcessor - Class in com.yubico.yubikit.core.smartcard
- ScpState - Class in com.yubico.yubikit.core.smartcard.scp
-
Internal SCP state class for managing SCP state, handling encryption/decryption and MAC.
- ScpState(SessionKeys, byte[]) - Constructor for class com.yubico.yubikit.core.smartcard.scp.ScpState
- second - Variable in class com.yubico.yubikit.core.util.Pair
- SECP256K1 - Enum constant in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- SECP256R1 - Enum constant in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- SECP384R1 - Enum constant in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- SECP521R1 - Enum constant in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- SECURITY_CONDITION_NOT_SATISFIED - Static variable in class com.yubico.yubikit.core.smartcard.SW
- SECURITYDOMAIN - Static variable in class com.yubico.yubikit.core.smartcard.AppId
- SecurityDomainSession - Class in com.yubico.yubikit.core.smartcard.scp
- SecurityDomainSession(SmartCardConnection) - Constructor for class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- SecurityDomainSession(SmartCardConnection, ScpKeyParams) - Constructor for class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- select(byte[]) - Method in class com.yubico.yubikit.core.smartcard.SmartCardProtocol
-
Sends an APDU to SELECT an Application.
- send(byte[]) - Method in interface com.yubico.yubikit.core.fido.FidoConnection
-
Sends a HID CTAP packet to the YubiKey.
- send(byte[]) - Method in interface com.yubico.yubikit.core.otp.OtpConnection
-
Writes an 8 byte feature report to the YubiKey.
- sendAndReceive(byte[]) - Method in interface com.yubico.yubikit.core.smartcard.SmartCardConnection
-
Sends a command APDU to the YubiKey, and reads a response.
- sendAndReceive(byte, byte[], CommandState) - Method in class com.yubico.yubikit.core.fido.FidoProtocol
- sendAndReceive(byte, byte[], CommandState) - Method in class com.yubico.yubikit.core.otp.OtpProtocol
-
Sends a command to the YubiKey, and reads the response.
- sendAndReceive(Apdu) - Method in class com.yubico.yubikit.core.smartcard.SmartCardProtocol
-
Sends APDU command and receives byte array from connection In case if output has status code that it has remaining info sends another APDU command to receive what's remaining
- sendApdu(Apdu) - Method in interface com.yubico.yubikit.core.smartcard.ApduProcessor
- sendApdu(Apdu) - Method in class com.yubico.yubikit.core.smartcard.ScpProcessor
- sendApdu(Apdu, boolean) - Method in class com.yubico.yubikit.core.smartcard.ScpProcessor
- SessionKeys - Class in com.yubico.yubikit.core.smartcard.scp
-
Session keys for SCP.
- SessionKeys(SecretKey, SecretKey, SecretKey, SecretKey) - Constructor for class com.yubico.yubikit.core.smartcard.scp.SessionKeys
- SessionVersionOverride - Class in com.yubico.yubikit.core.application
-
Adds support for overriding YubiKey session version number.
- SessionVersionOverride() - Constructor for class com.yubico.yubikit.core.application.SessionVersionOverride
- set(Version) - Static method in class com.yubico.yubikit.core.application.SessionVersionOverride
-
Internal use only.
- setApduFormat(ApduFormat) - Method in class com.yubico.yubikit.core.smartcard.SmartCardProtocol
-
Deprecated.use
SmartCardProtocol.configure(Version)
instead. - setEnableTouchWorkaround(boolean) - Method in class com.yubico.yubikit.core.smartcard.SmartCardProtocol
-
Deprecated.use
SmartCardProtocol.configure(Version)
instead. - setLogger(Logger) - Static method in class com.yubico.yubikit.core.internal.Logger
- setLogger(Logger) - Static method in class com.yubico.yubikit.core.Logger
-
Deprecated.Set the Logger implementation to use.
- SHORT - Enum constant in enum class com.yubico.yubikit.core.smartcard.ApduFormat
- SKY - Enum constant in enum class com.yubico.yubikit.core.YubiKeyType
- SKY_FIDO - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- SmartCardConnection - Interface in com.yubico.yubikit.core.smartcard
-
A connection capable of sending APDUs and receiving their responses.
- SmartCardProtocol - Class in com.yubico.yubikit.core.smartcard
-
Support class for communication over a SmartCardConnection.
- SmartCardProtocol(SmartCardConnection) - Constructor for class com.yubico.yubikit.core.smartcard.SmartCardProtocol
-
Create new instance of
SmartCardProtocol
and selects the application for use - SmartCardProtocol(SmartCardConnection, byte) - Constructor for class com.yubico.yubikit.core.smartcard.SmartCardProtocol
- StaticKeys - Class in com.yubico.yubikit.core.smartcard.scp
- StaticKeys(byte[], byte[], byte[]) - Constructor for class com.yubico.yubikit.core.smartcard.scp.StaticKeys
- STATUS_PROCESSING - Static variable in class com.yubico.yubikit.core.application.CommandState
- STATUS_UPNEEDED - Static variable in class com.yubico.yubikit.core.application.CommandState
- storeAllowlist(KeyRef, List<BigInteger>) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Store which certificate serial numbers that can be used for a given key.
- storeCaIssuer(KeyRef, byte[]) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Store the SKI (Subject Key Identifier) for the CA of a given key.
- storeCertificateBundle(KeyRef, List<X509Certificate>) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
-
Store the certificate chain for a given key.
- storeData(byte[]) - Method in class com.yubico.yubikit.core.smartcard.scp.SecurityDomainSession
- StringUtils - Class in com.yubico.yubikit.core.util
-
Utility methods for Strings.
- success(T) - Static method in class com.yubico.yubikit.core.util.Result
-
Constructs a Result for a value (success).
- supports(Feature<T>) - Method in class com.yubico.yubikit.core.application.ApplicationSession
-
Check if a Feature is supported by the YubiKey.
- supportsConnection(Class<? extends YubiKeyConnection>) - Method in interface com.yubico.yubikit.core.YubiKeyDevice
-
Returns whether or not a specific connection type is supported for this YubiKey, over this transport.
- SW - Class in com.yubico.yubikit.core.smartcard
-
Contains constants for APDU status codes (SW1, SW2).
T
- TimeoutException - Exception in com.yubico.yubikit.core.application
-
The operation timed out waiting for something.
- TimeoutException(String) - Constructor for exception com.yubico.yubikit.core.application.TimeoutException
- TimeoutException(String, Throwable) - Constructor for exception com.yubico.yubikit.core.application.TimeoutException
- Tlv - Class in com.yubico.yubikit.core.util
-
Tag, length, Value structure that helps to parse APDU response data.
- Tlv(int, byte[]) - Constructor for class com.yubico.yubikit.core.util.Tlv
-
Creates a new Tlv given a tag and a value.
- Tlvs - Class in com.yubico.yubikit.core.util
-
Utility methods to encode and decode BER-TLV data.
- Tlvs() - Constructor for class com.yubico.yubikit.core.util.Tlvs
- toPublicKey() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Cv25519
- toPublicKey() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Ec
- toPublicKey() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Rsa
- toPublicKey() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues
-
Instantiates a JCA PublicKey using the contained parameters.
- toString() - Method in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
- toString() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Ec
- toString() - Method in class com.yubico.yubikit.core.keys.PrivateKeyValues.Rsa
- toString() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Cv25519
- toString() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Ec
- toString() - Method in class com.yubico.yubikit.core.keys.PublicKeyValues.Rsa
- toString() - Method in class com.yubico.yubikit.core.smartcard.scp.KeyRef
- toString() - Method in class com.yubico.yubikit.core.util.Tlv
- toString() - Method in class com.yubico.yubikit.core.Version
- toString(byte[]) - Method in interface com.yubico.yubikit.core.internal.codec.Base64Codec
- toString(byte[]) - Method in class com.yubico.yubikit.core.internal.codec.DefaultBase64Codec
- toUrlSafeString(byte[]) - Static method in class com.yubico.yubikit.core.internal.codec.Base64
-
Encodes binary data to Base64 URL safe format.
- toUrlSafeString(byte[]) - Method in interface com.yubico.yubikit.core.internal.codec.Base64Codec
- toUrlSafeString(byte[]) - Method in class com.yubico.yubikit.core.internal.codec.DefaultBase64Codec
- trace(Logger, String) - Static method in class com.yubico.yubikit.core.internal.Logger
- trace(Logger, String, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- trace(Logger, String, Object...) - Static method in class com.yubico.yubikit.core.internal.Logger
- trace(Logger, String, Object, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- Transport - Enum Class in com.yubico.yubikit.core
-
Physical transports which can be used to connect to a YubiKey.
- type - Variable in enum class com.yubico.yubikit.core.UsbPid
U
- unmac(byte[], short) - Method in class com.yubico.yubikit.core.smartcard.scp.ScpState
- unpackValue(int, byte[]) - Static method in class com.yubico.yubikit.core.util.Tlvs
-
Decode a single TLV encoded object, returning only the value.
- USB - Enum constant in enum class com.yubico.yubikit.core.Transport
-
A USB-A or USB-C connector.
- UsbInterface - Class in com.yubico.yubikit.core
-
Provides constants for the different YubiKey USB interfaces, and the Mode enum for combinations of enabled interfaces.
- UsbInterface.Mode - Enum Class in com.yubico.yubikit.core
-
Used for configuring USB Mode for YubiKey 3 and 4.
- usbInterfaces - Variable in enum class com.yubico.yubikit.core.UsbPid
- UsbPid - Enum Class in com.yubico.yubikit.core
V
- value - Variable in enum class com.yubico.yubikit.core.UsbInterface.Mode
- value - Variable in enum class com.yubico.yubikit.core.UsbPid
- valueOf(String) - Static method in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yubico.yubikit.core.smartcard.ApduFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yubico.yubikit.core.Transport
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yubico.yubikit.core.UsbInterface.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yubico.yubikit.core.UsbPid
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yubico.yubikit.core.YubiKeyType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yubico.yubikit.core.smartcard.ApduFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yubico.yubikit.core.Transport
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yubico.yubikit.core.UsbInterface.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yubico.yubikit.core.UsbPid
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yubico.yubikit.core.YubiKeyType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERIFY_FAIL_NO_RETRY - Static variable in class com.yubico.yubikit.core.smartcard.SW
- Version - Class in com.yubico.yubikit.core
-
A 3-part version number, used by the YubiKey firmware and its various applications.
- Version(byte, byte, byte) - Constructor for class com.yubico.yubikit.core.Version
-
Constructs a new Version object.
- Version(int, int, int) - Constructor for class com.yubico.yubikit.core.Version
-
Constructor using int's for convenience.
- Versioned(String, int, int, int) - Constructor for class com.yubico.yubikit.core.application.Feature.Versioned
W
- waitForCancel(long) - Method in class com.yubico.yubikit.core.application.CommandState
- warn(Logger, String) - Static method in class com.yubico.yubikit.core.internal.Logger
- warn(Logger, String, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- warn(Logger, String, Object...) - Static method in class com.yubico.yubikit.core.internal.Logger
- warn(Logger, String, Object, Object) - Static method in class com.yubico.yubikit.core.internal.Logger
- WRONG_LENGTH - Static variable in class com.yubico.yubikit.core.smartcard.SW
- WRONG_PARAMETERS_P1P2 - Static variable in class com.yubico.yubikit.core.smartcard.SW
X
- X25519 - Enum constant in enum class com.yubico.yubikit.core.keys.EllipticCurveValues
Y
- YK4 - Enum constant in enum class com.yubico.yubikit.core.YubiKeyType
- YK4_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- YK4_FIDO - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- YK4_FIDO_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- YK4_OTP - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- YK4_OTP_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- YK4_OTP_FIDO - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- YK4_OTP_FIDO_CCID - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- YKP - Enum constant in enum class com.yubico.yubikit.core.YubiKeyType
- YKP_OTP_FIDO - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- YKS - Enum constant in enum class com.yubico.yubikit.core.YubiKeyType
- YKS_OTP - Enum constant in enum class com.yubico.yubikit.core.UsbPid
- YubiKeyConnection - Interface in com.yubico.yubikit.core
-
A connection to a YubiKey, which typically exposes a way to send and receive data.
- YubiKeyDevice - Interface in com.yubico.yubikit.core
-
A reference to a physical YubiKey.
- YubiKeyType - Enum Class in com.yubico.yubikit.core
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
SmartCardProtocol.configure(Version)
instead.