EncryptedSecurityToken(SecurityToken, EncryptingCredentials) Constructor

Definición

Inicializa una nueva instancia de la clase EncryptedSecurityToken para el token especificado mediante las credenciales de cifrado especificadas.Initializes a new instance of the EncryptedSecurityToken class for the specified token by using the specified encrypting credentials.

public:
 EncryptedSecurityToken(System::IdentityModel::Tokens::SecurityToken ^ token, System::IdentityModel::Tokens::EncryptingCredentials ^ encryptingCredentials);
public EncryptedSecurityToken (System.IdentityModel.Tokens.SecurityToken token, System.IdentityModel.Tokens.EncryptingCredentials encryptingCredentials);
new System.IdentityModel.Tokens.EncryptedSecurityToken : System.IdentityModel.Tokens.SecurityToken * System.IdentityModel.Tokens.EncryptingCredentials -> System.IdentityModel.Tokens.EncryptedSecurityToken
Public Sub New (token As SecurityToken, encryptingCredentials As EncryptingCredentials)

Parámetros

token
SecurityToken

Token que se va a cifrar.The token to encrypt.

encryptingCredentials
EncryptingCredentials

Credenciales que se van a usar para cifrar el token.The credentials to use to encrypt the token.

Comentarios

Se hereda de SecurityToken.Inherited from SecurityToken.

Se aplica a