CngKey.KeyUsage 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取密钥指定的加密操作。
public:
property System::Security::Cryptography::CngKeyUsages KeyUsage { System::Security::Cryptography::CngKeyUsages get(); };
public System.Security.Cryptography.CngKeyUsages KeyUsage { get; }
public System.Security.Cryptography.CngKeyUsages KeyUsage { [System.Security.SecurityCritical] get; }
member this.KeyUsage : System.Security.Cryptography.CngKeyUsages
[<get: System.Security.SecurityCritical>]
member this.KeyUsage : System.Security.Cryptography.CngKeyUsages
Public ReadOnly Property KeyUsage As CngKeyUsages
属性值
指定允许的密钥用法的枚举值的按位组合。
- 属性