Table of Contents

Class OathResponse

Namespace
Yubico.YubiKey.Oath.Commands
Assembly
Yubico.YubiKey.dll

Base class for all OATH responses. Use this class to represent the status of an OATH command, or one of its derived classes to retrieve the full response.

public class OathResponse : YubiKeyResponse, IYubiKeyResponse
Inheritance
object
OathResponse
Implements
Derived
Inherited Members

Constructors

OathResponse(ResponseApdu)

public OathResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

Properties

StatusCodeMap

Retrieves the details describing the processing state.

protected override YubiKeyResponse.ResponseStatusPair StatusCodeMap { get; }

Property Value

YubiKeyResponse.ResponseStatusPair

The ResponseStatus and a descriptive message, as a YubiKeyResponse.ResponseStatusPair.

Remarks

Implementers of subtypes can override this member to change or add mappings.

See Also