SecurityTokenRequirement.KeyUsage 屬性

定義

取得或設定值,這個值會指定如何使用與安全性權杖相關聯的金鑰。

public:
 property System::IdentityModel::Tokens::SecurityKeyUsage KeyUsage { System::IdentityModel::Tokens::SecurityKeyUsage get(); void set(System::IdentityModel::Tokens::SecurityKeyUsage value); };
public System.IdentityModel.Tokens.SecurityKeyUsage KeyUsage { get; set; }
member this.KeyUsage : System.IdentityModel.Tokens.SecurityKeyUsage with get, set
Public Property KeyUsage As SecurityKeyUsage

屬性值

SecurityKeyUsage,其中會指定如何使用與安全性權杖相關聯的金鑰。 預設值是 Signature

備註

透過取得 KeyUsage 屬性也可以存取 Properties 屬性的值,這時是屬性值的集合。 KeyUsage 屬性的值會儲存在對應於 KeyUsageProperty 屬性值的索引上。

適用於

另請參閱