CngKey.KeyUsage 属性

定义

获取密钥指定的加密操作。

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

属性值

指定允许的密钥用法的枚举值的按位组合。

属性

适用于