public class HMACValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
static Charset |
C_UTF8 |
static String |
HMAC_SHA256_ALGORITHM |
| Constructor and Description |
|---|
HMACValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
calculateHMAC(String data,
String key) |
String |
getDataToSign(SortedMap<String,String> postParameters) |
public static final String HMAC_SHA256_ALGORITHM
public static final Charset C_UTF8
public String calculateHMAC(String data, String key) throws SignatureException
SignatureExceptionCopyright © 2017. All rights reserved.