|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.util.http.DigestUtil
DigestUtil defines a set of utility methods for dealing with HTTP Digest Authentication (rfc2617)
Constructor Summary | |
DigestUtil()
|
Method Summary | |
static java.lang.String |
calculateDigest(AuthHeaderData authData,
java.lang.String password)
Parse a WWW-Authenticate header. |
static java.lang.String |
digestHexFormat(byte[] byteArray)
Convert a byte array into lower case hex characters including any leading 0's. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DigestUtil()
Method Detail |
public static java.lang.String digestHexFormat(byte[] byteArray)
byteArray
- The array of bytes to be convertedpublic static java.lang.String calculateDigest(AuthHeaderData authData, java.lang.String password) throws java.security.NoSuchAlgorithmException
authData
- password
-
java.security.NoSuchAlgorithmException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |