CngKeyCreationOptions CngKeyCreationOptions CngKeyCreationOptions CngKeyCreationOptions Enum

Definition

Specifies options used for key creation.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class CngKeyCreationOptions
[System.Flags]
public enum CngKeyCreationOptions
type CngKeyCreationOptions = 
Public Enum CngKeyCreationOptions
Inheritance
CngKeyCreationOptionsCngKeyCreationOptionsCngKeyCreationOptionsCngKeyCreationOptions
Attributes

Fields

MachineKey MachineKey MachineKey MachineKey 32

A machine-wide key is created.

None None None None 0

No key creation options are used.

OverwriteExistingKey OverwriteExistingKey OverwriteExistingKey OverwriteExistingKey 128

The existing key is overwritten during key creation.

Remarks

This type is used by the KeyCreationOptions property.

Applies to