public abstract class BaseParamsDigest extends Object implements si.mazi.rescu.ParamsDigest
Modifier and Type | Field and Description |
---|---|
static String |
HMAC_SHA_1 |
static String |
HMAC_SHA_256 |
static String |
HMAC_SHA_384 |
static String |
HMAC_SHA_512 |
Modifier | Constructor and Description |
---|---|
protected |
BaseParamsDigest(byte[] secretKeyBase64,
String hmacString)
Constructor
|
protected |
BaseParamsDigest(String secretKeyBase64,
String hmacString)
Constructor
|
public static final String HMAC_SHA_512
public static final String HMAC_SHA_384
public static final String HMAC_SHA_256
public static final String HMAC_SHA_1
protected BaseParamsDigest(String secretKeyBase64, String hmacString) throws IllegalArgumentException
secretKeyBase64
- IllegalArgumentException
- if key is invalid (cannot be base-64-decoded or the decoded key is invalid).protected BaseParamsDigest(byte[] secretKeyBase64, String hmacString) throws IllegalArgumentException
secretKeyBase64
- IllegalArgumentException
- if key is invalid (cannot be base-64-decoded or the decoded key is invalid).protected Mac getMac()
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.