This topic has not yet been rated - Rate this topic

RequestedProofToken Class

.NET Framework 4.5

Represents the contents of a wst:RequestedProofToken element.

System.Object
  System.IdentityModel.Protocols.WSTrust.RequestedProofToken

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

The RequestedProofToken type exposes the following members.

  NameDescription
Public methodRequestedProofToken(Byte[])Initializes a new instance of the RequestedProofToken class using the specified key material.
Public methodRequestedProofToken(ProtectedKey)Initializes a new instance of the RequestedProofToken class using the specified ProtectedKey object.
Public methodRequestedProofToken(String)Initializes a new instance of the RequestedProofToken class using the specified computed key algorithm.
Public methodRequestedProofToken(Byte[], EncryptingCredentials)Initializes a new instance of the RequestedProofToken class using the specified key material and encrypting credentials.
Top
  NameDescription
Public propertyComputedKeyAlgorithmGets the computed key algorithm used to calculate the session key in the combined entropy case.
Public propertyProtectedKeyGets the key in the case when the wst:RequestedProofToken element contains a key.
Top
  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The content of a wst:RequestedProofToken element can be either an encrypted key or a key in clear text. In either of these cases, the ProtectedKey property contains the key. If the security token is a regular token, such as a SCT, then its session key will be the material which gets encrypted. When the wst:RequestedProofToken contains only a wst:ComputedKey element as in the case of combined entropy, the ComputedKeyAlgorithm property holds its contents.

For more information about the element that this class represents, see the version of the WS-Trust specification that applies to your scenario.

.NET Framework

Supported in: 4.5.1, 4.5

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.