|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcom.wowza.util.MD5DigestUtils
public class MD5DigestUtils
MD5DigestUtils: MD5 hash utilities.
| Field Summary | |
|---|---|
protected static java.security.MessageDigest |
md5Digest
|
protected static Object |
md5Lock
|
| Constructor Summary | |
|---|---|
MD5DigestUtils()
|
|
| Method Summary | |
|---|---|
static String |
generateAuth(String method,
String uri,
String username,
String password,
String realm,
String nonce)
Generate an HTTP authorization response |
static String |
generateAuth(String a2Hash,
String a1Hash,
String realm,
String nonce,
String qop,
String nonceCount,
String cnonce)
Generate an HTTP authorization response |
static String |
generateAuth(String method,
String uri,
String a1Hash,
String realm,
String nonce,
String qop,
String nonceCount,
String cnonce)
Generate an HTTP authorization response |
static String |
generateAuth(String method,
String uri,
String username,
String password,
String realm,
String nonce,
String qop,
String nonceCount,
String cnonce)
Generate an HTTP authorization response |
static String |
generateAuthHTTP(String method,
String uri,
String username,
String password,
String realm,
String nonce,
String qop,
String nonceCount,
String cnonce)
Generate an HTTP authorization response |
static String |
generateHash(String value)
Generate MD5 hash |
static byte[] |
generateHashBytes(byte[] value)
Generate MD5 hash |
static byte[] |
generateHashBytes(String value)
Generate MD5 hash |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.security.MessageDigest md5Digest
protected static Object md5Lock
| Constructor Detail |
|---|
public MD5DigestUtils()
| Method Detail |
|---|
public static String generateAuth(String method,
String uri,
String username,
String password,
String realm,
String nonce)
method - methoduri - URIusername - usernamepassword - passwordrealm - realmnonce - nonce
public static String generateAuth(String a2Hash,
String a1Hash,
String realm,
String nonce,
String qop,
String nonceCount,
String cnonce)
a2Hash - a2Hasha1Hash - a1Hashrealm - realmnonce - nonceqop - qopnonceCount - nonceCountcnonce - cnonce
public static String generateAuth(String method,
String uri,
String a1Hash,
String realm,
String nonce,
String qop,
String nonceCount,
String cnonce)
method - methoduri - URIa1Hash - a1Hashrealm - realmnonce - nonceqop - qopnonceCount - nonceCountcnonce - cnonce
public static String generateAuth(String method,
String uri,
String username,
String password,
String realm,
String nonce,
String qop,
String nonceCount,
String cnonce)
method - methoduri - URIusername - usernamepassword - passwordrealm - realmnonce - nonceqop - qopnonceCount - nonceCountcnonce - cnonce
public static String generateAuthHTTP(String method,
String uri,
String username,
String password,
String realm,
String nonce,
String qop,
String nonceCount,
String cnonce)
method - methoduri - URIusername - usernamepassword - passwordrealm - realmnonce - nonceqop - qopnonceCount - nonceCountcnonce - cnonce
public static String generateHash(String value)
value - in string converted to byte array (UTF-8)
public static byte[] generateHashBytes(byte[] value)
value - byte array to hash
public static byte[] generateHashBytes(String value)
value - in string converted to byte array (UTF-8)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||