Επεξεργασία

Κοινή χρήση μέσω


WrappedKeySecurityToken Constructor

Definition

Initializes a new instance of the WrappedKeySecurityToken class.

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)

Parameters

id
String

The ID of the key token.

keyToWrap
Byte[]

The key to be wrapped.

wrappingAlgorithm
String

The algorithm used to do the wrapping.

wrappingToken
SecurityToken

A SecurityToken that represents the wrapping token.

wrappingTokenReference
SecurityKeyIdentifier

A SecurityKeyIdentifier that represents a reference to the wrapping token.

Applies to