API for Yubikey