Cuemon .NET Framework
ComputeResponse Method

The credentials of the RESPONSE computed value (CredentialNonce, CredentialNonceCount, CredentialClientNonce, CredentialQualityOfProtection).
The HA1 to include in the RESPONSE computed value.
The HA2 to include in the RESPONSE computed value.
The algorithm to use when computing the RESPONSE value.
Computes a by parameter defined Cuemon.Security.Cryptography.HashAlgorithmType hash value of the required values for the HTTP Digest access authentication RESPONSE.
Syntax
'Declaration
 
Public Shared Function ComputeResponse( _
   ByVal credentials As IDictionary(Of String,String), _
   ByVal hash1 As String, _
   ByVal hash2 As String, _
   ByVal algorithm As HashAlgorithmType _
) As String

Parameters

credentials
The credentials of the RESPONSE computed value (CredentialNonce, CredentialNonceCount, CredentialClientNonce, CredentialQualityOfProtection).
hash1
The HA1 to include in the RESPONSE computed value.
hash2
The HA2 to include in the RESPONSE computed value.
algorithm
The algorithm to use when computing the RESPONSE value.

Return Value

A System.String in the format of H('hash1:credentials[CredentialNonce]:credentials[CredentialNonceCount]:credentials[CredentialClientNonce]:credentials[CredentialQualityOfProtection]:hash2').
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DigestAuthenticationUtility Class
DigestAuthenticationUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback