Cuemon .NET Framework
ComputeHash2 Method

The credentials of the HA2 computed value (CredentialDigestUri).
The HTTP method to include in the HA2 computed value.
The algorithm to use when computing the HA2 value.
Computes a by parameter defined Cuemon.Security.Cryptography.HashAlgorithmType hash value of the required values for the HTTP Digest access authentication HA2.
Syntax
'Declaration
 
Public Shared Function ComputeHash2( _
   ByVal credentials As IDictionary(Of String,String), _
   ByVal httpMethod As String, _
   ByVal algorithm As HashAlgorithmType _
) As String

Parameters

credentials
The credentials of the HA2 computed value (CredentialDigestUri).
httpMethod
The HTTP method to include in the HA2 computed value.
algorithm
The algorithm to use when computing the HA2 value.

Return Value

A System.String in the format of H('httpMethod:credentials[CredentialDigestUri]').
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