Win32 API 日本語リファレンス
ホームSecurity.Cryptography.Certificates › EnrollmentTemplateProperty

EnrollmentTemplateProperty

列挙型
基底型i4

メンバー 31

名前10進16進説明
TemplatePropCommonName10x1Active Directory 内のテンプレートの共通名を格納する VT_BSTR 値です。
TemplatePropFriendlyName20x2テンプレートの表示名を格納する VT_BSTR 値です。
TemplatePropEKUs30x3拡張キー使用法のオブジェクト識別子のコレクションを格納する IObjectIds インターフェイスへの VT_DISPATCH ポインターです。この値はバージョン 2 以降のテンプレートに適用されます。
TemplatePropCryptoProviders40x4このテンプレートに基づいて要求を生成するときにクライアントが使用できる暗号化サービス プロバイダー (バージョン 2) およびキー ストレージ プロバイダー (バージョン 3) の VT_ARRAY|VT_BSTR コレクションです。
TemplatePropMajorRevision50x5テンプレートのメジャー バージョン番号を指定する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。
TemplatePropDescription60x6使用されません。
TemplatePropKeySpec70x7レガシの暗号化サービス プロバイダーの Key_Spec 値を指定するために、AT_SIGNATURE または AT_KEYEXCHANGE を格納する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。
TemplatePropSchemaVersion80x8テンプレートのバージョンを指定する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。現在、この値は 1、2、または 3 になります。
TemplatePropMinorRevision90x9バージョン 2 以降のテンプレートのマイナー バージョン番号を指定する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。
TemplatePropRASignatureCount100xAこのテンプレートに基づいて証明書要求を生成するときに必要となる回復エージェントの署名の数を指定する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。
TemplatePropMinimumKeySize110xB登録を行うクライアントが使用する公開キーの最小サイズを指定する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。
TemplatePropOID120xCこのテンプレートのオブジェクト識別子を格納する IObjectId インターフェイスへの VT_DISPATCH ポインターです。この値はバージョン 2 以降のテンプレートに適用されます。
TemplatePropSupersede130xD置き換えられたバージョン 2 以降のすべてのテンプレートの共通名を格納する VT_ARRAY|VT_BSTR コレクションです。
TemplatePropRACertificatePolicies140xE登録機関証明書の証明書ポリシー オブジェクト識別子のコレクションを格納する IObjectIds インターフェイスへの VT_DISPATCH ポインターです。この値はバージョン 2 以降のテンプレートに適用されます。
TemplatePropRAEKUs150xF登録機関証明書のアプリケーション ポリシー オブジェクト識別子のコレクションを格納する IObjectIds インターフェイスへの VT_DISPATCH ポインターです。この値はバージョン 2 以降のテンプレートに適用されます。
TemplatePropCertificatePolicies160x10証明書ポリシー拡張に追加されるポリシー オブジェクト識別子のコレクションを格納する IObjectIds インターフェイスへの VT_DISPATCH ポインターです。
TemplatePropV1ApplicationPolicy170x11証明書アプリケーション ポリシー拡張に追加されるポリシー オブジェクト識別子のコレクションを格納する IObjectIds インターフェイスへの VT_DISPATCH ポインターです。
TemplatePropAsymmetricAlgorithm180x12このテンプレートに基づいて証明書要求を生成するときに、登録を行うクライアントが使用しなければならない公開キー アルゴリズムの名前を指定する VT_BSTR 値です。この値はバージョン 3 以降のテンプレートに適用されます。
TemplatePropKeySecurityDescriptor190x13バージョン 3 以降のテンプレートの非対称キーのセキュリティ記述子を指定する VT_BSTR 値です。
TemplatePropSymmetricAlgorithm200x14このテンプレートを使用するときにキー交換のためにクライアントが使用しなければならない対称アルゴリズムの名前を指定する VT_BSTR 値です。この値はバージョン 3 以降のテンプレートに適用されます。
TemplatePropSymmetricKeyLength210x15対称キーの長さをビット単位で指定する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。この値はバージョン 3 以降のテンプレートに適用されます。
TemplatePropHashAlgorithm220x16登録を行うクライアントが使用しなければならないハッシュ アルゴリズムの名前を指定する VT_BSTR 値です。この値はバージョン 3 以降のテンプレートに適用されます。
TemplatePropKeyUsage230x17
TemplatePropEnrollmentFlags240x18X509CertificateTemplateEnrollmentFlag 値のビット単位の OR を格納する VT_I4 値です。
TemplatePropSubjectNameFlags250x19X509CertificateTemplateSubjectNameFlag 値のビット単位の OR を格納する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。
TemplatePropPrivateKeyFlags260x1AX509CertificateTemplatePrivateKeyFlag 値のビット単位の OR を格納する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。
TemplatePropGeneralFlags270x1BX509CertificateTemplateGeneralFlag 値のビット単位の OR を格納する VT_UI4 (Windows 8.1 以降では VT_I4) 値です。
TemplatePropSecurityDescriptor280x1Cセキュリティ記述子を指定する VT_BSTR 値です。
TemplatePropExtensions290x1Dこのテンプレートに基づいて要求を生成するときに証明書要求へ追加される証明書拡張を格納する IX509Extensions インターフェイスへの VT_DISPATCH ポインターです。
TemplatePropValidityPeriod300x1E証明書の最大有効期間を秒単位で格納する VT_UI8 FILETIME 値です。
TemplatePropRenewalPeriod310x1F自動登録が証明書の更新を試みる必要がある、有効期限までの時間を指定する VT_UI8 FILETIME 値です。

