KeyProtectionLevel KeyProtectionLevel KeyProtectionLevel KeyProtectionLevel Enum


Specifies the key protection level. This enumeration type is used in the KeyProtectionLevel property of a CertificateRequestProperties object.

public : enum class KeyProtectionLevelpublic enum KeyProtectionLevelPublic Enum KeyProtectionLevel// You can use this enum in JavaScript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


ConsentOnly ConsentOnly ConsentOnly ConsentOnly

The user is notified through a dialog box when the private key is created or used.

ConsentWithFingerprint ConsentWithFingerprint ConsentWithFingerprint ConsentWithFingerprint

The user is prompted to enter a fingerprint verification for the key when the key is created or used.

ConsentWithPassword ConsentWithPassword ConsentWithPassword ConsentWithPassword

The user is prompted to enter a password for the key when the key is created or used.

NoConsent NoConsent NoConsent NoConsent

No strong key protection.