public class VircurexSha2Digest extends Object
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).
| Constructor and Description |
|---|
VircurexSha2Digest(String aSecretWord,
String aUserName,
String aTimeStamp,
long aNonce,
String aMethod) |
VircurexSha2Digest(String aSecretWord,
String aUserName,
String aTimeStamp,
long aNonce,
String aMethod,
String anOrderId) |
VircurexSha2Digest(String aSecretWord,
String aUserName,
String aTimeStamp,
long aNonce,
String aMethod,
String anOrderType,
String anOrderAmount,
String aTransactionCurrency,
String aLimitPrice,
String aTradeableCurrency)
Constructor
|
public VircurexSha2Digest(String aSecretWord, String aUserName, String aTimeStamp, long aNonce, String aMethod, String anOrderType, String anOrderAmount, String aTransactionCurrency, String aLimitPrice, String aTradeableCurrency) throws IllegalArgumentException
aSecretWord - IllegalArgumentException - if key is invalid (cannot be base-64-decoded or the decoded
key is invalid).public VircurexSha2Digest(String aSecretWord, String aUserName, String aTimeStamp, long aNonce, String aMethod)
Copyright © 2012–2018 Knowm Inc.. All rights reserved.