CngKeyCreationOptions CngKeyCreationOptions CngKeyCreationOptions CngKeyCreationOptions Enum

定义

指定用于密钥创建的选项。Specifies options used for key creation.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class CngKeyCreationOptions
[System.Flags]
public enum CngKeyCreationOptions
type CngKeyCreationOptions = 
Public Enum CngKeyCreationOptions
继承
CngKeyCreationOptionsCngKeyCreationOptionsCngKeyCreationOptionsCngKeyCreationOptions
属性

字段

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.

注解

此类型由KeyCreationOptions属性使用。This type is used by the KeyCreationOptions property.

适用于