CngKeyCreationParameters.KeyCreationOptions Propriedade
Definição
Obtém ou define as opções de criação de chave.Gets or sets the key creation options.
public:
property System::Security::Cryptography::CngKeyCreationOptions KeyCreationOptions { System::Security::Cryptography::CngKeyCreationOptions get(); void set(System::Security::Cryptography::CngKeyCreationOptions value); };
public System.Security.Cryptography.CngKeyCreationOptions KeyCreationOptions { get; set; }
member this.KeyCreationOptions : System.Security.Cryptography.CngKeyCreationOptions with get, set
Public Property KeyCreationOptions As CngKeyCreationOptions
Valor da propriedade
Um objeto que especifica as opções para a criação de chaves.An object that specifies options for creating keys. O valor padrão é null , que indica que as opções de criação de chave padrão do provedor de armazenamento de chaves estão definidas.The default value is null, which indicates that the key storage provider's default key creation options are set.
Comentários
O CngKeyCreationOptions objeto retornado define as opções que são usadas quando você cria um novo CngKey objeto.The returned CngKeyCreationOptions object defines options that are used when you create a new CngKey object. Essas opções determinam se a chave é criada no repositório de chaves do usuário ou do computador e se uma nova chave deve substituir uma chave existente.These options determine whether the key is created in the user or machine key store, and whether a new key should overwrite an existing key. Por padrão, se CngKeyCreationOptions.MachineKey não for especificado, a chave será criada no repositório do usuário.By default, if CngKeyCreationOptions.MachineKey is not specified, the key is created in the user store.