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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: