Skip navigation links
A B C D E F G H I L M N O P R S U V W 

A

APPLICATION_NOT_FOUND_ERROR - Static variable in class com.yubico.yubikit.oath.OathApplication
 
AUTHENTICATION_REQUIRED_ERROR - Static variable in class com.yubico.yubikit.oath.OathApplication
 

B

blockSize - Variable in enum com.yubico.yubikit.oath.HashAlgorithm
 

C

calculate(byte[], byte[]) - Method in class com.yubico.yubikit.oath.OathApplication
Perform a raw non-truncated CALCULATE (HMAC) for a credential using the given challenge.
calculate(Credential) - Method in class com.yubico.yubikit.oath.OathApplication
Performs CALCULATE for one named credential.
calculate(Credential, Long) - Method in class com.yubico.yubikit.oath.OathApplication
Performs CALCULATE for one named credential.
calculateAll() - Method in class com.yubico.yubikit.oath.OathApplication
Performs CALCULATE for all available credentials,
calculateAll(long) - Method in class com.yubico.yubikit.oath.OathApplication
Performs CALCULATE for all available credentials,
calculateSecret(String, byte[]) - Static method in class com.yubico.yubikit.oath.OathApplication
Passes a user-supplied UTF-8 encoded password through 1000 rounds of PBKDF2 with the device ID from select used as salt.
ChallengeSigner - Interface in com.yubico.yubikit.oath
Interface that needs to be implemented to provide custom signing with stored secret
Code - Class in com.yubico.yubikit.oath
Code generated on yubikey using OATH application
Code(String, long, long) - Constructor for class com.yubico.yubikit.oath.Code
Initiates instance of Code
com.yubico.yubikit.oath - package com.yubico.yubikit.oath
 
Credential - Class in com.yubico.yubikit.oath
 
CredentialData - Class in com.yubico.yubikit.oath
 
CredentialData(String, OathType, HashAlgorithm, byte[], int, int, int, String) - Constructor for class com.yubico.yubikit.oath.CredentialData
Creates instance of Credential

D

DEFAULT_DIGITS - Static variable in class com.yubico.yubikit.oath.CredentialData
 
DEFAULT_PERIOD - Static variable in class com.yubico.yubikit.oath.CredentialData
 
deleteCredential(byte[]) - Method in class com.yubico.yubikit.oath.OathApplication
Deletes an existing credential.

E

equals(Object) - Method in class com.yubico.yubikit.oath.Credential
 
equals(Object) - Method in class com.yubico.yubikit.oath.CredentialData
 

F

fromString(String) - Static method in enum com.yubico.yubikit.oath.HashAlgorithm
 
fromString(String) - Static method in enum com.yubico.yubikit.oath.OathType
 
fromValue(byte) - Static method in enum com.yubico.yubikit.oath.HashAlgorithm
 
fromValue(byte) - Static method in enum com.yubico.yubikit.oath.OathType
 

G

GENERIC_ERROR - Static variable in class com.yubico.yubikit.oath.OathApplication
 
getApplicationInfo() - Method in class com.yubico.yubikit.oath.OathApplication
 
getChallenge() - Method in class com.yubico.yubikit.oath.OathApplicationInfo
A challenge is returned if the authentication object is set.
getCounter() - Method in class com.yubico.yubikit.oath.CredentialData
Initial counter (for HOTP) , default is 0
getDeviceId() - Method in class com.yubico.yubikit.oath.OathApplicationInfo
 
