Show / Hide Table of Contents

YubiKeyCapabilities Enum

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

A set of flags that describe the capabilities that are currently enabled on a YubiKey.

C#
[Flags]
public enum YubiKeyCapabilities

Remarks

This enumeration can be easily confused with the YubiKeyApplication enumeration. While these two enumerations share many values, they serve different purposes. For one - the YubiKeyApplication enumeration cannot be treated as flags. This enumeration represents the applications and interfaces exposed and enabled by a YubiKey. It includes things like "CCID" which is an interface, not an application. OTP and FIDO U2F, in the context of older generation keys like the YubiKey 4 Series and the YubiKey NEO, are also treated these as interfaces. This is in contrast to the YubiKey 5 Series which takes an application-based approach to capabilities.

Fields

All

A convenience member for representing the state where all applications should be enabled.

Ccid

The CCID interface is enabled.

Fido2

The FIDO2 (CTAP2) application is enabled.

FidoU2f

The FIDO U2F (CTAP1) application and/or interface is enabled.

None

No enabled.

Oath

The OATH application is enabled.

OpenPgp

The OpenPGP application is enabled.

Otp

The OTP application and/or interface is enabled.

Piv

The PIV application is enabled.

YubiHsmAuth

The YubiHSM Auth application is enabled.

In this article
Back to top Generated by DocFX