Show / Hide Table of Contents

ResponseFormat Enum

Namespace: Yubico.YubiKey.Oath Assembly: Yubico.YubiKey.dll

The response format from OATH application.

C#
public enum ResponseFormat

Remarks

When the OATH application calculates an one-time password (OTP), the full value it calculates depends on the HashAlgorithm type set when the credential was created. The first 4 bytes of that value are needed to derive the one-time password (OTP), as OATH is a truncated hmac verification scheme.

Fields

Full

A full response is the full hash, where the first 4 bytes contain the generated one-time password (OTP).

Truncated

A truncated response only contains the generated four-byte one-time password (OTP).

In this article
Back to top Generated by DocFX