ProtectedKey Class

Definition

Represents the contents of a wst:Entropy or a wst:RequestedProofToken element inside the RequestSecurityToken and RequestSecurityTokenResponse.

public ref class ProtectedKey
public class ProtectedKey
type ProtectedKey = class
Public Class ProtectedKey
Inheritance
ProtectedKey
Derived

Remarks

Represents the contents of a wst:Entropy or a wst:RequestedProofToken element inside the wst:RequestSecurityToken (RequestSecurityToken) and wst:RequestSecurityTokenResponse (RequestSecurityTokenResponse) messages.

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

Constructors

ProtectedKey(Byte[])

Initializes a new instance of the ProtectedKey class with no encryption.

ProtectedKey(Byte[], EncryptingCredentials)

Initializes a new instance of the ProtectedKey class using the specified encrypting credentials.

Properties

WrappingCredentials

Gets the encrypting credentials for the 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)
GetKeyBytes()

Gets the key material.

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)

Applies to