PivKeyStatus Class
Namespace: Yubico.YubiKey.Piv Assembly: Yubico.YubiKey.dllThis enum lists the possible status values of a key in a PIV slot.
C#
public sealed class PivKeyStatus : Enum
Inheritance
System.Object
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
Name | Description |
---|---|
Default | A PIN, PUK, or management key can have the default value |
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. |
Unknown | If there is no key in a slot, its status is Unknown. |
value__ |