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

A

ADDRESS_LENGTH_IN_HEX - Static variable in class org.web3j.crypto.Keys
 
ADDRESS_SIZE - Static variable in class org.web3j.crypto.Keys
 
asRlpValues(RawTransaction, Sign.SignatureData) - Static method in class org.web3j.crypto.TransactionEncoder
 

B

Bip32ECKeyPair - Class in org.web3j.crypto
BIP-32 key pair.
Bip32ECKeyPair(BigInteger, BigInteger, int, byte[], Bip32ECKeyPair) - Constructor for class org.web3j.crypto.Bip32ECKeyPair
 
Bip39Wallet - Class in org.web3j.crypto
Data class encapsulating a BIP-39 compatible Ethereum wallet.
Bip39Wallet(String, String) - Constructor for class org.web3j.crypto.Bip39Wallet
 

C

calculateChecksum(byte[]) - Static method in class org.web3j.crypto.MnemonicUtils
 
CHAIN_ID_INC - Static variable in interface org.web3j.crypto.SignatureDataOperations
 
CipherException - Exception in org.web3j.crypto
Cipher exception wrapper.
CipherException(String) - Constructor for exception org.web3j.crypto.CipherException
 
CipherException(Throwable) - Constructor for exception org.web3j.crypto.CipherException
 
CipherException(String, Throwable) - Constructor for exception org.web3j.crypto.CipherException
 
ContractUtils - Class in org.web3j.crypto
Smart Contract utility functions.
ContractUtils() - Constructor for class org.web3j.crypto.ContractUtils
 
create(BigInteger, byte[]) - Static method in class org.web3j.crypto.Bip32ECKeyPair
 
create(byte[], byte[]) - Static method in class org.web3j.crypto.Bip32ECKeyPair
 
create(ECKeyPair) - Static method in class org.web3j.crypto.Credentials
 
create(String, String) - Static method in class org.web3j.crypto.Credentials
 
create(String) - Static method in class org.web3j.crypto.Credentials
 
create(KeyPair) - Static method in class org.web3j.crypto.ECKeyPair
 
create(BigInteger) - Static method in class org.web3j.crypto.ECKeyPair
 
create(byte[]) - Static method in class org.web3j.crypto.ECKeyPair
 
createContractTransaction(BigInteger, BigInteger, BigInteger, BigInteger, String) - Static method in class org.web3j.crypto.RawTransaction
 
createEcKeyPair() - Static method in class org.web3j.crypto.Keys
 
createEcKeyPair(SecureRandom) - Static method in class org.web3j.crypto.Keys
 
createEip155SignatureData(Sign.SignatureData, long) - Static method in class org.web3j.crypto.TransactionEncoder
 
createEip155SignatureData(Sign.SignatureData, byte) - Static method in class org.web3j.crypto.TransactionEncoder
Deprecated.
createEtherTransaction(BigInteger, BigInteger, BigInteger, String, BigInteger) - Static method in class org.web3j.crypto.RawTransaction
 
createEtherTransaction(BigInteger, BigInteger, String, BigInteger, BigInteger, BigInteger) - Static method in class org.web3j.crypto.RawTransaction
 
createTransaction(BigInteger, BigInteger, BigInteger, String, String) - Static method in class org.web3j.crypto.RawTransaction
 
createTransaction(BigInteger, BigInteger, BigInteger, String, BigInteger, String) - Static method in class org.web3j.crypto.RawTransaction
 
createTransaction(BigInteger, BigInteger, BigInteger, String, BigInteger, String, BigInteger, BigInteger) - Static method in class org.web3j.crypto.RawTransaction
 
Credentials - Class in org.web3j.crypto
Credentials wrapper.
CURVE_PARAMS - Static variable in class org.web3j.crypto.Sign
 

D

decode(String) - Static method in class org.web3j.crypto.TransactionDecoder
 
deriveKeyPair(Bip32ECKeyPair, int[]) - Static method in class org.web3j.crypto.Bip32ECKeyPair
 
deserialize(byte[]) - Static method in class org.web3j.crypto.Keys
 

E

ECDSASignature - Class in org.web3j.crypto
An ECDSA Signature.
ECDSASignature(BigInteger, BigInteger) - Constructor for class org.web3j.crypto.ECDSASignature
 
ECKeyPair - Class in org.web3j.crypto
Elliptic Curve SECP-256k1 generated key pair.
ECKeyPair(BigInteger, BigInteger) - Constructor for class org.web3j.crypto.ECKeyPair
 
