Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Z 

A

ACLActionHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
Address - Variable in class com.arxanfintech.common.rest.Config
 
addressStringToBytes(String) - Static method in class com.arxanfintech.common.util.Utils
Decodes a hex string to address bytes and checks validity
ALGORITHM - Static variable in class com.arxanfintech.common.crypto.core.jce.ECAlgorithmParameters
 
ALGORITHM - Static variable in class com.arxanfintech.common.crypto.core.jce.ECKeyAgreement
 
ALGORITHM - Static variable in class com.arxanfintech.common.crypto.core.jce.ECKeyFactory
 
ALGORITHM - Static variable in class com.arxanfintech.common.crypto.core.jce.ECKeyPairGenerator
 
align(String, char, int, boolean) - Static method in class com.arxanfintech.common.util.Utils
 
and(byte[], byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
 
Api - Class in com.arxanfintech.common.rest
Rest api Rest api for java common
Api(String, String, String, String) - Constructor for class com.arxanfintech.common.rest.Api
create https client with root cert and client-key client-cert
Api() - Constructor for class com.arxanfintech.common.rest.Api
create http client
ApiKey - Variable in class com.arxanfintech.common.rest.Config
 
APIKeyHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
appendByte(byte[], byte) - Static method in class com.arxanfintech.common.util.ByteUtil
Creates a copy of bytes and appends b to the end of it
ArxanIESEngine - Class in com.arxanfintech.common.crypto.core
 
ArxanIESEngine(BasicAgreement, DerivationFunction, Mac, Digest, BufferedBlockCipher) - Constructor for class com.arxanfintech.common.crypto.core.ArxanIESEngine
set up for use with stream mode, where the key derivation function is used to provide a stream of bytes to xor with the message.
AuthChannelModeHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
AuthEmailHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
AuthModeHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
AuthSNModeHeader - Static variable in class com.arxanfintech.common.structs.Headers
 

B

bigEndianToShort(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
 
bigEndianToShort(byte[], int) - Static method in class com.arxanfintech.common.util.ByteUtil
 
bigIntegerToBytes(BigInteger, int) - Static method in class com.arxanfintech.common.util.ByteUtil
The regular BigInteger.toByteArray() method isn't quite what we often need: it appends a leading zero to indicate that the number is positive and may need padding.
bigIntegerToBytes(BigInteger) - Static method in class com.arxanfintech.common.util.ByteUtil
Omitting sign indication byte.
bigIntegerToBytesSigned(BigInteger, int) - Static method in class com.arxanfintech.common.util.ByteUtil
 
BIUtil - Class in com.arxanfintech.common.util
 
BIUtil() - Constructor for class com.arxanfintech.common.util.BIUtil
 
body - Variable in class com.arxanfintech.common.rest.Request
 
BouncyCastleCrypto - Class in com.arxanfintech.common.crypto
 
BouncyCastleCrypto() - Constructor for class com.arxanfintech.common.crypto.BouncyCastleCrypto
 
BuildBody(JSONObject, String, String, String, String, String) - Static method in class com.arxanfintech.common.rest.Common
 
byteArrayToInt(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
Cast hex encoded value from byte[] to int Limited to Integer.MAX_VALUE: 2^32-1 (4 bytes)
byteArrayToLong(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
Cast hex encoded value from byte[] to int Limited to Integer.MAX_VALUE: 2^32-1 (4 bytes)
bytesToBigInteger(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
 
bytesToInts(byte[], boolean) - Static method in class com.arxanfintech.common.util.ByteUtil
 
bytesToInts(byte[], int[], boolean) - Static method in class com.arxanfintech.common.util.ByteUtil
 
ByteUtil - Class in com.arxanfintech.common.util
 
ByteUtil() - Constructor for class com.arxanfintech.common.util.ByteUtil
 
ByteUtils - Class in com.arxanfintech.common.util
generic byte array utilities
ByteUtils() - Constructor for class com.arxanfintech.common.util.ByteUtils
 

C

calcElementPrefixSize(byte[]) - Static method in class com.arxanfintech.common.util.RLP
 
calcNewAddr(byte[], byte[]) - Static method in class com.arxanfintech.common.util.HashUtil
The way to calculate new address
calcPacketLength(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
Calculate packet length
CallbackUrlHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
CertTool - Class in com.arxanfintech.common.crypto
 
CertTool() - Constructor for class com.arxanfintech.common.crypto.CertTool
 
ChaincodeIdHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
ChannelIdHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
Client - Class in com.arxanfintech.common.rest
Config is used to configure the creation of a client
Client(String, String, String, String, String, String, String) - Constructor for class com.arxanfintech.common.rest.Client
new Client
Client(String, String, String, String, String, String) - Constructor for class com.arxanfintech.common.rest.Client
 
client - Variable in class com.arxanfintech.common.rest.Request
 
com.arxanfintech.common.crypto - package com.arxanfintech.common.crypto
 
com.arxanfintech.common.crypto.core - package com.arxanfintech.common.crypto.core
 
com.arxanfintech.common.crypto.core.cryptohash - package com.arxanfintech.common.crypto.core.cryptohash
 
com.arxanfintech.common.crypto.core.jce - package com.arxanfintech.common.crypto.core.jce
 
com.arxanfintech.common.rest - package com.arxanfintech.common.rest
 
com.arxanfintech.common.structs - package com.arxanfintech.common.structs
 
com.arxanfintech.common.util - package com.arxanfintech.common.util
 
Common - Class in com.arxanfintech.common.rest
 
Common() - Constructor for class com.arxanfintech.common.rest.Common
 
compress() - Method in class com.arxanfintech.common.crypto.core.ECKey
Deprecated.
per-point compression property will be removed in Bouncy Castle
compressPoint(ECPoint) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Deprecated.
per-point compression property will be removed in Bouncy Castle
computeAddress(byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Compute an address from an encoded public key.
computeAddress(ECPoint) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Compute an address from a public point.
ConcatKDFBytesGenerator - Class in com.arxanfintech.common.crypto.core
Basic KDF generator for derived keys and ivs as defined by NIST SP 800-56A.
ConcatKDFBytesGenerator(int, Digest) - Constructor for class com.arxanfintech.common.crypto.core.ConcatKDFBytesGenerator
Construct a KDF Parameters generator.
ConcatKDFBytesGenerator(Digest) - Constructor for class com.arxanfintech.common.crypto.core.ConcatKDFBytesGenerator
 
Config - Class in com.arxanfintech.common.rest
Config is used to configure the creation of a client
Config() - Constructor for class com.arxanfintech.common.rest.Config
 
Config - Class in com.arxanfintech.common.util
 
Config() - Constructor for class com.arxanfintech.common.util.Config
 
Constants - Class in com.arxanfintech.common.crypto.core
 
Constants() - Constructor for class com.arxanfintech.common.crypto.core.Constants
 
copy() - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Clone the current state.
copy() - Method in class com.arxanfintech.common.crypto.core.cryptohash.Keccak256
 
copy() - Method in class com.arxanfintech.common.crypto.core.cryptohash.Keccak512
 
copyState(DigestEngine) - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
This function copies the internal buffering state to some other instance of a class extending DigestEngine.
copyToArray(BigInteger) - Static method in class com.arxanfintech.common.util.ByteUtil
Utility function to copy a byte array into a new byte array with given size.
createFromSafeArray(byte[]) - Static method in class com.arxanfintech.common.crypto.Hash
Unsafe constructor of a Hash.
createNew(Cryptography) - Static method in class com.arxanfintech.common.crypto.PrivateKey
 
createNewPrivateKey() - Method in class com.arxanfintech.common.crypto.BouncyCastleCrypto
 
createNewPrivateKey() - Method in interface com.arxanfintech.common.crypto.Cryptography
 
Crypto - Class in com.arxanfintech.common.crypto
 
Crypto(InputStream, InputStream) - Constructor for class com.arxanfintech.common.crypto.Crypto
Initialize the Crypto Object with enrollment private key and TLS Certificate input stream
Crypto(byte[], byte[]) - Constructor for class com.arxanfintech.common.crypto.Crypto
Initialize the Crypto Object with enrollment private key and TLS Certificate byte array
crypto - Variable in class com.arxanfintech.common.rest.Request
 
Cryptography - Interface in com.arxanfintech.common.crypto
 
CryptoModeHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
CURVE - Static variable in class com.arxanfintech.common.crypto.core.ECKey
The parameters of the secp256k1 curve.
CURVE_NAME - Static variable in class com.arxanfintech.common.crypto.core.jce.ECAlgorithmParameters
 
CURVE_NAME - Static variable in class com.arxanfintech.common.crypto.core.jce.ECKeyPairGenerator
 
CURVE_SPEC - Static variable in class com.arxanfintech.common.crypto.core.ECKey
 

D

decodeBigInteger(byte[], int) - Static method in class com.arxanfintech.common.util.RLP
 
decodeFromDER(byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
 
decodeInt(byte[], int) - Static method in class com.arxanfintech.common.util.RLP
 
decodeIP4Bytes(byte[], int) - Static method in class com.arxanfintech.common.util.RLP
 
decompress() - Method in class com.arxanfintech.common.crypto.core.ECKey
Deprecated.
per-point compression property will be removed in Bouncy Castle
decompressPoint(ECPoint) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Deprecated.
per-point compression property will be removed in Bouncy Castle
decrypt(BigInteger, byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECIESCoder
 
decrypt(BigInteger, byte[], byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECIESCoder
 
decrypt(ECPoint, BigInteger, byte[], byte[], byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECIESCoder
 
decryptAES(byte[]) - Method in class com.arxanfintech.common.crypto.core.ECKey
Deprecated.
should not use EC private scalar value as an AES key
decryptAndVerify(byte[]) - Method in class com.arxanfintech.common.crypto.Crypto
decrypt and verify signature of data
decryptSimple(BigInteger, byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECIESCoder
Encryption equivalent to the Crypto++ default ECIES ECP settings: DL_KeyAgreementAlgorithm: DL_KeyAgreementAlgorithm_DH struct ECPPoint,struct EnumToType enum CofactorMultiplicationOption,0 DL_KeyDerivationAlgorithm: DL_KeyDerivationAlgorithm_P1363 struct ECPPoint,0,class P1363_KDF2 class SHA1 DL_SymmetricEncryptionAlgorithm: DL_EncryptionAlgorithm_Xor class HMAC class SHA1 ,0 DL_PrivateKey: DL_Key ECPPoint DL_PrivateKey_EC class ECP Used for Whisper V3
difference(Set<byte[]>, Set<byte[]>) - Static method in class com.arxanfintech.common.util.ByteUtil
 
Digest - Interface in com.arxanfintech.common.crypto.core.cryptohash
 
digest() - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Finalize the current hash computation and return the hash value in a newly-allocated array.
digest(byte[]) - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Input some bytes, then finalize the current hash computation and return the hash value in a newly-allocated array.
digest(byte[], int, int) - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Finalize the current hash computation and store the hash value in the provided output buffer.
digest() - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
 
digest(byte[]) - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
 
digest(byte[], int, int) - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
 
DigestEngine - Class in com.arxanfintech.common.crypto.core.cryptohash
 
DigestEngine() - Constructor for class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
Instantiate the engine.
DoGet(Request) - Method in class com.arxanfintech.common.rest.Api
 
doInit() - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
This function is called at object creation time; the implementation should use it to perform initialization tasks.
doPadding(byte[], int) - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
Perform the final padding and store the result in the provided buffer.
DoPost(Request) - Method in class com.arxanfintech.common.rest.Api
httpclient post
DoPut(Request) - Method in class com.arxanfintech.common.rest.Api
httpclient put
doSign(byte[]) - Method in class com.arxanfintech.common.crypto.core.ECKey
Signs the given hash and returns the R and S components as BigIntegers and put them in ECDSASignature
doubleDigest(byte[]) - Static method in class com.arxanfintech.common.util.HashUtil
 
doubleDigest(byte[], int, int) - Static method in class com.arxanfintech.common.util.HashUtil
Calculates the SHA-256 hash of the given byte range, and then hashes the resulting hash again.
DoUploadFile(Request, String, String, Boolean) - Method in class com.arxanfintech.common.rest.Api
httpclient post file

E

ECAlgorithmParameters - Class in com.arxanfintech.common.crypto.core.jce
 
ECDSASignature(BigInteger, BigInteger) - Constructor for class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
Constructs a signature with the given components.
ECIESCoder - Class in com.arxanfintech.common.crypto.core
 
ECIESCoder() - Constructor for class com.arxanfintech.common.crypto.core.ECIESCoder
 
ECIESPublicKeyEncoder - Class in com.arxanfintech.common.crypto.core
 
ECIESPublicKeyEncoder() - Constructor for class com.arxanfintech.common.crypto.core.ECIESPublicKeyEncoder
 
ECKey - Class in com.arxanfintech.common.crypto.core
 
ECKey() - Constructor for class com.arxanfintech.common.crypto.core.ECKey
Generates an entirely new keypair.
ECKey(Provider, SecureRandom) - Constructor for class com.arxanfintech.common.crypto.core.ECKey
Generate a new keypair using the given Java Security Provider.
ECKey(SecureRandom) - Constructor for class com.arxanfintech.common.crypto.core.ECKey
Generates an entirely new keypair with the given SecureRandom object.
ECKey(Provider, PrivateKey, ECPoint) - Constructor for class com.arxanfintech.common.crypto.core.ECKey
Pair a private key with a public EC point.
ECKey(BigInteger, ECPoint) - Constructor for class com.arxanfintech.common.crypto.core.ECKey
Pair a private key integer with a public EC point BouncyCastle will be used as the Java Security Provider
ECKey.ECDSASignature - Class in com.arxanfintech.common.crypto.core
 
ECKey.MissingPrivateKeyException - Exception in com.arxanfintech.common.crypto.core
 
ECKeyAgreement - Class in com.arxanfintech.common.crypto.core.jce
 
ECKeyFactory - Class in com.arxanfintech.common.crypto.core.jce
 
ECKeyPairGenerator - Class in com.arxanfintech.common.crypto.core.jce
 
ECSignatureFactory - Class in com.arxanfintech.common.crypto.core.jce
 
ED25519 - Class in com.arxanfintech.common.crypto
 
ED25519() - Constructor for class com.arxanfintech.common.crypto.ED25519
 
EMPTY_BYTE_ARRAY - Static variable in class com.arxanfintech.common.util.ByteUtil
 
EMPTY_DATA_HASH - Static variable in class com.arxanfintech.common.util.HashUtil
 
EMPTY_LIST_HASH - Static variable in class com.arxanfintech.common.util.HashUtil
 
EMPTY_TRIE_HASH - Static variable in class com.arxanfintech.common.util.HashUtil
 
encodeBigInteger(BigInteger) - Static method in class com.arxanfintech.common.util.RLP
 
encodeByte(byte) - Static method in class com.arxanfintech.common.util.RLP
 
encodeDataList(Object...) - Static method in class com.arxanfintech.common.util.ByteUtil
encode the values and concatenate together
encodeElement(byte[]) - Static method in class com.arxanfintech.common.util.RLP
 
encodeInt(int) - Static method in class com.arxanfintech.common.util.RLP
 
encodeLength(int, int) - Static method in class com.arxanfintech.common.util.RLP
Integer limitation goes up to 2^31-1 so length can never be bigger than MAX_ITEM_LENGTH
encodeList(byte[]...) - Static method in class com.arxanfintech.common.util.RLP
 
encodeListHeader(int) - Static method in class com.arxanfintech.common.util.RLP
 
encodeLongElementHeader(int) - Static method in class com.arxanfintech.common.util.RLP
 
encodeShort(short) - Static method in class com.arxanfintech.common.util.RLP
 
encodeString(String) - Static method in class com.arxanfintech.common.util.RLP
 
encodeValFor32Bits(Object) - Static method in class com.arxanfintech.common.util.ByteUtil
 
encrypt(ECPoint, byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECIESCoder
 
encrypt(ECPoint, byte[], byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECIESCoder
 
encryptSimple(ECPoint, byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECIESCoder
Encryption equivalent to the Crypto++ default ECIES ECP settings: DL_KeyAgreementAlgorithm: DL_KeyAgreementAlgorithm_DH struct ECPPoint,struct EnumToType enum CofactorMultiplicationOption,0 DL_KeyDerivationAlgorithm: DL_KeyDerivationAlgorithm_P1363 struct ECPPoint,0,class P1363_KDF2 class SHA1 DL_SymmetricEncryptionAlgorithm: DL_EncryptionAlgorithm_Xor class HMAC class SHA1,0 DL_PrivateKey: DL_Key ECPPoint DL_PrivateKey_EC class ECP Used for Whisper V3
encryptWithBase64(byte[]) - Method in class com.arxanfintech.common.crypto.Crypto
Encrypt data with TLS certificate and convert cipher to base64
engineReset() - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
Reset the hash algorithm state.
EnrollmentIdHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
equals(Object) - Method in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
 
equals(Object) - Method in class com.arxanfintech.common.crypto.core.ECKey
 
equals(Object) - Method in class com.arxanfintech.common.crypto.Hash
 
equals(Object) - Method in class com.arxanfintech.common.crypto.PrivateKey
 
equals(Object) - Method in class com.arxanfintech.common.crypto.PublicKey
 
Err - Variable in class com.arxanfintech.common.rest.Response
 
ErrMessage - Variable in class com.arxanfintech.common.rest.Response
 
ErrorCode - Enum in com.arxanfintech.common.util
ErrorCode ENUM
exitLong(BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
extractPublicKey(ECPublicKey) - Static method in class com.arxanfintech.common.crypto.core.ECKey
 

F

FabioRouteTagHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
FileAuthTokenHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
firstNonZeroByte(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
 
flush() - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
Flush internal buffers, so that less than a block of data may at most be upheld.
fromComponents(byte[], byte[], byte) - Static method in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
 
fromCompressed(byte[], Cryptography) - Static method in class com.arxanfintech.common.crypto.PublicKey
 
fromHex(String) - Static method in class com.arxanfintech.common.util.ByteUtils
recreate a byte array from hexadecimal
fromNodeId(byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Recover the public key from an encoded node id.
fromPrivate(BigInteger) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Creates an ECKey given the private key only.
fromPrivate(byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Creates an ECKey given the private key only.
fromPrivateAndPrecalculatedPublic(BigInteger, ECPoint) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Creates an ECKey that simply trusts the caller to ensure that point is really the result of multiplying the generator point by the private key.
fromPrivateAndPrecalculatedPublic(byte[], byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Creates an ECKey that simply trusts the caller to ensure that point is really the result of multiplying the generator point by the private key.
fromPublicOnly(ECPoint) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Creates an ECKey that cannot be used for signing, only verifying signatures, from the given point.
fromPublicOnly(byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Creates an ECKey that cannot be used for signing, only verifying signatures, from the given encoded point.
fromUnixTime(long) - Static method in class com.arxanfintech.common.util.Utils
 
fullTraverse(byte[], int, int, int, int, Queue<Integer>) - Static method in class com.arxanfintech.common.util.RLP
Get exactly one message payload

G

generateBytes(byte[], int, int) - Method in class com.arxanfintech.common.crypto.core.ConcatKDFBytesGenerator
fill len bytes of the output buffer with bytes generated from the derivation function.
generateBytes(byte[], int, int) - Method in class com.arxanfintech.common.crypto.core.MGF1BytesGeneratorExt
 
generateKeyPair() - Static method in class com.arxanfintech.common.crypto.core.jce.ECKeyPairGenerator
 
getAccess() - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
getAddress() - Method in class com.arxanfintech.common.crypto.core.ECKey
Gets the address form of the public key.
GetAddress() - Method in class com.arxanfintech.common.rest.Client
 
getAddressShortString(byte[]) - Static method in class com.arxanfintech.common.util.Utils
 
GetApiKey() - Method in class com.arxanfintech.common.rest.Client
 
getASN1Encoding() - Static method in class com.arxanfintech.common.crypto.core.jce.ECAlgorithmParameters
 
getBit(byte[], int) - Static method in class com.arxanfintech.common.util.ByteUtil
 
getBlockBuffer() - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
Get a reference to an internal buffer with the same size than a block.
getBlockCount() - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
Get the "block count": this is the number of times the DigestEngine.processBlock(byte[]) method has been invoked for the current hash operation.
getBlockLength() - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Return the "block length" for the hash function.
getCallback_url() - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
getCertfromPEM(String) - Static method in class com.arxanfintech.common.crypto.CertTool
Reads a certificate in PEM-format from a file.
getCertfromPEM(byte[]) - Static method in class com.arxanfintech.common.crypto.CertTool
Reads a certificate in PEM-format from a byte array.
getCertfromPEM(InputStream) - Static method in class com.arxanfintech.common.crypto.CertTool
Reads a certificate in PEM-format from an InputStream.
GetCertPath() - Method in class com.arxanfintech.common.rest.Client
 
getCertPath() - Static method in class com.arxanfintech.common.util.Config
 
getCipher() - Method in class com.arxanfintech.common.crypto.core.ArxanIESEngine
 
getCode() - Method in enum com.arxanfintech.common.util.ErrorCode
 
getCommandCode(byte[]) - Static method in class com.arxanfintech.common.util.RLP
 
GetCreated() - Method in class com.arxanfintech.common.rest.Client
 
GetCreator() - Method in class com.arxanfintech.common.rest.Client
 
getDigest() - Method in class com.arxanfintech.common.crypto.core.ConcatKDFBytesGenerator
return the underlying digest.
getDigest() - Method in class com.arxanfintech.common.crypto.core.MGF1BytesGeneratorExt
 
getDigestLength() - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Get the natural hash function output length (in bytes).
getDigestLength() - Method in class com.arxanfintech.common.crypto.core.cryptohash.Keccak256
 
getDigestLength() - Method in class com.arxanfintech.common.crypto.core.cryptohash.Keccak512
 
GetEnableCrypto() - Method in class com.arxanfintech.common.rest.Client
 
getEncoded(AsymmetricKeyParameter) - Method in class com.arxanfintech.common.crypto.core.ECIESPublicKeyEncoder
 
getEnrollment_id() - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
getEntParams() - Method in class com.arxanfintech.common.rest.Client
 
getEPrivKeyBytes() - Method in class com.arxanfintech.common.crypto.Crypto
 
getFirstListElement(byte[], int) - Static method in class com.arxanfintech.common.util.RLP
 
getHashListShort(List<byte[]>) - Static method in class com.arxanfintech.common.util.Utils
 
getId() - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
getImageIcon(String) - Static method in class com.arxanfintech.common.util.Utils
 
getIndex() - Method in enum com.arxanfintech.common.structs.WalletType
 
getInstance() - Static method in class com.arxanfintech.common.crypto.core.jce.ECKeyAgreement
 
getInstance(String) - Static method in class com.arxanfintech.common.crypto.core.jce.ECKeyAgreement
 
getInstance(Provider) - Static method in class com.arxanfintech.common.crypto.core.jce.ECKeyAgreement
 
getInstance() - Static method in class com.arxanfintech.common.crypto.core.jce.ECKeyFactory
 
getInstance(String) - Static method in class com.arxanfintech.common.crypto.core.jce.ECKeyFactory
 
getInstance(Provider) - Static method in class com.arxanfintech.common.crypto.core.jce.ECKeyFactory
 
getInstance(String, SecureRandom) - Static method in class com.arxanfintech.common.crypto.core.jce.ECKeyPairGenerator
 
getInstance(Provider, SecureRandom) - Static method in class com.arxanfintech.common.crypto.core.jce.ECKeyPairGenerator
 
getInstance() - Static method in class com.arxanfintech.common.crypto.core.jce.SpongyCastleProvider
 
getInternalBlockLength() - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
Get the internal block length.
getKeyPath() - Static method in class com.arxanfintech.common.util.Config
 
getLogFlag() - Static method in class com.arxanfintech.common.util.Config
 
getMac() - Method in class com.arxanfintech.common.crypto.core.ArxanIESEngine
 
getMessage() - Method in enum com.arxanfintech.common.util.ErrorCode
 
getNextElementIndex(byte[], int) - Static method in class com.arxanfintech.common.util.RLP
 
getNodeId() - Method in class com.arxanfintech.common.crypto.core.ECKey
Generates the NodeID based on this key, that is the public key without first format byte
getNodeIdShort(String) - Static method in class com.arxanfintech.common.util.Utils
 
GetNonce() - Method in class com.arxanfintech.common.rest.Client
 
getOverhead() - Static method in class com.arxanfintech.common.crypto.core.ECIESCoder
 
getParameterSpec() - Static method in class com.arxanfintech.common.crypto.core.jce.ECAlgorithmParameters
 
GetPrivateB64() - Method in class com.arxanfintech.common.rest.Client
 
getPrivateKeyAtOffset(byte[], byte[]) - Method in class com.arxanfintech.common.crypto.BouncyCastleCrypto
 
getPrivateKeyAtOffset(byte[], byte[]) - Method in interface com.arxanfintech.common.crypto.Cryptography
 
getPrivKey() - Method in class com.arxanfintech.common.crypto.core.ECKey
Gets the private key in the form of an integer field element.
getPrivKeyBytes() - Method in class com.arxanfintech.common.crypto.core.ECKey
Returns a 32 byte array containing the private key, or null if the key is encrypted or public only
getPubKey() - Method in class com.arxanfintech.common.crypto.core.ECKey
Gets the encoded public key value.
getPubKeyPoint() - Method in class com.arxanfintech.common.crypto.core.ECKey
Gets the public key in the form of an elliptic curve point object from Bouncy Castle.
getPublic() - Method in class com.arxanfintech.common.crypto.PrivateKey
 
getPublic_key() - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
getPublicFor(byte[]) - Method in class com.arxanfintech.common.crypto.BouncyCastleCrypto
 
getPublicFor(byte[]) - Method in interface com.arxanfintech.common.crypto.Cryptography
 
getPublicKeyAtOffset(byte[], byte[]) - Method in class com.arxanfintech.common.crypto.BouncyCastleCrypto
 
getPublicKeyAtOffset(byte[], byte[]) - Method in interface com.arxanfintech.common.crypto.Cryptography
 
getRandom() - Static method in class com.arxanfintech.common.util.Utils
 
getRawInstance() - Static method in class com.arxanfintech.common.crypto.core.jce.ECSignatureFactory
 
getRawInstance(String) - Static method in class com.arxanfintech.common.crypto.core.jce.ECSignatureFactory
 
getRawInstance(Provider) - Static method in class com.arxanfintech.common.crypto.core.jce.ECSignatureFactory
 
GetRouteTag() - Method in class com.arxanfintech.common.rest.Client
 
getSECP256K1N() - Static method in class com.arxanfintech.common.crypto.core.Constants
Introduced in the Homestead release
getSecret() - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
getTlsCert() - Method in class com.arxanfintech.common.crypto.Crypto
 
getTlsCertBytes() - Method in class com.arxanfintech.common.crypto.Crypto
 
getType() - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
getValueShortString(BigInteger) - Static method in class com.arxanfintech.common.util.Utils
 

H

HALF_CURVE_ORDER - Static variable in class com.arxanfintech.common.crypto.core.ECKey
Equal to CURVE.getN().shiftRight(1), used for canonicalising the S value of a signature.
Hash - Class in com.arxanfintech.common.crypto
A Hash identifies objects, that is blocks and transactions, in the ledger.
Hash(byte[]) - Constructor for class com.arxanfintech.common.crypto.Hash
create a Hash from a digest
Hash(String) - Constructor for class com.arxanfintech.common.crypto.Hash
create a Hash from a hexadecimal representation of the digest Note that this is in the reverse byte order of the internal binary representation.
Hash(byte[], boolean) - Constructor for class com.arxanfintech.common.crypto.Hash
An unsafe constructor of a Hash from a byte array.
hash(byte[], int, int) - Static method in class com.arxanfintech.common.crypto.Hash
SHA256 hash of arbitrary data
hash(byte[]) - Static method in class com.arxanfintech.common.crypto.Hash
SHA256 hash of arbitrary data
hashCode() - Method in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
 
hashCode() - Method in class com.arxanfintech.common.crypto.core.ECKey
 
hashCode() - Method in class com.arxanfintech.common.crypto.Hash
 
hashCode() - Method in class com.arxanfintech.common.crypto.PrivateKey
 
hashCode() - Method in class com.arxanfintech.common.crypto.PublicKey
 
HashUtil - Class in com.arxanfintech.common.util
 
HashUtil() - Constructor for class com.arxanfintech.common.util.HashUtil
 
hasPrivKey() - Method in class com.arxanfintech.common.crypto.core.ECKey
Returns true if this key has access to private key bytes.
header - Variable in class com.arxanfintech.common.rest.Request
 
Headers - Class in com.arxanfintech.common.structs
 
Headers() - Constructor for class com.arxanfintech.common.structs.Headers
 
hexStringToBytes(String) - Static method in class com.arxanfintech.common.util.ByteUtil
Converts string hex representation to data bytes
httpclient - Variable in class com.arxanfintech.common.rest.Api
 

I

increment(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
increment byte array as a number until max is reached
init(boolean, CipherParameters, CipherParameters, CipherParameters) - Method in class com.arxanfintech.common.crypto.core.ArxanIESEngine
Initialise the encryptor.
init(AsymmetricKeyParameter, CipherParameters, EphemeralKeyPairGenerator) - Method in class com.arxanfintech.common.crypto.core.ArxanIESEngine
Initialise the encryptor.
init(AsymmetricKeyParameter, CipherParameters, KeyParser) - Method in class com.arxanfintech.common.crypto.core.ArxanIESEngine
Initialise the encryptor.
init(DerivationParameters) - Method in class com.arxanfintech.common.crypto.core.ConcatKDFBytesGenerator
 
init(DerivationParameters) - Method in class com.arxanfintech.common.crypto.core.MGF1BytesGeneratorExt
 
intsToBytes(int[], boolean) - Static method in class com.arxanfintech.common.util.ByteUtil
 
intsToBytes(int[], byte[], boolean) - Static method in class com.arxanfintech.common.util.ByteUtil
 
intToBytes(int) - Static method in class com.arxanfintech.common.util.ByteUtil
Converts int value into a byte array.
intToBytesNoLeadZeroes(int) - Static method in class com.arxanfintech.common.util.ByteUtil
Converts a int value into a byte array.
INVALID - Static variable in class com.arxanfintech.common.crypto.Hash
 
InvokeModeHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
isCompressed() - Method in class com.arxanfintech.common.crypto.core.ECKey
Returns whether this key is using the compressed form or not.
isCovers(BigInteger, BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
isEqual(BigInteger, BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
isIn20PercentRange(BigInteger, BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
isLessThan(BigInteger, BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
isMoreThan(BigInteger, BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
isNotCovers(BigInteger, BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
isNotEqual(BigInteger, BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
isNullOrZeroArray(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
 
isPositive(BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
isPubKeyCanonical() - Method in class com.arxanfintech.common.crypto.core.ECKey
Returns true if this pubkey is canonical, i.e.
isPubKeyCanonical(byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Returns true if the given pubkey is canonical, i.e.
isPubKeyOnly() - Method in class com.arxanfintech.common.crypto.core.ECKey
Returns true if this key doesn't have access to private key bytes.
isSingleZero(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
 
isValidAddress(byte[]) - Static method in class com.arxanfintech.common.util.Utils
 
isZero(BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 

J

JAVA_VERSION - Static variable in class com.arxanfintech.common.util.Utils
 
JsonToMap(JSONObject) - Static method in class com.arxanfintech.common.util.Utils
 
JsonUtil - Class in com.arxanfintech.common.util
 
JsonUtil() - Constructor for class com.arxanfintech.common.util.JsonUtil
 

K

Keccak256 - Class in com.arxanfintech.common.crypto.core.cryptohash
 
Keccak256() - Constructor for class com.arxanfintech.common.crypto.core.cryptohash.Keccak256
Create the engine.
Keccak512 - Class in com.arxanfintech.common.crypto.core.cryptohash
 
Keccak512() - Constructor for class com.arxanfintech.common.crypto.core.cryptohash.Keccak512
Create the engine.
Key - Interface in com.arxanfintech.common.crypto
An ECC public or private key
KEY_SIZE - Static variable in class com.arxanfintech.common.crypto.core.ECIESCoder
 
keyAgreement(ECPoint) - Method in class com.arxanfintech.common.crypto.core.ECKey
 
KeyType - Variable in class com.arxanfintech.common.structs.PrivateKey
 
KeyType - Variable in class com.arxanfintech.common.structs.PublicKey
 

L

length(byte[]...) - Static method in class com.arxanfintech.common.util.ByteUtil
 
loadECPublicKey(InputStream) - Method in class com.arxanfintech.common.crypto.BouncyCastleCrypto
 
loadECPublicKey(InputStream) - Method in interface com.arxanfintech.common.crypto.Cryptography
 
longToBytes(long) - Static method in class com.arxanfintech.common.util.ByteUtil
Converts a long value into a byte array.
longToBytesNoLeadZeroes(long) - Static method in class com.arxanfintech.common.util.ByteUtil
Converts a long value into a byte array.
longToDateTime(long) - Static method in class com.arxanfintech.common.util.Utils
Return formatted Date String: yyyy.MM.dd HH:mm:ss Based on Unix's time() input in seconds

M

main(String[]) - Static method in class com.arxanfintech.common.crypto.CertTool
 
matchingNibbleLength(byte[], byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
Returns the amount of nibbles that match each other from 0 ...
max(BigInteger, BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 
merge(Hash, Hash) - Static method in class com.arxanfintech.common.crypto.Hash
Merge two Hashes into one for Merkle Tree calculation
merge(byte[]...) - Static method in class com.arxanfintech.common.util.ByteUtil
 
mergeArrays(T[]...) - Static method in class com.arxanfintech.common.util.Utils
 
Method - Variable in class com.arxanfintech.common.rest.Response
 
MGF1BytesGeneratorExt - Class in com.arxanfintech.common.crypto.core
 
MGF1BytesGeneratorExt(Digest, int) - Constructor for class com.arxanfintech.common.crypto.core.MGF1BytesGeneratorExt
 
MissingPrivateKeyException() - Constructor for exception com.arxanfintech.common.crypto.core.ECKey.MissingPrivateKeyException
 

N

nibblesToPrettyString(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
Turn nibbles to a pretty looking output string Example.
numBytes(String) - Static method in class com.arxanfintech.common.util.ByteUtil
Calculate the number of bytes need to encode the number

O

of(byte[]) - Static method in class com.arxanfintech.common.crypto.Hash
Create a Hash with double SHA256 hash of arbitrary data
offsetKey(BigInteger) - Method in interface com.arxanfintech.common.crypto.Key
Return a key computable for this key with an offset.
offsetKey(BigInteger) - Method in class com.arxanfintech.common.crypto.PrivateKey
 
offsetKey(BigInteger) - Method in class com.arxanfintech.common.crypto.PublicKey
 
oneByteToHexString(byte) - Static method in class com.arxanfintech.common.util.ByteUtil
 
or(byte[], byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
 

P

parseJsonToClass(String, Class<T>) - Static method in class com.arxanfintech.common.util.JsonUtil
 
Payload - Variable in class com.arxanfintech.common.rest.Response
 
PrivateKey - Class in com.arxanfintech.common.crypto
An EC Private Key, technically a big positive integer capable of signing such that the signature can be verified with the corresponding EC Public Key
PrivateKey - Class in com.arxanfintech.common.structs
PrivateKey store private key and its information
PrivateKey() - Constructor for class com.arxanfintech.common.structs.PrivateKey
 
PrivateKeyData - Variable in class com.arxanfintech.common.structs.PrivateKey
 
processBlock(byte[], int, int) - Method in class com.arxanfintech.common.crypto.core.ArxanIESEngine
 
processBlock(byte[], int, int, byte[]) - Method in class com.arxanfintech.common.crypto.core.ArxanIESEngine
 
processBlock(byte[]) - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
Process one block of data.
pub - Variable in class com.arxanfintech.common.crypto.core.ECKey
 
pubBytesWithoutFormat(ECPoint) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Compute the encoded X, Y coordinates of a public point.
PublicKey - Class in com.arxanfintech.common.crypto
An EC public Key suitable for verifying a signature created with the corresponding EC PrivateKey
PublicKey(byte[], Cryptography) - Constructor for class com.arxanfintech.common.crypto.PublicKey
Create from uncompressed binary representation
PublicKey - Class in com.arxanfintech.common.structs
PublicKey store public key and its information
PublicKey() - Constructor for class com.arxanfintech.common.structs.PublicKey
 
PublicKeyData - Variable in class com.arxanfintech.common.structs.PublicKey
 
publicKeyFromPrivate(BigInteger, boolean) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Returns public key bytes from the given private key.

R

r - Variable in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
The two components of the signature.
randomHash() - Static method in class com.arxanfintech.common.util.HashUtil
 
randomPeerId() - Static method in class com.arxanfintech.common.util.HashUtil
 
RAW_ALGORITHM - Static variable in class com.arxanfintech.common.crypto.core.jce.ECSignatureFactory
 
recoverAddressFromSignature(int, ECKey.ECDSASignature, byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
 
recoverFromSignature(int, ECKey.ECDSASignature, byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
 
recoverPubBytesFromSignature(int, ECKey.ECDSASignature, byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Given the components of a signature and a selector value, recover and return the public key that generated the signature according to the algorithm in SEC1v2 section 4.1.6.
RegisterWalletBody - Class in com.arxanfintech.common.structs
Register wallet request structure
RegisterWalletBody() - Constructor for class com.arxanfintech.common.structs.RegisterWalletBody
 
repeat(String, int) - Static method in class com.arxanfintech.common.util.Utils
 
Request - Class in com.arxanfintech.common.rest
Request is used to help build up a request
Request() - Constructor for class com.arxanfintech.common.rest.Request
 
reset() - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Reset the object: this makes it suitable for a new hash computation.
reset() - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
 
Response - Class in com.arxanfintech.common.rest
Response http/rpc response
Response() - Constructor for class com.arxanfintech.common.rest.Response
 
reverse(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtils
reverse a byte array in place WARNING the parameter array is altered and returned.
ripemd160(byte[]) - Static method in class com.arxanfintech.common.util.HashUtil
 
RLP - Class in com.arxanfintech.common.util
 
RLP() - Constructor for class com.arxanfintech.common.util.RLP
 
RouteTagHeader - Static variable in class com.arxanfintech.common.structs.Headers
 

S

s - Variable in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
The two components of the signature.
setAccess(String) - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
setBit(byte[], int, int) - Static method in class com.arxanfintech.common.util.ByteUtil
 
setCallback_url(String) - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
setEnrollment_id(String) - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
setHashMacKey(boolean) - Method in class com.arxanfintech.common.crypto.core.ArxanIESEngine
 
setId(String) - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
setProperties(Properties) - Static method in class com.arxanfintech.common.util.Config
 
setPublic_key(PublicKey) - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
SetRouteTag(String) - Method in class com.arxanfintech.common.rest.Client
 
setSecret(String) - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
setType(String) - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
sha256(byte[]) - Static method in class com.arxanfintech.common.util.HashUtil
 
sha3(byte[]) - Static method in class com.arxanfintech.common.util.HashUtil
 
sha3(byte[], byte[]) - Static method in class com.arxanfintech.common.util.HashUtil
 
sha3(byte[], int, int) - Static method in class com.arxanfintech.common.util.HashUtil
hashing chunk of the data
sha3omit12(byte[]) - Static method in class com.arxanfintech.common.util.HashUtil
Calculates RIGTMOST160(SHA3(input)).
sha512(byte[]) - Static method in class com.arxanfintech.common.util.HashUtil
 
shortHash(byte[]) - Static method in class com.arxanfintech.common.util.HashUtil
 
shortToBytes(short) - Static method in class com.arxanfintech.common.util.ByteUtil
 
sign(byte[], byte[]) - Method in class com.arxanfintech.common.crypto.BouncyCastleCrypto
 
sign(byte[]) - Method in class com.arxanfintech.common.crypto.core.ECKey
Takes the keccak hash (32 bytes) of data and returns the ECDSA signature
sign(byte[], byte[]) - Method in interface com.arxanfintech.common.crypto.Cryptography
 
Sign(String, String, String, String, Boolean, String) - Static method in class com.arxanfintech.common.crypto.ED25519
use nonce,privatekey,did,payload finish ed25519 sign for payload
Sign(String, String, String, String, String) - Static method in class com.arxanfintech.common.crypto.ED25519
 
sign(byte[]) - Method in class com.arxanfintech.common.crypto.PrivateKey
Sign a digest with this key.
signAndEncrypt(byte[]) - Method in class com.arxanfintech.common.crypto.Crypto
Sign and encrypt data then convert cipher to base64
signatureToAddress(byte[], String) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Compute the address of the key that signed the given signature.
signatureToAddress(byte[], ECKey.ECDSASignature) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Compute the address of the key that signed the given signature.
signatureToKey(byte[], String) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Compute the key that signed the given signature.
signatureToKey(byte[], ECKey.ECDSASignature) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Compute the key that signed the given signature.
signatureToKeyBytes(byte[], String) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Given a piece of text and a message signature encoded in base64, returns an ECKey containing the public key that was used to sign it.
signatureToKeyBytes(byte[], ECKey.ECDSASignature) - Static method in class com.arxanfintech.common.crypto.core.ECKey
 
signDataWithBase64(byte[]) - Method in class com.arxanfintech.common.crypto.Crypto
Generate the signature with the enrollment private key
SignString(String, String, String, String, String, String) - Static method in class com.arxanfintech.common.rest.Common
 
SpongyCastleProvider - Class in com.arxanfintech.common.crypto.core.jce
 
SpongyCastleProvider() - Constructor for class com.arxanfintech.common.crypto.core.jce.SpongyCastleProvider
 
stripLeadingZeroes(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
 
sum(BigInteger, BigInteger) - Static method in class com.arxanfintech.common.util.BIUtil
 

T

toBase58(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtils
convert a byte array to a human readable base58 string.
toBase58WithChecksum(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtils
Encode in base58 with an added checksum of four bytes.
toBase64() - Method in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
 
toBI(byte[]) - Static method in class com.arxanfintech.common.util.BIUtil
 
toBI(long) - Static method in class com.arxanfintech.common.util.BIUtil
 
toBigInteger() - Method in class com.arxanfintech.common.crypto.Hash
Convert a Hash into a big positive integer.
toByteArray() - Method in class com.arxanfintech.common.crypto.Hash
Safe access to the digest stored in a Hash
toByteArray() - Method in interface com.arxanfintech.common.crypto.Key
Safe access to the key's internal representation
toByteArray() - Method in class com.arxanfintech.common.crypto.PrivateKey
 
toByteArray() - Method in class com.arxanfintech.common.crypto.PublicKey
 
toCanonicalised() - Method in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
 
toHex(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtils
convert a byte array to hexadecimal
toHexString(byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
Convert a byte-array into a hex String.
Works similar to Hex.toHexString(byte[]) but allows for null
ToListNameValuePair() - Method in class com.arxanfintech.common.structs.RegisterWalletBody
 
toString() - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Get the display name for this function (e.g.
toString() - Method in class com.arxanfintech.common.crypto.core.ECKey
 
toString() - Method in class com.arxanfintech.common.crypto.Hash
 
toString() - Method in class com.arxanfintech.common.crypto.PrivateKey
 
toString() - Method in class com.arxanfintech.common.crypto.PublicKey
 
toString() - Method in enum com.arxanfintech.common.util.ErrorCode
 
toStringWithPrivate() - Method in class com.arxanfintech.common.crypto.core.ECKey
Produce a string rendering of the ECKey INCLUDING the private key.
toUnixTime(long) - Static method in class com.arxanfintech.common.util.Utils
 
toUuidString() - Method in class com.arxanfintech.common.crypto.Hash
UUID created from the first 128 bits of SHA256

U

uncompressPoint(byte[]) - Method in class com.arxanfintech.common.crypto.BouncyCastleCrypto
 
uncompressPoint(byte[]) - Method in interface com.arxanfintech.common.crypto.Cryptography
 
unifiedNumericToBigInteger(String) - Static method in class com.arxanfintech.common.util.Utils
 
unsafeGetArray() - Method in class com.arxanfintech.common.crypto.Hash
Unsafe get of the internal byte array.
update(byte) - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Insert one more input data byte.
update(byte[]) - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Insert some more bytes.
update(byte[], int, int) - Method in interface com.arxanfintech.common.crypto.core.cryptohash.Digest
Insert some more bytes.
update(byte) - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
 
update(byte[]) - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
 
update(byte[], int, int) - Method in class com.arxanfintech.common.crypto.core.cryptohash.DigestEngine
 
url - Variable in class com.arxanfintech.common.rest.Request
 
Usage - Variable in class com.arxanfintech.common.structs.PrivateKey
 
Usage - Variable in class com.arxanfintech.common.structs.PublicKey
 
UserIdHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
UserRoleHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
Utils - Class in com.arxanfintech.common.util
 
Utils() - Constructor for class com.arxanfintech.common.util.Utils
 

V

v - Variable in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
 
validateComponents() - Method in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
 
validateComponents(BigInteger, BigInteger, byte) - Static method in class com.arxanfintech.common.crypto.core.ECKey.ECDSASignature
 
valueOf(String) - Static method in enum com.arxanfintech.common.structs.WalletType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.arxanfintech.common.util.ErrorCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.arxanfintech.common.structs.WalletType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.arxanfintech.common.util.ErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[], byte[], byte[]) - Method in class com.arxanfintech.common.crypto.BouncyCastleCrypto
 
verify(byte[], ECKey.ECDSASignature, byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Verifies the given ECDSA signature against the message bytes using the public key bytes.
verify(byte[], byte[], byte[]) - Static method in class com.arxanfintech.common.crypto.core.ECKey
Verifies the given ASN.1 encoded ECDSA signature against a hash using the public key.
verify(byte[], byte[]) - Method in class com.arxanfintech.common.crypto.core.ECKey
Verifies the given ASN.1 encoded ECDSA signature against a hash using the public key.
verify(byte[], ECKey.ECDSASignature) - Method in class com.arxanfintech.common.crypto.core.ECKey
Verifies the given R/S pair (signature) against a hash using the public key.
verify(byte[], byte[], byte[]) - Method in interface com.arxanfintech.common.crypto.Cryptography
 
Verify(String, String, String, String, String, String) - Static method in class com.arxanfintech.common.crypto.ED25519
 
verify(byte[], byte[]) - Method in class com.arxanfintech.common.crypto.PublicKey
verify a signature created with the private counterpart of this key

W

WalletType - Enum in com.arxanfintech.common.structs
 

X

XAuthTokenHeader - Static variable in class com.arxanfintech.common.structs.Headers
 
xor(byte[], byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
 
xorAlignRight(byte[], byte[]) - Static method in class com.arxanfintech.common.util.ByteUtil
XORs byte arrays of different lengths by aligning length of the shortest via adding zeros at beginning
XSubjectTokenHeader - Static variable in class com.arxanfintech.common.structs.Headers
 

Z

ZERO_BYTE_ARRAY - Static variable in class com.arxanfintech.common.util.ByteUtil
 
A B C D E F G H I J K L M N O P R S T U V W X Z 
Skip navigation links

Copyright © 2018. All rights reserved.