forked from TrueCloudLab/frostfs-sdk-java
[#45] Add the ability to create a client via wallet and password
Signed-off-by: Ori Bruk <o.bruk@yadro.com>
This commit is contained in:
parent
fe7d2968b8
commit
db74919401
24 changed files with 141 additions and 558 deletions
|
@ -20,6 +20,7 @@ public class ErrorConst {
|
|||
public static final String UNEXPECTED_MESSAGE_TYPE_TEMPLATE = "unexpected message type, expected %s, actually %s";
|
||||
|
||||
public static final String WIF_IS_INVALID = "WIF is invalid";
|
||||
public static final String WALLET_IS_INVALID = "wallet is not present";
|
||||
public static final String UNEXPECTED_STREAM = "unexpected end of stream";
|
||||
public static final String INVALID_HOST_TEMPLATE = "host %s has invalid format. Error: %s";
|
||||
public static final String INVALID_RESPONSE = "invalid response";
|
||||
|
@ -28,14 +29,7 @@ public class ErrorConst {
|
|||
public static final String UNKNOWN_ENUM_VALUE_TEMPLATE = "unknown %s value: %s";
|
||||
|
||||
public static final String INPUT_PARAM_IS_NOT_SHA256 = "%s must be a sha256 hash";
|
||||
public static final String DECODE_LENGTH_VALUE_TEMPLATE = "decode array length must be >= 4, but %s";
|
||||
public static final String INVALID_BASE58_CHARACTER_TEMPLATE = "invalid character in Base58: 0x%04x";
|
||||
public static final String INVALID_CHECKSUM = "checksum does not match";
|
||||
public static final String WRONG_SIGNATURE_SIZE_TEMPLATE = "wrong signature size. Expected length=%s, actual=%s";
|
||||
public static final String ENCODED_COMPRESSED_PUBLIC_KEY_WRONG_LENGTH_TEMPLATE =
|
||||
"publicKey isn't encoded compressed public key. Expected length=%s, actual=%s";
|
||||
public static final String UNCOMPRESSED_PUBLIC_KEY_WRONG_LENGTH_TEMPLATE =
|
||||
"compress argument isn't uncompressed public key. Expected length=%s, actual=%s";
|
||||
public static final String COMPRESSED_PUBLIC_KEY_WRONG_LENGTH_TEMPLATE =
|
||||
"decompress argument isn't compressed public key. Expected length=%s, actual=%s";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue