WrappedKeySecurityToken Konstruktor

Definice

Inicializuje novou instanci WrappedKeySecurityToken třídy.

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

ID tokenu klíče

keyToWrap
Byte[]

Klíč, který má být zabalen.

wrappingAlgorithm
String

Algoritmus použitý k zabalení

wrappingToken
SecurityToken

SecurityTokenKterý představuje token pro zabalení.

wrappingTokenReference
SecurityKeyIdentifier

SecurityKeyIdentifierKterý představuje odkaz na token pro vybalení.

Platí pro