Share via


CngKeyCreationParameters.KeyCreationOptions 속성

정의

키 생성 옵션을 가져오거나 설정합니다.

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

속성 값

키 생성에 대한 옵션을 지정하는 개체입니다. 기본값은 키 스토리지 공급자의 기본 키 생성 옵션을 설정하는 null입니다.

설명

반환된 CngKeyCreationOptions 개체는 새 CngKey 개체를 만들 때 사용되는 옵션을 정의합니다. 이러한 옵션은 키가 사용자 또는 컴퓨터 키 저장소에 생성되는지 여부와 새 키가 기존 키를 덮어써야 하는지 여부를 결정합니다. 기본적으로 가 지정되지 않은 경우 CngKeyCreationOptions.MachineKey 키는 사용자 저장소에 만들어집니다.

적용 대상