Package org.knowm.xchange.gateio.service
Class GateioHmacPostBodyDigest
java.lang.Object
org.knowm.xchange.service.BaseParamsDigest
org.knowm.xchange.gateio.service.GateioHmacPostBodyDigest
- All Implemented Interfaces:
si.mazi.rescu.ParamsDigest
This may be used as the value of a @HeaderParam, @QueryParam or @PathParam to create a digest of
the post body (composed of @FormParam's). Don't use as the value of a @FormParam, it will
probably cause an infinite loop.
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 @FormParams).
-
Field Summary
Fields inherited from class org.knowm.xchange.service.BaseParamsDigest
HMAC_MD5, HMAC_SHA_1, HMAC_SHA_256, HMAC_SHA_384, HMAC_SHA_512
-
Method Summary
Modifier and TypeMethodDescriptionstatic GateioHmacPostBodyDigest
createInstance
(String secretKeyBase64) digestParams
(si.mazi.rescu.RestInvocation restInvocation) Methods inherited from class org.knowm.xchange.service.BaseParamsDigest
decodeBase64, getMac
-
Method Details
-
createInstance
-
digestParams
-