Redigera

Dela via


Saml2SecurityToken.SecurityKeys Property

Definition

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

Use the SecurityKeys property to set the cryptographic keys for this security token to protect a SOAP message. The keys can be used, among other things, to digitally sign or encrypt SOAP messages.

Applies to