The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SecurityTokenRequirement::KeyType Property
.NET Framework (current version)
Gets or sets the type of key (asymmetric or symmetric) associated with a security token.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
public: property SecurityKeyType KeyType { SecurityKeyType get(); void set(SecurityKeyType value); }
Property Value
Type: System.IdentityModel.Tokens::SecurityKeyTypeA SecurityKeyType that specifies the type of key (asymmetric or symmetric) associated with a security token. The default value is SymmetricKey.
The value of the KeyType property can also be accessed by getting the Properties property, which is a collection of property values. The value of the KeyType property is stored at the index matching the value of the KeyTypeProperty property.
.NET Framework
Available since 3.0
Available since 3.0
Show: