RequestedProofToken Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the contents of a wst:RequestedProofToken element.
public ref class RequestedProofToken
public class RequestedProofToken
type RequestedProofToken = class
Public Class RequestedProofToken
- Inheritance
-
RequestedProofToken
Remarks
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.
Constructors
RequestedProofToken(Byte[], EncryptingCredentials) |
Initializes a new instance of the RequestedProofToken class using the specified key material and encrypting credentials. |
RequestedProofToken(Byte[]) |
Initializes a new instance of the RequestedProofToken class using the specified key material. |
RequestedProofToken(ProtectedKey) |
Initializes a new instance of the RequestedProofToken class using the specified ProtectedKey object. |
RequestedProofToken(String) |
Initializes a new instance of the RequestedProofToken class using the specified computed key algorithm. |
Properties
ComputedKeyAlgorithm |
Gets the computed key algorithm used to calculate the session key in the combined entropy case. |
ProtectedKey |
Gets the key in the case when the wst:RequestedProofToken element contains a key. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |