X509KeyUsageExtension.KeyUsages 属性

定义

获取与证书关联的密钥用法标志。

public:
 property System::Security::Cryptography::X509Certificates::X509KeyUsageFlags KeyUsages { System::Security::Cryptography::X509Certificates::X509KeyUsageFlags get(); };
public System.Security.Cryptography.X509Certificates.X509KeyUsageFlags KeyUsages { get; }
member this.KeyUsages : System.Security.Cryptography.X509Certificates.X509KeyUsageFlags
Public ReadOnly Property KeyUsages As X509KeyUsageFlags

属性值

KeyUsages 值之一。

例外

扩展无法解码。

注解

此属性从 枚举返回一个值, KeyUsages 该值指示如何使用证书密钥。

适用于