encode(RawTransaction) - Static method in class org.web3j.crypto.TransactionEncoder
 
encode(RawTransaction, long) - Static method in class org.web3j.crypto.TransactionEncoder
 
encode(RawTransaction, byte) - Static method in class org.web3j.crypto.TransactionEncoder
Deprecated.
encodeData(String, HashMap<String, Object>) - Method in class org.web3j.crypto.StructuredDataEncoder
 
encodeStruct(String) - Method in class org.web3j.crypto.StructuredDataEncoder
 
encodeType(String) - Method in class org.web3j.crypto.StructuredDataEncoder
 
engineGenerateSeed(int) - Method in class org.web3j.crypto.LinuxSecureRandom
 
engineNextBytes(byte[]) - Method in class org.web3j.crypto.LinuxSecureRandom
 
engineSetSeed(byte[]) - Method in class org.web3j.crypto.LinuxSecureRandom
 
equals(Object) - Method in class org.web3j.crypto.Credentials
 
equals(Object) - Method in class org.web3j.crypto.ECKeyPair
 
equals(Object) - Method in class org.web3j.crypto.Sign.SignatureData
 

F

flattenMultidimensionalArray(Object) - Method in class org.web3j.crypto.StructuredDataEncoder
 

G

generateContractAddress(byte[], BigInteger) - Static method in class org.web3j.crypto.ContractUtils
Generate a smart contract address.
generateContractAddress(String, BigInteger) - Static method in class org.web3j.crypto.ContractUtils
 
generateEntropy(String) - Static method in class org.web3j.crypto.MnemonicUtils
Create entropy from the mnemonic.
generateKeyPair(byte[]) - Static method in class org.web3j.crypto.Bip32ECKeyPair
 
generateMnemonic(byte[]) - Static method in class org.web3j.crypto.MnemonicUtils
The mnemonic must encode entropy in a multiple of 32 bits.
generateSeed(String, String) - Static method in class org.web3j.crypto.MnemonicUtils
To create a binary seed from the mnemonic, we use the PBKDF2 function with a mnemonic sentence (in UTF-8 NFKD) used as the password and the string "mnemonic" + passphrase (again in UTF-8 NFKD) used as the salt.
generateTransactionHash(RawTransaction, Credentials) - Static method in class org.web3j.crypto.TransactionUtils
Utility method to provide the transaction hash for a given transaction.
generateTransactionHash(RawTransaction, byte, Credentials) - Static method in class org.web3j.crypto.TransactionUtils
Utility method to provide the transaction hash for a given transaction.
generateTransactionHashHexEncoded(RawTransaction, Credentials) - Static method in class org.web3j.crypto.TransactionUtils
Utility method to provide the transaction hash for a given transaction.
generateTransactionHashHexEncoded(RawTransaction, byte, Credentials) - Static method in class org.web3j.crypto.TransactionUtils
Utility method to provide the transaction hash for a given transaction.
getAddress() - Method in class org.web3j.crypto.Credentials
 
getAddress(ECKeyPair) - Static method in class org.web3j.crypto.Keys
 
getAddress(BigInteger) - Static method in class org.web3j.crypto.Keys
 
getAddress(String) - Static method in class org.web3j.crypto.Keys
 
getAddress(byte[]) - Static method in class org.web3j.crypto.Keys
 
getArrayDimensionsFromData(Object) - Method in class org.web3j.crypto.StructuredDataEncoder
 
getArrayDimensionsFromDeclaration(String) - Method in class org.web3j.crypto.StructuredDataEncoder
 
getChainCode() - Method in class org.web3j.crypto.Bip32ECKeyPair
 
getChainId() - Method in interface org.web3j.crypto.SignatureDataOperations
 
getChildNumber() - Method in class org.web3j.crypto.Bip32ECKeyPair
 
getData() - Method in class org.web3j.crypto.RawTransaction
 
getDependencies(String) - Method in class org.web3j.crypto.StructuredDataEncoder
 
getDepth() - Method in class org.web3j.crypto.Bip32ECKeyPair
 
getDepthsAndDimensions(Object, int) - Method in class org.web3j.crypto.StructuredDataEncoder
 
getEcKeyPair() - Method in class org.web3j.crypto.Credentials
 
getEncodedTransaction(Long) - Method in interface org.web3j.crypto.SignatureDataOperations
 
