ComputeResponse Method
Definition
- Namespace
- Cuemon.AspNetCore.Authentication.Digest
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
ComputeResponse(string, string)
Computes a by parameter defined UnkeyedCryptoAlgorithm hash value of the required values for the HTTP Digest access authentication RESPONSE.
public virtual string ComputeResponse(string hash1, string hash2)
Parameters
hash1stringThe HA1 to include in the RESPONSE computed value.
hash2stringThe HA2 to include in the RESPONSE computed value.
Returns
- string
A string in the format of H(
hash1:Nonce:NonceCount:ClientNonce:QualityOfProtection:hash2). H is determined by DigestAlgorithm.