KeyProtectionLevel KeyProtectionLevel KeyProtectionLevel KeyProtectionLevel Enum

Definition

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

public : enum class KeyProtectionLevel
public enum KeyProtectionLevel
Public Enum KeyProtectionLevel
var value = Windows.Security.Cryptography.Certificates.KeyProtectionLevel.consentOnly;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

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.