getEncodedTransaction(Long) - Method in class org.web3j.crypto.SignedRawTransaction
 
getFeeCap() - Method in class org.web3j.crypto.RawTransaction
 
getFilename() - Method in class org.web3j.crypto.Bip39Wallet
 
getFrom() - Method in interface org.web3j.crypto.SignatureDataOperations
 
getGasLimit() - Method in class org.web3j.crypto.RawTransaction
 
getGasPremium() - Method in class org.web3j.crypto.RawTransaction
 
getGasPrice() - Method in class org.web3j.crypto.RawTransaction
 
getMnemonic() - Method in class org.web3j.crypto.Bip39Wallet
 
getNonce() - Method in class org.web3j.crypto.RawTransaction
 
getParentFingerprint() - Method in class org.web3j.crypto.Bip32ECKeyPair
 
getPrivateKey() - Method in class org.web3j.crypto.ECKeyPair
 
getPrivateKeyBytes33() - Method in class org.web3j.crypto.Bip32ECKeyPair
 
getPublicKey() - Method in class org.web3j.crypto.ECKeyPair
 
getPublicKeyPoint() - Method in class org.web3j.crypto.Bip32ECKeyPair
 
getR() - Method in class org.web3j.crypto.Sign.SignatureData
 
getRealV(BigInteger) - Method in interface org.web3j.crypto.SignatureDataOperations
 
getS() - Method in class org.web3j.crypto.Sign.SignatureData
 
getSignatureData() - Method in interface org.web3j.crypto.SignatureDataOperations
 
getSignatureData() - Method in class org.web3j.crypto.SignedRawTransaction
 
getTo() - Method in class org.web3j.crypto.RawTransaction
 
getV() - Method in class org.web3j.crypto.Sign.SignatureData
 
getValue() - Method in class org.web3j.crypto.RawTransaction
 
getWords() - Static method in class org.web3j.crypto.MnemonicUtils
 

H

HARDENED_BIT - Static variable in class org.web3j.crypto.Bip32ECKeyPair
 
hashCode() - Method in class org.web3j.crypto.Credentials
 
hashCode() - Method in class org.web3j.crypto.ECKeyPair
 
hashCode() - Method in class org.web3j.crypto.Sign.SignatureData
 
hashDomain() - Method in class org.web3j.crypto.StructuredDataEncoder
 
hashMessage(String, HashMap<String, Object>) - Method in class org.web3j.crypto.StructuredDataEncoder
 
hashStructuredData() - Method in class org.web3j.crypto.StructuredDataEncoder
 

I

isCanonical() - Method in class org.web3j.crypto.ECDSASignature
 
isEIP1559Transaction() - Method in class org.web3j.crypto.RawTransaction
 
isLegacyTransaction() - Method in class org.web3j.crypto.RawTransaction
 

J

jsonMessageObject - Variable in class org.web3j.crypto.StructuredDataEncoder
 

K

Keys - Class in org.web3j.crypto
Crypto key utilities.

L

LinuxSecureRandom - Class in org.web3j.crypto
Implementation from BitcoinJ implementation
LinuxSecureRandom() - Constructor for class org.web3j.crypto.LinuxSecureRandom
 
LOWER_REAL_V - Static variable in interface org.web3j.crypto.SignatureDataOperations
 

M

MnemonicUtils - Class in org.web3j.crypto
Provides utility methods to generate random mnemonics and also generate seeds from mnemonics.
MnemonicUtils() - Constructor for class org.web3j.crypto.MnemonicUtils
 

O

org.web3j.crypto - package org.web3j.crypto
 

P

parseJSONMessage(String) - Method in class org.web3j.crypto.StructuredDataEncoder
 
PRIVATE_KEY_LENGTH_IN_HEX - Static variable in class org.web3j.crypto.Keys
 
publicFromPoint(byte[]) - Static method in class org.web3j.crypto.Sign
Returns public key point from the given curve.
publicKeyFromPrivate(BigInteger) - Static method in class org.web3j.crypto.Sign
Returns public key from the given private key.
publicPointFromPrivate(BigInteger) - Static method in class org.web3j.crypto.Sign
Returns public key point from the given private key.

R

r - Variable in class org.web3j.crypto.ECDSASignature
 
RawTransaction - Class in org.web3j.crypto
Transaction class used for signing transactions locally.
For the specification, refer to p4 of the yellow paper.
RawTransaction(BigInteger, BigInteger, BigInteger, String, BigInteger, String) - Constructor for class org.web3j.crypto.RawTransaction
 
