WebEnrollmentFlags 枚举是在 Windows 操作系统的 CertEnroll.h 头文件中定义的,用于控制使用 Web Enrollment 服务进行证书请求时的行为。以下是该枚举的定义:
typedef enum WebEnrollmentFlags {
    WebEnroll_NoRevocationCheck                = 0x00000001,
    WebEnroll_SkipInstallRootCert              = 0x00000002,
    WebEnroll_AddTemplateName                 = 0x00000004,
    WebEnroll_ReuseKey                        = 0x00000008,
    WebEnroll_UseExistingKey                  = 0x00000010,
    WebEnroll_RemoveInvalidCert                = 0x00000020,
    WebEnroll_ValidIssuancePolicy             = 0x00000040,
    WebEnroll_AddRenewalCertificate           = 0x00000080,
    WebEnroll_UseCertRequest                   = 0x00000100,
    WebEnroll_DeleteAfterExport                = 0x00000200,
    WebEnroll_InstallPersistantCert            = 0x00000400,
    WebEnroll_EnrollOnBehalfOf                = 0x00000800,
    WebEnroll_SupportSha256                    = 0x00001000,
    WebEnroll_DumpCertRequestToFile            = 0x00002000,
    WebEnroll_DumpFullRequestToFile            = 0x00004000,
    WebEnroll_IgnoreBadTemplates              = 0x00008000,
    WebEnroll_UseKeyId                       = 0x00010000,
    WebEnroll_EnableShortTemplateName         = 0x00020000,
    WebEnroll_ParentMachine                   = 0x00040000,
    WebEnroll_UseLegacyProvider              = 0x00080000,
    WebEnroll_HideConfirmationUI             = 0x00100000,
    WebEnroll_HideUI                         = 0x00200000,
    WebEnroll_WizardSpinsUI                   = 0x00400000,
    WebEnroll_InstallRCTemplate               = 0x00800000,
    WebEnroll_CMC                            = 0x01000000,
    WebEnroll_SaveRequestToFile               = 0x02000000,
    WebEnroll_CheckServerVersion              = 0x04000000,
    WebEnroll_RequireDeleteKey                = 0x08000000,
    WebEnroll_CheckServerReachable            = 0x10000000,
    WebEnroll_SupportSHA256Cert               = 0x20000000,
    WebEnroll_SupportSHA384Cert               = 0x40000000,
    WebEnroll_SupportSHA512Cert               = 0x80000000
} WebEnrollmentFlags;

这个枚举包含了一系列用于在使用 Web Enrollment 服务时控制证书请求行为的标志。每个标志代表一个特定的行为或设置。


转载请注明出处:http://www.zyzy.cn/article/detail/24161/Win32 API/Certenroll.h/WebEnrollmentFlags