ホーム › Security.Credentials › CRED_PROTECTION_TYPE
CRED_PROTECTION_TYPE
列挙型メンバー 4
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| CredUnprotected | 0 | 0x0 | 資格情報は暗号化されません。 |
| CredUserProtection | 1 | 0x1 | 資格情報は暗号化され、暗号化されたときのセキュリティ コンテキスト、または信頼されたコンポーネントのセキュリティ コンテキストでのみ復号化できます。 |
| CredTrustedProtection | 2 | 0x2 | 資格情報は暗号化され、信頼されたコンポーネントによってのみ復号化できます。 |
| CredForSystemProtection | 3 | 0x3 |
公式ドキュメント
CRED_PROTECTION_TYPE 列挙型は、CredProtect 関数を使用して資格情報を暗号化する際のセキュリティ コンテキストを指定します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum CRED_PROTECTION_TYPE : int {
CredUnprotected = 0,
CredUserProtection = 1,
CredTrustedProtection = 2,
CredForSystemProtection = 3
} CRED_PROTECTION_TYPE;public enum CRED_PROTECTION_TYPE : int
{
CredUnprotected = 0,
CredUserProtection = 1,
CredTrustedProtection = 2,
CredForSystemProtection = 3,
}Public Enum CRED_PROTECTION_TYPE As Integer
CredUnprotected = 0
CredUserProtection = 1
CredTrustedProtection = 2
CredForSystemProtection = 3
End Enumimport enum
class CRED_PROTECTION_TYPE(enum.IntEnum):
CredUnprotected = 0
CredUserProtection = 1
CredTrustedProtection = 2
CredForSystemProtection = 3// CRED_PROTECTION_TYPE
pub const CredUnprotected: i32 = 0;
pub const CredUserProtection: i32 = 1;
pub const CredTrustedProtection: i32 = 2;
pub const CredForSystemProtection: i32 = 3;// CRED_PROTECTION_TYPE
const (
CredUnprotected int32 = 0
CredUserProtection int32 = 1
CredTrustedProtection int32 = 2
CredForSystemProtection int32 = 3
)const
CredUnprotected = 0;
CredUserProtection = 1;
CredTrustedProtection = 2;
CredForSystemProtection = 3;// CRED_PROTECTION_TYPE
pub const CredUnprotected: i32 = 0;
pub const CredUserProtection: i32 = 1;
pub const CredTrustedProtection: i32 = 2;
pub const CredForSystemProtection: i32 = 3;const
CredUnprotected* = 0
CredUserProtection* = 1
CredTrustedProtection* = 2
CredForSystemProtection* = 3enum CRED_PROTECTION_TYPE : int {
CredUnprotected = 0,
CredUserProtection = 1,
CredTrustedProtection = 2,
CredForSystemProtection = 3,
}#define global CredUnprotected 0x0
#define global CredUserProtection 0x1
#define global CredTrustedProtection 0x2
#define global CredForSystemProtection 0x3