The HMAC type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | HMAC(HashAlgorithm) |
Initializes a new instance of the HMAC class. This class cannot be inherited.
|
![]() | HMAC(HashAlgorithm, array<Byte>[]()[][]) |
Initializes a new instance of the HMAC class.
|
Methods
Name | Description | |
---|---|---|
![]() | Clear | Releases all resources used by the HashAlgorithm class. (Inherited from HashAlgorithm.) |
![]() | ComputeHash(Stream) | Computes the hash value for the specified Stream object. (Inherited from HashAlgorithm.) |
![]() | ComputeHash(array<Byte>[]()[][]) | Computes the hash value for the specified byte array. (Inherited from HashAlgorithm.) |
![]() | ComputeHash(array<Byte>[]()[][], Int32, Int32) | Computes the hash value for the specified region of the specified byte array. (Inherited from HashAlgorithm.) |
![]() | Dispose()()()() | Releases all resources used by the current instance of the HashAlgorithm class. (Inherited from HashAlgorithm.) |
![]() | Dispose(Boolean) |
Releases the resources used by the HMAC.
(Overrides KeyedHashAlgorithm..::..Dispose(Boolean).) |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize |
Finalizes the HMAC.
(Overrides Object..::..Finalize()()()().) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HashCore |
Routes data written to the object into the hash algorithm for computing the hash.
(Overrides HashAlgorithm..::..HashCore(array<Byte>[]()[][], Int32, Int32).) |
![]() | HashFinal |
Finalizes the hash computation after the last data is processed by the cryptographic stream object.
(Overrides HashAlgorithm..::..HashFinal()()()().) |
![]() | Initialize |
Initializes the HMAC.
(Overrides HashAlgorithm..::..Initialize()()()().) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
![]() | TransformBlock | Computes the hash value for the specified region of the input byte array and copies the resulting hash value to the specified region of the output byte array. (Inherited from HashAlgorithm.) |
![]() | TransformFinalBlock | Computes the hash value for the specified region of the specified byte array. (Inherited from HashAlgorithm.) |
Fields
Name | Description | |
---|---|---|
![]() | HashSizeValue | Represents the size, in bits, of the computed hash code. (Inherited from HashAlgorithm.) |
![]() | HashValue | Represents the value of the computed hash code. (Inherited from HashAlgorithm.) |
![]() | KeyValue | The key to use in the hash algorithm. (Inherited from KeyedHashAlgorithm.) |
![]() | State | Represents the state of the hash computation. (Inherited from HashAlgorithm.) |
Properties
Name | Description | |
---|---|---|
![]() | CanReuseTransform | Gets a value indicating whether the current transform can be reused. (Inherited from HashAlgorithm.) |
![]() | CanTransformMultipleBlocks | When overridden in a derived class, gets a value indicating whether multiple blocks can be transformed. (Inherited from HashAlgorithm.) |
![]() | Hash | Gets the value of the computed hash code. (Inherited from HashAlgorithm.) |
![]() | HashSize |
Gets the size of the computed hash code in bits.
(Overrides HashAlgorithm..::..HashSize.) |
![]() | InputBlockSize | When overridden in a derived class, gets the input block size. (Inherited from HashAlgorithm.) |
![]() | Key | Gets or sets the key to use in the hash algorithm. (Inherited from KeyedHashAlgorithm.) |
![]() | OutputBlockSize | When overridden in a derived class, gets the output block size. (Inherited from HashAlgorithm.) |