Show / Hide Table of Contents

PivKeyStatus Enum

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

This enum lists the possible status values of a key in a PIV slot.

C#
public enum PivKeyStatus

Remarks

The PIN, PUK, or management key can be default, an asymmetric key can be imported or generated. If there is no key in the slot the status is Unknown.

Fields

Default

A PIN, PUK, or management key can have the default value
(PIN is "123456", PUK is "12345678", management key is 0x0102030405060708 three times).

Generated

A private key was generated by the YubiKey in the secure element.

Imported

A private key was imported from off the YubiKey.

NotDefault

The PIN, PUK, or management key is not the default value.
It is not possible to have the YubiKey report the actual value.

Unknown

If there is no key in a slot, its status is Unknown.

In this article
Back to top Generated by DocFX