WrappedKeySecurityToken Constructor

Definición

Inicializa una nueva instancia de la clase WrappedKeySecurityToken.

public:
 WrappedKeySecurityToken(System::String ^ id, cli::array <System::Byte> ^ keyToWrap, System::String ^ wrappingAlgorithm, System::IdentityModel::Tokens::SecurityToken ^ wrappingToken, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ wrappingTokenReference);
public WrappedKeySecurityToken(string id, byte[] keyToWrap, string wrappingAlgorithm, System.IdentityModel.Tokens.SecurityToken wrappingToken, System.IdentityModel.Tokens.SecurityKeyIdentifier wrappingTokenReference);
new System.ServiceModel.Security.Tokens.WrappedKeySecurityToken : string * byte[] * string * System.IdentityModel.Tokens.SecurityToken * System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.ServiceModel.Security.Tokens.WrappedKeySecurityToken
Public Sub New (id As String, keyToWrap As Byte(), wrappingAlgorithm As String, wrappingToken As SecurityToken, wrappingTokenReference As SecurityKeyIdentifier)

Parámetros

id
String

Identificador del token de clave.

keyToWrap
Byte[]

Clave que se va a encapsular.

wrappingAlgorithm
String

Algoritmo que se usa para realizar el ajuste.

wrappingToken
SecurityToken

SecurityToken que representa el token de ajuste.

wrappingTokenReference
SecurityKeyIdentifier

que SecurityKeyIdentifier representa una referencia al token de ajuste.

Se aplica a