UserNameSecurityToken.SecurityKeys Egenskap

Definition

Hämtar de kryptografiska nycklar som är associerade med säkerhetstoken.

public:
 virtual property System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ SecurityKeys { System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ get(); };
public override System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey> SecurityKeys { get; }
member this.SecurityKeys : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey>
Public Overrides ReadOnly Property SecurityKeys As ReadOnlyCollection(Of SecurityKey)

Egenskapsvärde

En ReadOnlyCollection<T> typ SecurityKey som innehåller den uppsättning nycklar som är associerade med säkerhetstoken.

Kommentarer

UserNameSecurityToken Säkerhetstoken kan inte användas för kryptografiska åtgärder, som standard, så egenskapen SecurityKeys returnerar en tom samling.

Gäller för