公式ドキュメント

EnrollmentTemplateProperty 列挙型は、指定されたテンプレートのプロパティ値を格納します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum EnrollmentTemplateProperty : int {
    TemplatePropCommonName = 1,
    TemplatePropFriendlyName = 2,
    TemplatePropEKUs = 3,
    TemplatePropCryptoProviders = 4,
    TemplatePropMajorRevision = 5,
    TemplatePropDescription = 6,
    TemplatePropKeySpec = 7,
    TemplatePropSchemaVersion = 8,
    TemplatePropMinorRevision = 9,
    TemplatePropRASignatureCount = 10,
    TemplatePropMinimumKeySize = 11,
    TemplatePropOID = 12,
    TemplatePropSupersede = 13,
    TemplatePropRACertificatePolicies = 14,
    TemplatePropRAEKUs = 15,
    TemplatePropCertificatePolicies = 16,
    TemplatePropV1ApplicationPolicy = 17,
    TemplatePropAsymmetricAlgorithm = 18,
    TemplatePropKeySecurityDescriptor = 19,
    TemplatePropSymmetricAlgorithm = 20,
    TemplatePropSymmetricKeyLength = 21,
    TemplatePropHashAlgorithm = 22,
    TemplatePropKeyUsage = 23,
    TemplatePropEnrollmentFlags = 24,
    TemplatePropSubjectNameFlags = 25,
    TemplatePropPrivateKeyFlags = 26,
    TemplatePropGeneralFlags = 27,
    TemplatePropSecurityDescriptor = 28,
    TemplatePropExtensions = 29,
    TemplatePropValidityPeriod = 30,
    TemplatePropRenewalPeriod = 31
} EnrollmentTemplateProperty;
public enum EnrollmentTemplateProperty : int
{
    TemplatePropCommonName = 1,
    TemplatePropFriendlyName = 2,
    TemplatePropEKUs = 3,
    TemplatePropCryptoProviders = 4,
    TemplatePropMajorRevision = 5,
    TemplatePropDescription = 6,
    TemplatePropKeySpec = 7,
    TemplatePropSchemaVersion = 8,
    TemplatePropMinorRevision = 9,
    TemplatePropRASignatureCount = 10,
    TemplatePropMinimumKeySize = 11,
    TemplatePropOID = 12,
    TemplatePropSupersede = 13,
    TemplatePropRACertificatePolicies = 14,
    TemplatePropRAEKUs = 15,
    TemplatePropCertificatePolicies = 16,
    TemplatePropV1ApplicationPolicy = 17,
    TemplatePropAsymmetricAlgorithm = 18,
    TemplatePropKeySecurityDescriptor = 19,
    TemplatePropSymmetricAlgorithm = 20,
    TemplatePropSymmetricKeyLength = 21,
    TemplatePropHashAlgorithm = 22,
    TemplatePropKeyUsage = 23,
    TemplatePropEnrollmentFlags = 24,
    TemplatePropSubjectNameFlags = 25,
    TemplatePropPrivateKeyFlags = 26,
    TemplatePropGeneralFlags = 27,
    TemplatePropSecurityDescriptor = 28,
    TemplatePropExtensions = 29,
    TemplatePropValidityPeriod = 30,
    TemplatePropRenewalPeriod = 31,
}
Public Enum EnrollmentTemplateProperty As Integer
    TemplatePropCommonName = 1
    TemplatePropFriendlyName = 2
    TemplatePropEKUs = 3
    TemplatePropCryptoProviders = 4
    TemplatePropMajorRevision = 5
    TemplatePropDescription = 6
    TemplatePropKeySpec = 7
    TemplatePropSchemaVersion = 8
    TemplatePropMinorRevision = 9
    TemplatePropRASignatureCount = 10
    TemplatePropMinimumKeySize = 11
    TemplatePropOID = 12
    TemplatePropSupersede = 13
    TemplatePropRACertificatePolicies = 14
    TemplatePropRAEKUs = 15
    TemplatePropCertificatePolicies = 16
    TemplatePropV1ApplicationPolicy = 17
    TemplatePropAsymmetricAlgorithm = 18
    TemplatePropKeySecurityDescriptor = 19
    TemplatePropSymmetricAlgorithm = 20
    TemplatePropSymmetricKeyLength = 21
    TemplatePropHashAlgorithm = 22
    TemplatePropKeyUsage = 23
    TemplatePropEnrollmentFlags = 24
    TemplatePropSubjectNameFlags = 25
    TemplatePropPrivateKeyFlags = 26
    TemplatePropGeneralFlags = 27
    TemplatePropSecurityDescriptor = 28
    TemplatePropExtensions = 29
    TemplatePropValidityPeriod = 30
    TemplatePropRenewalPeriod = 31
End Enum
import enum

class EnrollmentTemplateProperty(enum.IntEnum):
    TemplatePropCommonName = 1
    TemplatePropFriendlyName = 2
    TemplatePropEKUs = 3
    TemplatePropCryptoProviders = 4
    TemplatePropMajorRevision = 5
    TemplatePropDescription = 6
    TemplatePropKeySpec = 7
    TemplatePropSchemaVersion = 8
    TemplatePropMinorRevision = 9
    TemplatePropRASignatureCount = 10
    TemplatePropMinimumKeySize = 11
    TemplatePropOID = 12
    TemplatePropSupersede = 13
    TemplatePropRACertificatePolicies = 14
    TemplatePropRAEKUs = 15
    TemplatePropCertificatePolicies = 16
    TemplatePropV1ApplicationPolicy = 17
    TemplatePropAsymmetricAlgorithm = 18
    TemplatePropKeySecurityDescriptor = 19
    TemplatePropSymmetricAlgorithm = 20
    TemplatePropSymmetricKeyLength = 21
    TemplatePropHashAlgorithm = 22
    TemplatePropKeyUsage = 23
    TemplatePropEnrollmentFlags = 24
    TemplatePropSubjectNameFlags = 25
    TemplatePropPrivateKeyFlags = 26
    TemplatePropGeneralFlags = 27
    TemplatePropSecurityDescriptor = 28
    TemplatePropExtensions = 29
    TemplatePropValidityPeriod = 30
    TemplatePropRenewalPeriod = 31
