CngKeyCreationOptions Enumeration

 

Specifies options used for key creation.

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

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

[FlagsAttribute]
public enum class CngKeyCreationOptions

Member nameDescription
MachineKey

A machine-wide key is created.

None

No key creation options are used.

OverwriteExistingKey

The existing key is overwritten during key creation.

This type is used by the KeyCreationOptions property.

.NET Framework
Available since 3.5
Return to top
Show: