SecurityTokenRequirement.KeyUsage Property

 

Gets or sets a value that specifies how the key associated with a security token can be used.

Namespace:   System.IdentityModel.Selectors
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public SecurityKeyUsage KeyUsage { get; set; }

Property Value

Type: System.IdentityModel.Tokens.SecurityKeyUsage

A SecurityKeyUsage that specifies how the key associated with a security token can be used. The default value is Signature.

The value of the KeyUsage property can also be accessed by getting the Properties property, which is a collection of property values. The value of the KeyUsage property is stored at the index matching the value of the KeyUsageProperty property.

.NET Framework
Available since 3.0
Return to top
Show: