WrappedKeySecurityToken Konstruktor

Definition

Initierar en ny instans av WrappedKeySecurityToken klassen.

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)

Parametrar

id
String

ID för nyckeltoken.

keyToWrap
Byte[]

Nyckeln som ska omslutas.

wrappingAlgorithm
String

Algoritmen som används för att omsluta.

wrappingToken
SecurityToken

En SecurityToken som representerar omslutningstoken.

wrappingTokenReference
SecurityKeyIdentifier

En SecurityKeyIdentifier som representerar en referens till omslutningstoken.

Gäller för