public class ScramUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ITERATION_COUNT |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
computeHmac(byte[] key,
String string) |
static byte[] |
createSaltedPassword(byte[] salt,
String password,
int iters) |
static Mac |
createSha1Hmac(byte[] keyBytes) |
public static final int DEFAULT_ITERATION_COUNT
public static byte[] createSaltedPassword(byte[] salt,
String password,
int iters)
throws SaslException
SaslExceptionpublic static byte[] computeHmac(byte[] key,
String string)
throws SaslException
SaslExceptionpublic static Mac createSha1Hmac(byte[] keyBytes) throws SaslException
SaslExceptionCopyright © 2003-2008 Jive Software.