Table of Contents

Enum PivPinPolicy

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

This enum lists the possible PIN policies of a key in a PIV slot.

public enum PivPinPolicy

Fields

Always = 3

The PIN is verified before every operation that uses the key in the given slot.

Default = 32

The PIN policy is the default for the YubiKey.

MatchAlways = 5

Biometric verification succeeds or the PIN is verified before every operation that uses the key in the given slot.

MatchOnce = 4

Biometric verification succeeds or the PIN is checked for only the first operation in a session using the key in the given slot.

Never = 1

The PIN is never checked for operations using the key in the given slot.

None = 0

For key slots that do not have a PIN policy, the policy is None.

Once = 2

The PIN is checked for only the first operation in a session using the key in the given slot.