Table of Contents

ComputeHash2 Method

Definition

ComputeHash2(string, string)

Computes a by parameter defined UnkeyedCryptoAlgorithm hash value of the required values for the HTTP Digest access authentication HA2.

public virtual string ComputeHash2(string method, string entityBody = null)

Parameters

method string

The HTTP method to include in the HA2 computed value.

entityBody string

The entity body to apply in the signature when qop is set to auth-int.

Returns

string

A string in the format of H(method:DigestUri) OR H(method:DigestUri:H(entityBody)). H is determined by DigestAlgorithm.