Entropy Class

Definition

Represents the entropy used in both token request messages and token response messages.

public ref class Entropy : System::IdentityModel::Protocols::WSTrust::ProtectedKey
public class Entropy : System.IdentityModel.Protocols.WSTrust.ProtectedKey
type Entropy = class
    inherit ProtectedKey
Public Class Entropy
Inherits ProtectedKey
Inheritance

Remarks

Represents the contents of the wst:Entropy element defined by WS-Trust.

Constructors

Entropy(Byte[])

Initializes a new instance of the Entropy class for sending entropy in binary secret format.

Entropy(Byte[], EncryptingCredentials)

Initializes a new instance of the Entropy class for sending entropy in encrypted key format.

Entropy(Int32)

Initializes a new instance of the Entropy class with randomly generated bytes.

Entropy(ProtectedKey)

Initializes a new instance of the Entropy class with the specified protected key.

Properties

WrappingCredentials

Gets the encrypting credentials for the key.

(Inherited from ProtectedKey)

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.

(Inherited from ProtectedKey)
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