RequestedProofToken Constructor (Byte[], EncryptingCredentials)

.NET Framework (current version)
 

Initializes a new instance of the RequestedProofToken class using the specified key material and encrypting credentials.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public RequestedProofToken(
	byte[] secret,
	EncryptingCredentials wrappingCredentials
)

Parameters

secret
Type: System.Byte[]

An array of Byte that contains the key material.

wrappingCredentials
Type: System.IdentityModel.Tokens.EncryptingCredentials

A T:System.IdentityModel.SecurityTokenService.EncryptingCredentials that represents the credentials used to encrypt the key material.

Use this constructor when the key is encrypted.

.NET Framework
Available since 4.5
Return to top
Show: