com.liferay.portal.kernel.util
Class DigesterUtil
java.lang.Object
com.liferay.portal.kernel.util.DigesterUtil
public class DigesterUtil
- extends Object
Method Summary |
static String |
digest(ByteBuffer byteBuffer)
|
static String |
digest(InputStream inputStream)
|
static String |
digest(String text)
|
static String |
digest(String algorithm,
ByteBuffer byteBuffer)
|
static String |
digest(String algorithm,
InputStream inputStream)
|
static String |
digest(String algorithm,
String... text)
|
static String |
digestBase64(ByteBuffer byteBuffer)
|
static String |
digestBase64(InputStream inputStream)
|
static String |
digestBase64(String text)
|
static String |
digestBase64(String algorithm,
ByteBuffer byteBuffer)
|
static String |
digestBase64(String algorithm,
InputStream inputStream)
|
static String |
digestBase64(String algorithm,
String... text)
|
static String |
digestHex(ByteBuffer byteBuffer)
|
static String |
digestHex(InputStream inputStream)
|
static String |
digestHex(String text)
|
static String |
digestHex(String algorithm,
ByteBuffer byteBuffer)
|
static String |
digestHex(String algorithm,
InputStream inputStream)
|
static String |
digestHex(String algorithm,
String... text)
|
static byte[] |
digestRaw(ByteBuffer byteBuffer)
|
static byte[] |
digestRaw(String text)
|
static byte[] |
digestRaw(String algorithm,
ByteBuffer byteBuffer)
|
static byte[] |
digestRaw(String algorithm,
InputStream inputStream)
|
static byte[] |
digestRaw(String algorithm,
String... text)
|
static Digester |
getDigester()
|
void |
setDigester(Digester digester)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DigesterUtil
public DigesterUtil()
digest
public static String digest(ByteBuffer byteBuffer)
digest
public static String digest(InputStream inputStream)
digest
public static String digest(String text)
digest
public static String digest(String algorithm,
ByteBuffer byteBuffer)
digest
public static String digest(String algorithm,
InputStream inputStream)
digest
public static String digest(String algorithm,
String... text)
digestBase64
public static String digestBase64(ByteBuffer byteBuffer)
digestBase64
public static String digestBase64(InputStream inputStream)
digestBase64
public static String digestBase64(String text)
digestBase64
public static String digestBase64(String algorithm,
ByteBuffer byteBuffer)
digestBase64
public static String digestBase64(String algorithm,
InputStream inputStream)
digestBase64
public static String digestBase64(String algorithm,
String... text)
digestHex
public static String digestHex(ByteBuffer byteBuffer)
digestHex
public static String digestHex(InputStream inputStream)
digestHex
public static String digestHex(String text)
digestHex
public static String digestHex(String algorithm,
ByteBuffer byteBuffer)
digestHex
public static String digestHex(String algorithm,
InputStream inputStream)
digestHex
public static String digestHex(String algorithm,
String... text)
digestRaw
public static byte[] digestRaw(ByteBuffer byteBuffer)
digestRaw
public static byte[] digestRaw(String text)
digestRaw
public static byte[] digestRaw(String algorithm,
ByteBuffer byteBuffer)
digestRaw
public static byte[] digestRaw(String algorithm,
InputStream inputStream)
digestRaw
public static byte[] digestRaw(String algorithm,
String... text)
getDigester
public static Digester getDigester()
setDigester
public void setDigester(Digester digester)