UseKey Constructor (SecurityKeyIdentifier, SecurityToken)

.NET Framework (current version)
 

Initializes a new instance of the UseKey class using the specified security key identifier and security token.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public UseKey(
	SecurityKeyIdentifier ski,
	SecurityToken token
)

Parameters

ski
Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

A SecurityKeyIdentifier that represents the existing key that should be used.

token
Type: System.IdentityModel.Tokens.SecurityToken

A SecurityToken that represents the existing key that should be used.

Use this constructor to pass more information to the security token service (STS) from the serializer.

.NET Framework
Available since 4.5
Return to top
Show: