Package com.yubico.yubikit.oath
Class Code
java.lang.Object
com.yubico.yubikit.oath.Code
A one-time OATH code, calculated from a Credential stored in a YubiKey.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Code
-
-
Method Details
-
getValue
Returns the String value, typically a 6-8 digit code. -
getValidFrom
public final long getValidFrom()Returns a UNIX timestamp in ms for when the validity period starts. -
getValidUntil
public final long getValidUntil()Returns a UNIX timestamp in ms for when the validity period ends.
-