// EnrollmentTemplateProperty
pub const TemplatePropCommonName: i32 = 1;
pub const TemplatePropFriendlyName: i32 = 2;
pub const TemplatePropEKUs: i32 = 3;
pub const TemplatePropCryptoProviders: i32 = 4;
pub const TemplatePropMajorRevision: i32 = 5;
pub const TemplatePropDescription: i32 = 6;
pub const TemplatePropKeySpec: i32 = 7;
pub const TemplatePropSchemaVersion: i32 = 8;
pub const TemplatePropMinorRevision: i32 = 9;
pub const TemplatePropRASignatureCount: i32 = 10;
pub const TemplatePropMinimumKeySize: i32 = 11;
pub const TemplatePropOID: i32 = 12;
pub const TemplatePropSupersede: i32 = 13;
pub const TemplatePropRACertificatePolicies: i32 = 14;
pub const TemplatePropRAEKUs: i32 = 15;
pub const TemplatePropCertificatePolicies: i32 = 16;
pub const TemplatePropV1ApplicationPolicy: i32 = 17;
pub const TemplatePropAsymmetricAlgorithm: i32 = 18;
pub const TemplatePropKeySecurityDescriptor: i32 = 19;
pub const TemplatePropSymmetricAlgorithm: i32 = 20;
pub const TemplatePropSymmetricKeyLength: i32 = 21;
pub const TemplatePropHashAlgorithm: i32 = 22;
pub const TemplatePropKeyUsage: i32 = 23;
pub const TemplatePropEnrollmentFlags: i32 = 24;
pub const TemplatePropSubjectNameFlags: i32 = 25;
pub const TemplatePropPrivateKeyFlags: i32 = 26;
pub const TemplatePropGeneralFlags: i32 = 27;
pub const TemplatePropSecurityDescriptor: i32 = 28;
pub const TemplatePropExtensions: i32 = 29;
pub const TemplatePropValidityPeriod: i32 = 30;
pub const TemplatePropRenewalPeriod: i32 = 31;
// EnrollmentTemplateProperty
const (
	TemplatePropCommonName int32 = 1
	TemplatePropFriendlyName int32 = 2
	TemplatePropEKUs int32 = 3
	TemplatePropCryptoProviders int32 = 4
	TemplatePropMajorRevision int32 = 5
	TemplatePropDescription int32 = 6
	TemplatePropKeySpec int32 = 7
	TemplatePropSchemaVersion int32 = 8
	TemplatePropMinorRevision int32 = 9
	TemplatePropRASignatureCount int32 = 10
	TemplatePropMinimumKeySize int32 = 11
	TemplatePropOID int32 = 12
	TemplatePropSupersede int32 = 13
	TemplatePropRACertificatePolicies int32 = 14
	TemplatePropRAEKUs int32 = 15
	TemplatePropCertificatePolicies int32 = 16
	TemplatePropV1ApplicationPolicy int32 = 17
	TemplatePropAsymmetricAlgorithm int32 = 18
	TemplatePropKeySecurityDescriptor int32 = 19
	TemplatePropSymmetricAlgorithm int32 = 20
	TemplatePropSymmetricKeyLength int32 = 21
	TemplatePropHashAlgorithm int32 = 22
	TemplatePropKeyUsage int32 = 23
	TemplatePropEnrollmentFlags int32 = 24
	TemplatePropSubjectNameFlags int32 = 25
	TemplatePropPrivateKeyFlags int32 = 26
	TemplatePropGeneralFlags int32 = 27
	TemplatePropSecurityDescriptor int32 = 28
	TemplatePropExtensions int32 = 29
	TemplatePropValidityPeriod int32 = 30
	TemplatePropRenewalPeriod int32 = 31
)
const
  TemplatePropCommonName = 1;
  TemplatePropFriendlyName = 2;
  TemplatePropEKUs = 3;
  TemplatePropCryptoProviders = 4;
  TemplatePropMajorRevision = 5;
  TemplatePropDescription = 6;
  TemplatePropKeySpec = 7;
  TemplatePropSchemaVersion = 8;
  TemplatePropMinorRevision = 9;
  TemplatePropRASignatureCount = 10;
  TemplatePropMinimumKeySize = 11;
  TemplatePropOID = 12;
  TemplatePropSupersede = 13;
  TemplatePropRACertificatePolicies = 14;
  TemplatePropRAEKUs = 15;
  TemplatePropCertificatePolicies = 16;
  TemplatePropV1ApplicationPolicy = 17;
  TemplatePropAsymmetricAlgorithm = 18;
  TemplatePropKeySecurityDescriptor = 19;
  TemplatePropSymmetricAlgorithm = 20;
  TemplatePropSymmetricKeyLength = 21;
  TemplatePropHashAlgorithm = 22;
  TemplatePropKeyUsage = 23;
  TemplatePropEnrollmentFlags = 24;
  TemplatePropSubjectNameFlags = 25;
  TemplatePropPrivateKeyFlags = 26;
  TemplatePropGeneralFlags = 27;
  TemplatePropSecurityDescriptor = 28;
  TemplatePropExtensions = 29;
  TemplatePropValidityPeriod = 30;
  TemplatePropRenewalPeriod = 31;
