WrappedKeySecurityToken Constructor (String, Byte[], String, SecurityToken, SecurityKeyIdentifier)

 

Initializes a new instance of the WrappedKeySecurityToken class.

Namespace:   System.ServiceModel.Security.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public WrappedKeySecurityToken(
	string id,
	byte[] keyToWrap,
	string wrappingAlgorithm,
	SecurityToken wrappingToken,
	SecurityKeyIdentifier wrappingTokenReference
)

Parameters

id
Type: System.String

The ID of the key token.

keyToWrap
Type: System.Byte[]

The key to be wrapped.

wrappingAlgorithm
Type: System.String

The algorithm used to do the wrapping.

wrappingToken
Type: System.IdentityModel.Tokens.SecurityToken

A SecurityToken that represents the wrapping token.

wrappingTokenReference
Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

A SecurityKeyIdentifier that represents a reference to the wrapping token.

.NET Framework
Available since 3.0
Return to top
Show: