共用方式為


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 回值,指出如何使用憑證密鑰。

適用於