// EnrollmentTemplateProperty
pub const TemplatePropCommonName: i32 = 1;
pub const TemplatePropFriendlyName: i32 = 2;
pub const TemplatePropEKUs: i32 = 3;
pub const TemplatePropCryptoProviders: i32 = 4;
pub const TemplatePropMajorRevision: i32 = 5;
pub const TemplatePropDescription: i32 = 6;
pub const TemplatePropKeySpec: i32 = 7;
pub const TemplatePropSchemaVersion: i32 = 8;
pub const TemplatePropMinorRevision: i32 = 9;
pub const TemplatePropRASignatureCount: i32 = 10;
pub const TemplatePropMinimumKeySize: i32 = 11;
pub const TemplatePropOID: i32 = 12;
pub const TemplatePropSupersede: i32 = 13;
pub const TemplatePropRACertificatePolicies: i32 = 14;
pub const TemplatePropRAEKUs: i32 = 15;
pub const TemplatePropCertificatePolicies: i32 = 16;
pub const TemplatePropV1ApplicationPolicy: i32 = 17;
pub const TemplatePropAsymmetricAlgorithm: i32 = 18;
pub const TemplatePropKeySecurityDescriptor: i32 = 19;
pub const TemplatePropSymmetricAlgorithm: i32 = 20;
pub const TemplatePropSymmetricKeyLength: i32 = 21;
pub const TemplatePropHashAlgorithm: i32 = 22;
pub const TemplatePropKeyUsage: i32 = 23;
pub const TemplatePropEnrollmentFlags: i32 = 24;
pub const TemplatePropSubjectNameFlags: i32 = 25;
pub const TemplatePropPrivateKeyFlags: i32 = 26;
pub const TemplatePropGeneralFlags: i32 = 27;
pub const TemplatePropSecurityDescriptor: i32 = 28;
pub const TemplatePropExtensions: i32 = 29;
pub const TemplatePropValidityPeriod: i32 = 30;
pub const TemplatePropRenewalPeriod: i32 = 31;
const
  TemplatePropCommonName* = 1
  TemplatePropFriendlyName* = 2
  TemplatePropEKUs* = 3
  TemplatePropCryptoProviders* = 4
  TemplatePropMajorRevision* = 5
  TemplatePropDescription* = 6
  TemplatePropKeySpec* = 7
  TemplatePropSchemaVersion* = 8
  TemplatePropMinorRevision* = 9
  TemplatePropRASignatureCount* = 10
  TemplatePropMinimumKeySize* = 11
  TemplatePropOID* = 12
  TemplatePropSupersede* = 13
  TemplatePropRACertificatePolicies* = 14
  TemplatePropRAEKUs* = 15
  TemplatePropCertificatePolicies* = 16
  TemplatePropV1ApplicationPolicy* = 17
  TemplatePropAsymmetricAlgorithm* = 18
  TemplatePropKeySecurityDescriptor* = 19
  TemplatePropSymmetricAlgorithm* = 20
  TemplatePropSymmetricKeyLength* = 21
  TemplatePropHashAlgorithm* = 22
  TemplatePropKeyUsage* = 23
  TemplatePropEnrollmentFlags* = 24
  TemplatePropSubjectNameFlags* = 25
  TemplatePropPrivateKeyFlags* = 26
  TemplatePropGeneralFlags* = 27
  TemplatePropSecurityDescriptor* = 28
  TemplatePropExtensions* = 29
  TemplatePropValidityPeriod* = 30
  TemplatePropRenewalPeriod* = 31
