CommitTemplateFlags enumeration (certenroll.h)

The CommitTemplateFlags enumeration type specifies options for saving and deleting templates. It is used by the Commit method on the IX509CertificateTemplateWritable interface.

Syntax

typedef enum CommitTemplateFlags {
  CommitFlagSaveTemplateGenerateOID = 1,
  CommitFlagSaveTemplateUseCurrentOID = 2,
  CommitFlagSaveTemplateOverwrite = 3,
  CommitFlagDeleteTemplate = 4
} ;

Constants

 
CommitFlagSaveTemplateGenerateOID
Value: 1
Save the template and create an object identifier for it.
CommitFlagSaveTemplateUseCurrentOID
Value: 2
Not used.
CommitFlagSaveTemplateOverwrite
Value: 3
Not used.
CommitFlagDeleteTemplate
Value: 4
Delete the template.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header certenroll.h

See also

Commit

IX509CertificateTemplateWritable