SecurityTokenRequirement.KeyType Vlastnost

Definice

Získá nebo nastaví typ klíče (asymetrický nebo symetrický) přidružený k tokenu zabezpečení.

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

Hodnota vlastnosti

A SecurityKeyType , který určuje typ klíče (asymetrický nebo symetrický) přidružený k tokenu zabezpečení. Výchozí hodnota je SymmetricKey.

Poznámky

K hodnotě KeyType vlastnosti lze získat přístup také tak, že získáte Properties vlastnost , což je kolekce hodnot vlastností. Hodnota vlastnosti je uložena KeyType v indexu, který odpovídá hodnotě KeyTypeProperty vlastnosti .

Platí pro

Viz také