KeyProtectionLevel Enumeration

Definition

Gibt die Schlüsselschutzebene an. Dieser Enumerationstyp wird in der KeyProtectionLevel-Eigenschaft eines CertificateRequestProperties-Objekts verwendet.

public enum class KeyProtectionLevel
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class KeyProtectionLevel
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum KeyProtectionLevel
var value = Windows.Security.Cryptography.Certificates.KeyProtectionLevel.noConsent
Public Enum KeyProtectionLevel
Vererbung
KeyProtectionLevel
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Felder

ConsentOnly 1

Der Benutzer wird über ein Dialogfeld benachrichtigt, wenn der private Schlüssel erstellt oder verwendet wird.

ConsentWithFingerprint 3

Der Benutzer wird aufgefordert, eine Fingerabdrucküberprüfung für den Schlüssel einzugeben, wenn der Schlüssel erstellt oder verwendet wird.

ConsentWithPassword 2

Der Benutzer wird aufgefordert, ein Kennwort für den Schlüssel einzugeben, wenn der Schlüssel erstellt oder verwendet wird.

NoConsent 0

Kein starker Schlüsselschutz.

Gilt für:

Weitere Informationen