Windows Dev Center

KeyProtectionLevel enumeration

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

Syntax


var value = Windows.Security.Cryptography.Certificates.KeyProtectionLevel.noConsent;

Members

The KeyProtectionLevel enumeration has these members.

MemberValueDescription
NoConsent | noConsent0

No strong key protection.

ConsentOnly | consentOnly1

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

ConsentWithPassword | consentWithPassword2

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

ConsentWithFingerprint | consentWithFingerprint3

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

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

See also

CertificateRequestProperties
KeyProtectionLevel
Windows.Security.Cryptography.Certificates

 

 

Show:
© 2015 Microsoft