Udostępnij za pośrednictwem


WrappedKeySecurityToken Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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)

Parametry

id
String

Identyfikator tokenu klucza.

keyToWrap
Byte[]

Klucz, który ma zostać opakowany.

wrappingAlgorithm
String

Algorytm używany do opakowywania.

wrappingToken
SecurityToken

Element SecurityToken reprezentujący token opakowujący.

wrappingTokenReference
SecurityKeyIdentifier

Element SecurityKeyIdentifier reprezentujący odwołanie do tokenu opakowującego.

Dotyczy