enum EnrollmentTemplateProperty : int {
    TemplatePropCommonName = 1,
    TemplatePropFriendlyName = 2,
    TemplatePropEKUs = 3,
    TemplatePropCryptoProviders = 4,
    TemplatePropMajorRevision = 5,
    TemplatePropDescription = 6,
    TemplatePropKeySpec = 7,
    TemplatePropSchemaVersion = 8,
    TemplatePropMinorRevision = 9,
    TemplatePropRASignatureCount = 10,
    TemplatePropMinimumKeySize = 11,
    TemplatePropOID = 12,
    TemplatePropSupersede = 13,
    TemplatePropRACertificatePolicies = 14,
    TemplatePropRAEKUs = 15,
    TemplatePropCertificatePolicies = 16,
    TemplatePropV1ApplicationPolicy = 17,
    TemplatePropAsymmetricAlgorithm = 18,
    TemplatePropKeySecurityDescriptor = 19,
    TemplatePropSymmetricAlgorithm = 20,
    TemplatePropSymmetricKeyLength = 21,
    TemplatePropHashAlgorithm = 22,
    TemplatePropKeyUsage = 23,
    TemplatePropEnrollmentFlags = 24,
    TemplatePropSubjectNameFlags = 25,
    TemplatePropPrivateKeyFlags = 26,
    TemplatePropGeneralFlags = 27,
    TemplatePropSecurityDescriptor = 28,
    TemplatePropExtensions = 29,
    TemplatePropValidityPeriod = 30,
    TemplatePropRenewalPeriod = 31,
}
#define global TemplatePropCommonName            0x1
#define global TemplatePropFriendlyName          0x2
#define global TemplatePropEKUs                  0x3
#define global TemplatePropCryptoProviders       0x4
#define global TemplatePropMajorRevision         0x5
#define global TemplatePropDescription           0x6
#define global TemplatePropKeySpec               0x7
#define global TemplatePropSchemaVersion         0x8
#define global TemplatePropMinorRevision         0x9
#define global TemplatePropRASignatureCount      0xA
#define global TemplatePropMinimumKeySize        0xB
#define global TemplatePropOID                   0xC
#define global TemplatePropSupersede             0xD
#define global TemplatePropRACertificatePolicies 0xE
#define global TemplatePropRAEKUs                0xF
#define global TemplatePropCertificatePolicies   0x10
#define global TemplatePropV1ApplicationPolicy   0x11
#define global TemplatePropAsymmetricAlgorithm   0x12
#define global TemplatePropKeySecurityDescriptor 0x13
#define global TemplatePropSymmetricAlgorithm    0x14
#define global TemplatePropSymmetricKeyLength    0x15
#define global TemplatePropHashAlgorithm         0x16
#define global TemplatePropKeyUsage              0x17
#define global TemplatePropEnrollmentFlags       0x18
#define global TemplatePropSubjectNameFlags      0x19
#define global TemplatePropPrivateKeyFlags       0x1A
#define global TemplatePropGeneralFlags          0x1B
#define global TemplatePropSecurityDescriptor    0x1C
#define global TemplatePropExtensions            0x1D
#define global TemplatePropValidityPeriod        0x1E
#define global TemplatePropRenewalPeriod         0x1F