public class CryptsyHmacPostBodyDigest extends BaseParamsDigest
This may be used for REST APIs where some parameters' values must be digests of other parameters. An example is the MtGox API v1, where the Rest-Sign header parameter must be a digest of the request body (which is composed of
HMAC_SHA_1, HMAC_SHA_256, HMAC_SHA_384, HMAC_SHA_512
Modifier and Type | Method and Description |
---|---|
static CryptsyHmacPostBodyDigest |
createInstance(String secretKeyBase64) |
String |
digestParams(si.mazi.rescu.RestInvocation restInvocation) |
getMac
public static CryptsyHmacPostBodyDigest createInstance(String secretKeyBase64)
public String digestParams(si.mazi.rescu.RestInvocation restInvocation)
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.