Crypto​Hash Class

Definition

Encapsulates a cryptographic hash primitive and provides additional functionality to communicate the hash state via XML.

public class CryptoHash
Inheritance
CryptoHash

Remarks

CryptoHash is for internal use only and is subject to change.

Constructors

Crypto​Hash()

Creates a new instance of the CryptoHash class with default values.

Crypto​Hash(​String)

Creates a new instance of the CryptoHash class with the specified hash algorithm name.

Properties

Algorithm​Name

Gets or sets the hash algorithm that instantiates the hash primitive.

Digest​Algorithm​Name

Gets the digest algorithm name.

Hash​Algorithm

Gets or sets an instance of the specified hash algorithm.

Is​Finalized

Gets or sets a flag indicating whether the hash is already finalized.

Start​Element​Name

Gets the name of the start element for the serialized info XML.

Methods

Finalize()

Constructs the representation of the finalized hash state.

Write​Info​Xml(​Xml​Writer)

Writes the XML to use when authenticating with the HealthVault service.