public class DigestUtilities extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SESSION_HA1 |
static String[] |
SUPPORTED_QOPS
The supported qualities of protections.
|
| Constructor and Description |
|---|
DigestUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static String |
computeResponseValue(IoSession session,
HashMap<String,String> map,
String method,
String pwd,
String charsetName,
String body)
Computes the response to the DIGEST challenge.
|
public static final String SESSION_HA1
public static final String[] SUPPORTED_QOPS
public static String computeResponseValue(IoSession session, HashMap<String,String> map, String method, String pwd, String charsetName, String body) throws AuthenticationException, UnsupportedEncodingException
session - the current sessionmap - the map holding the directives sent by the proxymethod - the HTTP verbpwd - the passwordcharsetName - the name of the charset used for the challengebody - the html body to be hashed for integrity calculationsAuthenticationExceptionUnsupportedEncodingExceptionCopyright © 2004–2017 Apache MINA Project. All rights reserved.