PivSlot Class
Namespace: Yubico.YubiKey.Piv Assembly: Yubico.YubiKey.dllThe valid PIV slots.
public static class PivSlot : Object
Remarks
Each slot has a name and number. This class provides names to go along with the numbers.
For example, if you want to use the Authentication slot, specify it as
PivSlot.Authentication
. If you want to use slot 9A, specify
0x9A
. The Authentication slot and 9A are actually one and the
same, but some applications or standards documents might refer to it as
"Slot 9A" and others might refer to it as the "Authentication Slot".
See the User's Manual entry on PIV slots for more details on each of the possible slots.
Fields
Name | Description |
---|---|
Attestation | Slot F9, the cert and key can be used to attest keys 9A, 9C, 9D, and
9E, if they were generated on the device.
|
Authentication | Slot 9A, the certificate and its associated private key are used to
authenticate
|
CardAuthentication | Slot 9E, the certificate and its associated private key are used to
support additional
|
KeyManagement | Slot 9D, the certificate and its associated private key are are used
for encryption
|
Management | Management Key slot, number 0x9B, before YubiKey 5.4.2, it can only
be a Triple-DES key. Beginning with 5.4.2 it can be Triple-DES or AES.
|
Pin | PIN slot, number 0x80. |
Puk | PUK slot, number 0x81. |
Retired1 | Slot 82, the retired key slots are meant for previously used Key
Management keys to be
|
Retired10 | Slot 8B, the retired key slots are meant for previously used Key
Management keys to be
|
Retired11 | Slot 8C, the retired key slots are meant for previously used Key
Management keys to be
|
Retired12 | Slot 8D, the retired key slots are meant for previously used Key
Management keys to be
|
Retired13 | Slot 8E, the retired key slots are meant for previously used Key
Management keys to be
|
Retired14 | Slot 8F, the retired key slots are meant for previously used Key
Management keys to be
|
Retired15 | Slot 90, the retired key slots are meant for previously used Key
Management keys to be
|
Retired16 | Slot 91, the retired key slots are meant for previously used Key
Management keys to be
|
Retired17 | Slot 92, the retired key slots are meant for previously used Key
Management keys to be
|
Retired18 | Slot 93, the retired key slots are meant for previously used Key
Management keys to be
|
Retired19 | Slot 94, the retired key slots are meant for previously used Key
Management keys to be
|
Retired2 | Slot 83, the retired key slots are meant for previously used Key
Management keys to be
|
Retired20 | Slot 95, the retired key slots are meant for previously used Key
Management keys to be
|
Retired3 | Slot 84, the retired key slots are meant for previously used Key
Management keys to be
|
Retired4 | Slot 85, the retired key slots are meant for previously used Key
Management keys to be
|
Retired5 | Slot 86, the retired key slots are meant for previously used Key
Management keys to be
|
Retired6 | Slot 87, the retired key slots are meant for previously used Key
Management keys to be
|
Retired7 | Slot 88, the retired key slots are meant for previously used Key
Management keys to be
|
Retired8 | Slot 89, the retired key slots are meant for previously used Key
Management keys to be
|
Retired9 | Slot 8A, the retired key slots are meant for previously used Key
Management keys to be
|
Signing | Slot 9C, the certificate and its associated private key are used for
creating
|
Methods
Name | Description |
---|---|
IsValidSlotNumber(Byte) | Is the given number a valid slot number? |
IsValidSlotNumberForGenerate(Byte) | Is the given number a valid slot number for generating asymmetric keys. |
IsValidSlotNumberForSigning(Byte) | Is the given number a valid slot number for signing arbitrary data. |