Class SessionVersionOverride
java.lang.Object
com.yubico.yubikit.core.application.SessionVersionOverride
Adds support for overriding YubiKey session version number.
Internal use only.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisDevelopmentVersion(Version version) return true if this is ALPHA or BETA versionstatic VersionoverrideOf(Version version) Returns an applicable override of version.static voidInternal use only.
-
Constructor Details
-
SessionVersionOverride
public SessionVersionOverride()
-
-
Method Details
-
set
Internal use only.Override version of connected YubiKey with the specified version.
- Parameters:
overrideVersion- version which will be used instead of development versions.
-
overrideOf
Returns an applicable override of version.- Parameters:
version- The version which might be overridden.- Returns:
- Version to use.
-
isDevelopmentVersion
return true if this is ALPHA or BETA version
-