This documentation is archived and is not being maintained.

HMACSHA1 Methods

The methods of the HMACSHA1 class are listed here. For a complete list of HMACSHA1 class members, see the HMACSHA1 Members topic.

Public Methods

public methodClear (inherited from HashAlgorithm) Releases all resources used by the HashAlgorithm.
public methodComputeHash (inherited from HashAlgorithm) Overloaded. Computes the hash value for the input data.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitialize Overridden. Initializes an instance of HMACSHA1.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodTransformBlock (inherited from HashAlgorithm) 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.
public methodTransformFinalBlock (inherited from HashAlgorithm) Computes the hash value for the specified region of the specified byte array.

Protected Methods

protected methodDispose Overridden. Releases the unmanaged resources used by the HMACSHA1 and optionally releases the managed resources.
protected methodFinalize Overridden. Releases the unmanaged resources used by the HMACSHA1.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodHashCore Overridden. Routes data written to the object into the SHA1 hash algorithm for computing the Hash-based Message Authentication Code (HMAC).
protected methodHashFinal Overridden. Returns the computed Hash-based Message Authentication Code (HMAC) after all data has been written to the object.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HMACSHA1 Class | System.Security.Cryptography Namespace

Show: