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
CngKeyCreationOptions
Attributes

Fields

MachineKey 32

A machine-wide key is created.

None 0

No key creation options are used.

OverwriteExistingKey 128

The existing key is overwritten during key creation.

Remarks

This type is used by the KeyCreationOptions property.

Applies to