UserNameSecurityToken.SecurityKeys Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the cryptographic keys associated with the security token.
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)
Property Value
A ReadOnlyCollection<T> of type SecurityKey that contains the set of keys associated with the security token.
Remarks
UserNameSecurityToken security tokens cannot be used for cryptographic operations, by default, so the SecurityKeys property returns an empty collection.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET