Package org.jivesoftware.smack.util
Class MAC
- java.lang.Object
-
- org.jivesoftware.smack.util.MAC
-
-
Constructor Summary
Constructors Constructor Description MAC()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
hmacsha1(byte[] keyBytes, byte[] input)
static byte[]
hmacsha1(SecretKeySpec key, byte[] input)
-
-
-
Field Detail
-
HMACSHA1
public static final String HMACSHA1
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MAC
public MAC()
-
-
Method Detail
-
hmacsha1
public static byte[] hmacsha1(SecretKeySpec key, byte[] input) throws InvalidKeyException
- Throws:
InvalidKeyException
-
hmacsha1
public static byte[] hmacsha1(byte[] keyBytes, byte[] input) throws InvalidKeyException
- Throws:
InvalidKeyException
-
-