public class MessageDigestGenerator extends Object
| Constructor and Description |
|---|
MessageDigestGenerator() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createDigest(byte[] input,
String algo) |
byte[] |
createDigest(String input,
String algo) |
String |
generate(byte[] input) |
void |
setAlgorithm(String algo) |
public String generate(byte[] input) throws OAuthServiceException
OAuthServiceExceptionpublic byte[] createDigest(byte[] input,
String algo)
throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic void setAlgorithm(String algo)
Apache CXF