ホーム › Security.Cryptography.Certificates › InstallResponseRestrictionFlags
InstallResponseRestrictionFlags
列挙型メンバー 4
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| AllowNone | 0 | 0x0 | 信頼されていない証明書、および対応する要求が存在しない証明書のインストールを許可しません。 |
| AllowNoOutstandingRequest | 1 | 0x1 | ダミー証明書からではなく、証明書応答から秘密キーを作成します。これにより、ダミー証明書は省略可能になります。この値が設定されていない場合、ダミー証明書が存在しなければならず、秘密キーはそこから抽出されます。 |
| AllowUntrustedCertificate | 2 | 0x2 | 信頼されていないエンド エンティティ証明書および証明機関証明書をインストールします。証明機関証明書には、ルート証明機関証明書と下位証明機関証明書が含まれます。エンド エンティティ証明書は個人ストアにインストールされ、証明機関証明書は証明機関ストアにインストールされます。 |
| AllowUntrustedRoot | 4 | 0x4 | AllowUntrustedCertificate フラグと同じ動作を行いますが、さらに、ルートが信頼されていないために証明書チェーンを構築できない場合でも証明書をインストールします。 メモ Windows Vista では、このフラグの動作は AllowUntrustedCertificate フラグに定義されている動作と同じです。信頼されていないルートをインストールできるのは、Windows Vista with SP1 以降です。
|
公式ドキュメント
InstallResponseRestrictionFlags 列挙型は、証明書チェーンのローカルへのインストールに課される制限を示すフラグを格納します。この列挙型は、IX509Enrollment インターフェイスの InstallResponse メソッドで使用されます。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 InstallResponseRestrictionFlags : int {
AllowNone = 0,
AllowNoOutstandingRequest = 1,
AllowUntrustedCertificate = 2,
AllowUntrustedRoot = 4
} InstallResponseRestrictionFlags;public enum InstallResponseRestrictionFlags : int
{
AllowNone = 0,
AllowNoOutstandingRequest = 1,
AllowUntrustedCertificate = 2,
AllowUntrustedRoot = 4,
}Public Enum InstallResponseRestrictionFlags As Integer
AllowNone = 0
AllowNoOutstandingRequest = 1
AllowUntrustedCertificate = 2
AllowUntrustedRoot = 4
End Enumimport enum
class InstallResponseRestrictionFlags(enum.IntEnum):
AllowNone = 0
AllowNoOutstandingRequest = 1
AllowUntrustedCertificate = 2
AllowUntrustedRoot = 4// InstallResponseRestrictionFlags
pub const AllowNone: i32 = 0;
pub const AllowNoOutstandingRequest: i32 = 1;
pub const AllowUntrustedCertificate: i32 = 2;
pub const AllowUntrustedRoot: i32 = 4;// InstallResponseRestrictionFlags
const (
AllowNone int32 = 0
AllowNoOutstandingRequest int32 = 1
AllowUntrustedCertificate int32 = 2
AllowUntrustedRoot int32 = 4
)const
AllowNone = 0;
AllowNoOutstandingRequest = 1;
AllowUntrustedCertificate = 2;
AllowUntrustedRoot = 4;// InstallResponseRestrictionFlags
pub const AllowNone: i32 = 0;
pub const AllowNoOutstandingRequest: i32 = 1;
pub const AllowUntrustedCertificate: i32 = 2;
pub const AllowUntrustedRoot: i32 = 4;const
AllowNone* = 0
AllowNoOutstandingRequest* = 1
AllowUntrustedCertificate* = 2
AllowUntrustedRoot* = 4enum InstallResponseRestrictionFlags : int {
AllowNone = 0,
AllowNoOutstandingRequest = 1,
AllowUntrustedCertificate = 2,
AllowUntrustedRoot = 4,
}#define global AllowNone 0x0
#define global AllowNoOutstandingRequest 0x1
#define global AllowUntrustedCertificate 0x2
#define global AllowUntrustedRoot 0x4