SecurityKeyUsage 列舉

定義

指定如何使用與安全性權杖相關聯的金鑰。Specifies how a key that is associated with a security token can be used.

public enum class SecurityKeyUsage
public enum SecurityKeyUsage
type SecurityKeyUsage = 
Public Enum SecurityKeyUsage
繼承
SecurityKeyUsage

欄位

Exchange 0

指定該金鑰能夠在傳送者與接收者之間交換金鑰。Specifies that the key can be used to exchange keys between a sender and a receiver.

Signature 1

指定該金鑰能夠用來產生數位簽章。Specifies that the key can be used to generate a digital signature.

備註

使用 SecurityKeyUsage 列舉型別 (Enumeration),設定 KeyUsage 屬性。Use the SecurityKeyUsage enumeration to set KeyUsage property.

適用於