UseKey Construtores

Definição

Inicializa uma nova instância da classe UseKey.Initializes a new instance of the UseKey class.

Sobrecargas

UseKey()

Inicializa uma nova instância da classe UseKey.Initializes a new instance of the UseKey class.

UseKey(SecurityKeyIdentifier)

Inicializa uma nova instância da classe UseKey usando o identificador de chave de segurança especificado.Initializes a new instance of the UseKey class using the specified security key identifier.

UseKey(SecurityToken)

Inicializa uma nova instância da classe UseKey usando o token de segurança especificado.Initializes a new instance of the UseKey class using the specified security token.

UseKey(SecurityKeyIdentifier, SecurityToken)

Inicializa uma nova instância da classe UseKey usando o identificador de chave de segurança e o token de segurança especificados.Initializes a new instance of the UseKey class using the specified security key identifier and security token.

UseKey()

Inicializa uma nova instância da classe UseKey.Initializes a new instance of the UseKey class.

public:
 UseKey();
public UseKey ();
Public Sub New ()

Comentários

O construtor para extensibilidade.The constructor for extensibility.

Aplica-se a

UseKey(SecurityKeyIdentifier)

Inicializa uma nova instância da classe UseKey usando o identificador de chave de segurança especificado.Initializes a new instance of the UseKey class using the specified security key identifier.

public:
 UseKey(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ski);
public UseKey (System.IdentityModel.Tokens.SecurityKeyIdentifier ski);
new System.IdentityModel.Protocols.WSTrust.UseKey : System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.IdentityModel.Protocols.WSTrust.UseKey
Public Sub New (ski As SecurityKeyIdentifier)

Parâmetros

ski
SecurityKeyIdentifier

Um SecurityKeyIdentifier que representa a chave existente que deve ser usada.A SecurityKeyIdentifier that represents the existing key that should be used.

Comentários

Use esse construtor se o solicitante souber como converter o token para um identificador de chave de segurança ou se o token já for um identificador de chave de segurança.Use this constructor if the requestor knows how to convert the token to a security key identifier or if the token is already a security key identifier.

A Token propriedade é definida como null na nova UseKey instância.The Token property is set to null in the new UseKey instance.

Aplica-se a

UseKey(SecurityToken)

Inicializa uma nova instância da classe UseKey usando o token de segurança especificado.Initializes a new instance of the UseKey class using the specified security token.

public:
 UseKey(System::IdentityModel::Tokens::SecurityToken ^ token);
public UseKey (System.IdentityModel.Tokens.SecurityToken token);
new System.IdentityModel.Protocols.WSTrust.UseKey : System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Protocols.WSTrust.UseKey
Public Sub New (token As SecurityToken)

Parâmetros

token
SecurityToken

Um SecurityToken que representa a chave existente que deve ser usada.A SecurityToken that represents the existing key that should be used.

Comentários

A SecurityKeyIdentifier propriedade é definida como null na nova UseKey instância.The SecurityKeyIdentifier property is set to null in the new UseKey instance.

Aplica-se a

UseKey(SecurityKeyIdentifier, SecurityToken)

Inicializa uma nova instância da classe UseKey usando o identificador de chave de segurança e o token de segurança especificados.Initializes a new instance of the UseKey class using the specified security key identifier and security token.

public:
 UseKey(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ski, System::IdentityModel::Tokens::SecurityToken ^ token);
public UseKey (System.IdentityModel.Tokens.SecurityKeyIdentifier ski, System.IdentityModel.Tokens.SecurityToken token);
new System.IdentityModel.Protocols.WSTrust.UseKey : System.IdentityModel.Tokens.SecurityKeyIdentifier * System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Protocols.WSTrust.UseKey
Public Sub New (ski As SecurityKeyIdentifier, token As SecurityToken)

Parâmetros

ski
SecurityKeyIdentifier

Um SecurityKeyIdentifier que representa a chave existente que deve ser usada.A SecurityKeyIdentifier that represents the existing key that should be used.

token
SecurityToken

Um SecurityToken que representa a chave existente que deve ser usada.A SecurityToken that represents the existing key that should be used.

Comentários

Use este construtor para passar mais informações para o serviço de token de segurança (STS) do serializador.Use this constructor to pass more information to the security token service (STS) from the serializer.

Aplica-se a