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,
  CommitFlagSaveTemplateUseCurrentOID,
  CommitFlagSaveTemplateOverwrite,
  CommitFlagDeleteTemplate
} ;

Constants

 
CommitFlagSaveTemplateGenerateOID
Save the template and create an object identifier for it.
CommitFlagSaveTemplateUseCurrentOID
Not used.
CommitFlagSaveTemplateOverwrite
Not used.
CommitFlagDeleteTemplate
Delete the template.

Requirements

   
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