getDigits() - Method in class com.yubico.yubikit.oath.CredentialData
Number of digits that going to be used for code (value: 6,7 or 8)
getHashAlgorithm() - Method in class com.yubico.yubikit.oath.CredentialData
Hash algorithm HashAlgorithm
getId() - Method in class com.yubico.yubikit.oath.Credential
Gets id of credential that used as unique identifier
getId() - Method in class com.yubico.yubikit.oath.CredentialData
Gets name of credential that used as unique identifier
getIssuer() - Method in class com.yubico.yubikit.oath.Credential
Name of credential issuer (e.g.
getIssuer() - Method in class com.yubico.yubikit.oath.CredentialData
Name of credential issuer (e.g.
getName() - Method in class com.yubico.yubikit.oath.Credential
Name of the account (typically a username or email address)
getName() - Method in class com.yubico.yubikit.oath.CredentialData
Get the name of the credential, typically a username.
getOathType() - Method in class com.yubico.yubikit.oath.Credential
Oath type OathType
getOathType() - Method in class com.yubico.yubikit.oath.CredentialData
Oath type OathType
getPeriod() - Method in class com.yubico.yubikit.oath.Credential
Period in seconds for how long code is valid from its calculation/generation time
getPeriod() - Method in class com.yubico.yubikit.oath.CredentialData
Period in seconds for how long code is valid from its calculation/generation time
getSalt() - Method in class com.yubico.yubikit.oath.OathApplicationInfo
 
getSecret() - Method in class com.yubico.yubikit.oath.CredentialData
Secret that is going to be hashed with hashAlgorithm
getValidFrom() - Method in class com.yubico.yubikit.oath.Code
 
getValidUntil() - Method in class com.yubico.yubikit.oath.Code
 
getValue() - Method in class com.yubico.yubikit.oath.Code
 
getVersion() - Method in class com.yubico.yubikit.oath.OathApplicationInfo
 

H

HashAlgorithm - Enum in com.yubico.yubikit.oath
Types of hash algorithms that can be used for TOTP using YubiKey OATH
hashCode() - Method in class com.yubico.yubikit.oath.Credential
 
hashCode() - Method in class com.yubico.yubikit.oath.CredentialData
 

I

isAuthenticationRequired() - Method in class com.yubico.yubikit.oath.OathApplicationInfo
 
isTouchRequired() - Method in class com.yubico.yubikit.oath.Credential
 
isTouchRequired() - Method in class com.yubico.yubikit.oath.CredentialData
 
isValid() - Method in class com.yubico.yubikit.oath.Code
Check if code is expired

L

listCredentials() - Method in class com.yubico.yubikit.oath.OathApplication
Lists configured credentials.

M

MIN_KEY_SIZE - Static variable in enum com.yubico.yubikit.oath.HashAlgorithm
 

N

NO_SUCH_OBJECT - Static variable in class com.yubico.yubikit.oath.OathApplication
 

O

OathApplication - Class in com.yubico.yubikit.oath
Communicates with a YubiKey's OATH application.
OathApplication(YubiKeySession) - Constructor for class com.yubico.yubikit.oath.OathApplication
Create new instance of OathApplication and selects the application for use
OathApplicationInfo - Class in com.yubico.yubikit.oath
Result of SELECT OATH operation.
OathType - Enum in com.yubico.yubikit.oath
OTP types that supported for YubiKey OATH

P

parseUri(Uri) - Static method in class com.yubico.yubikit.oath.CredentialData
Parse credential properties from an otpauth:// URI, as specified by https://github.com/google/google-authenticator/wiki/Key-Uri-Format Format example: otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example
ParseUriException - Exception in com.yubico.yubikit.oath
Thrown when QR/OATH uri couldn't be parsed
ParseUriException(String) - Constructor for exception com.yubico.yubikit.oath.ParseUriException
 
prepareKey(byte[]) - Method in enum com.yubico.yubikit.oath.HashAlgorithm
 
putCredential(CredentialData) - Method in class com.yubico.yubikit.oath.OathApplication
Adds a new (or overwrites) OATH credential.

R

reset() - Method in class com.yubico.yubikit.oath.OathApplication
Resets the application, deleting all credentials and removing any lock code.

S

sendAndReceive(Apdu) - Method in class com.yubico.yubikit.oath.OathApplication
Uses ApduUtils.sendAndReceive method with specific ins byte for "send remaining data" command
setIssuer(String) - Method in class com.yubico.yubikit.oath.CredentialData
Set the issuer for the Credential, typically the name of the service.
setName(String) - Method in class com.yubico.yubikit.oath.CredentialData
Set the name of the Credential, typically a username.
setPassword(String) - Method in class com.yubico.yubikit.oath.OathApplication
Configures Authentication.
setSecret(byte[]) - Method in class com.yubico.yubikit.oath.OathApplication
Configures Authentication.
setTouchRequired(boolean) - Method in class com.yubico.yubikit.oath.CredentialData
Sets flag that credential requires touch.
sign(byte[]) - Method in interface com.yubico.yubikit.oath.ChallengeSigner
The response computed by performing the correct HMAC function of provided challenge with the correct key.

U

unsetSecret() - Method in class com.yubico.yubikit.oath.OathApplication
Removes authentication.

V

validate(String) - Method in class com.yubico.yubikit.oath.OathApplication
Validates authentication (mutually).
validate(ChallengeSigner) - Method in class com.yubico.yubikit.oath.OathApplication
Validates authentication (mutually).
value - Variable in enum com.yubico.yubikit.oath.HashAlgorithm
 
value - Variable in enum com.yubico.yubikit.oath.OathType
 
valueOf(String) - Static method in enum com.yubico.yubikit.oath.HashAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.yubico.yubikit.oath.OathType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.yubico.yubikit.oath.HashAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.yubico.yubikit.oath.OathType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WRONG_SYNTAX - Static variable in class com.yubico.yubikit.oath.OathApplication
 
A B C D E F G H I L M N O P R S U V W 
Skip navigation links