RawTransaction(BigInteger, BigInteger, BigInteger, String, BigInteger, String, BigInteger, BigInteger) - Constructor for class org.web3j.crypto.RawTransaction
 
recoverFromSignature(int, ECDSASignature, byte[]) - Static method in class org.web3j.crypto.Sign
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.

S

s - Variable in class org.web3j.crypto.ECDSASignature
 
serialize(ECKeyPair) - Static method in class org.web3j.crypto.Keys
 
sign(byte[]) - Method in class org.web3j.crypto.ECKeyPair
Sign a hash with the private key of this key pair.
Sign - Class in org.web3j.crypto
Transaction signing logic.
Sign() - Constructor for class org.web3j.crypto.Sign
 
Sign.SignatureData - Class in org.web3j.crypto
 
SignatureData(byte, byte[], byte[]) - Constructor for class org.web3j.crypto.Sign.SignatureData
 
SignatureData(byte[], byte[], byte[]) - Constructor for class org.web3j.crypto.Sign.SignatureData
 
SignatureDataOperations - Interface in org.web3j.crypto
 
signedMessageHashToKey(byte[], Sign.SignatureData) - Static method in class org.web3j.crypto.Sign
Given an arbitrary message hash and an Ethereum message signature encoded in bytes, returns the public key that was used to sign it.
signedMessageToKey(byte[], Sign.SignatureData) - Static method in class org.web3j.crypto.Sign
Given an arbitrary piece of text and an Ethereum message signature encoded in bytes, returns the public key that was used to sign it.
signedPrefixedMessageToKey(byte[], Sign.SignatureData) - Static method in class org.web3j.crypto.Sign
Given an arbitrary message and an Ethereum message signature encoded in bytes, returns the public key that was used to sign it.
SignedRawTransaction - Class in org.web3j.crypto
 
SignedRawTransaction(BigInteger, BigInteger, BigInteger, String, BigInteger, String, Sign.SignatureData) - Constructor for class org.web3j.crypto.SignedRawTransaction
 
signMessage(byte[], ECKeyPair) - Static method in class org.web3j.crypto.Sign
 
signMessage(byte[], ECKeyPair, boolean) - Static method in class org.web3j.crypto.Sign
 
signMessage(RawTransaction, Credentials) - Static method in class org.web3j.crypto.TransactionEncoder
 
signMessage(RawTransaction, long, Credentials) - Static method in class org.web3j.crypto.TransactionEncoder
 
signMessage(RawTransaction, byte, Credentials) - Static method in class org.web3j.crypto.TransactionEncoder
Deprecated.
signPrefixedMessage(byte[], ECKeyPair) - Static method in class org.web3j.crypto.Sign
 
StructuredData - Class in org.web3j.crypto
 
StructuredData() - Constructor for class org.web3j.crypto.StructuredData
 
StructuredDataEncoder - Class in org.web3j.crypto
 
StructuredDataEncoder(String) - Constructor for class org.web3j.crypto.StructuredDataEncoder
 

T

toCanonicalised() - Method in class org.web3j.crypto.ECDSASignature
Will automatically adjust the S component to be less than or equal to half the curve order, if necessary.
toChecksumAddress(String) - Static method in class org.web3j.crypto.Keys
Checksum address encoding as per EIP-55.
toString() - Method in class org.web3j.crypto.Bip39Wallet
 
TransactionDecoder - Class in org.web3j.crypto
 
TransactionDecoder() - Constructor for class org.web3j.crypto.TransactionDecoder
 
TransactionEncoder - Class in org.web3j.crypto
Create RLP encoded transaction, implementation as per p4 of the yellow paper.
TransactionEncoder() - Constructor for class org.web3j.crypto.TransactionEncoder
 
TransactionUtils - Class in org.web3j.crypto
Transaction utility functions.
TransactionUtils() - Constructor for class org.web3j.crypto.TransactionUtils
 
typeHash(String) - Method in class org.web3j.crypto.StructuredDataEncoder
 

V

validateMnemonic(String) - Static method in class org.web3j.crypto.MnemonicUtils
 
validateStructuredData(StructuredData.EIP712Message) - Method in class org.web3j.crypto.StructuredDataEncoder
 
verify(String) - Method in interface org.web3j.crypto.SignatureDataOperations
 
A B C D E F G H I J K L M O P R S T V 
Skip navigation links