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
SaslException
public static byte[] computeHmac(byte[] key, String string) throws SaslException
SaslException
public static Mac createSha1Hmac(byte[] keyBytes) throws SaslException
SaslException
Copyright © 2003-2008 Jive Software.