KeyProtectionLevel 列挙型

定義

キー保護レベルを指定します。 この列挙型は、CertificateRequestProperties オブジェクトの KeyProtectionLevel プロパティで使用されます。

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
継承
KeyProtectionLevel
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

フィールド

ConsentOnly 1

秘密キーが作成または使用されると、ダイアログ ボックスからユーザーに通知されます。

ConsentWithFingerprint 3

ユーザーは、キーの作成時または使用時に、キーの指紋認証を入力するように求められます。

ConsentWithPassword 2

ユーザーは、キーの作成時または使用時に、キーのパスワードの入力を求められます。

NoConsent 0

強力なキー保護はありません。

適用対象

こちらもご覧ください