Skip navigation links
B C D E F G H I L M N P R S T V 

B

Bip32ECKeyPair - Class in io.neow3j.crypto
BIP-32 key pair.
Bip32ECKeyPair(ECKeyPair.ECPrivateKey, ECKeyPair.ECPublicKey, int, byte[], Bip32ECKeyPair) - Constructor for class io.neow3j.crypto.Bip32ECKeyPair
 

C

CipherException - Exception in io.neow3j.crypto.exceptions
Cipher exception wrapper.
CipherException(String) - Constructor for exception io.neow3j.crypto.exceptions.CipherException
 
CipherException(Throwable) - Constructor for exception io.neow3j.crypto.exceptions.CipherException
 
CipherException(String, Throwable) - Constructor for exception io.neow3j.crypto.exceptions.CipherException
 
create(ECKeyPair.ECPrivateKey, byte[]) - Static method in class io.neow3j.crypto.Bip32ECKeyPair
 
create(BigInteger, byte[]) - Static method in class io.neow3j.crypto.Bip32ECKeyPair
 
create(byte[], byte[]) - Static method in class io.neow3j.crypto.Bip32ECKeyPair
 
create(KeyPair) - Static method in class io.neow3j.crypto.ECKeyPair
Creates an EC key pair from a key pair.
create(ECKeyPair.ECPrivateKey) - Static method in class io.neow3j.crypto.ECKeyPair
Creates an EC key pair from a private key.
create(BigInteger) - Static method in class io.neow3j.crypto.ECKeyPair
Creates an EC key pair from a private key.
create(byte[]) - Static method in class io.neow3j.crypto.ECKeyPair
Creates an EC key pair from a private key.
createEcKeyPair() - Static method in class io.neow3j.crypto.ECKeyPair
Create a keypair using SECP-256r1 curve.

D

decrypt(String, String) - Static method in class io.neow3j.crypto.NEP2
Decrypts the given encrypted private key in NEP-2 format with the given password and standard scrypt parameters.
decrypt(String, String, ScryptParams) - Static method in class io.neow3j.crypto.NEP2
Decrypts the given encrypted private key in NEP-2 format with the given password and scrypt parameters.
DEFAULT_SCRYPT_PARAMS - Static variable in class io.neow3j.crypto.NEP2
 
deriveKeyPair(Bip32ECKeyPair, int[]) - Static method in class io.neow3j.crypto.Bip32ECKeyPair
 
deserialize(BinaryReader) - Method in class io.neow3j.crypto.ECKeyPair.ECPublicKey
 
DKLEN - Static variable in class io.neow3j.crypto.NEP2
 

E

ECDSASignature - Class in io.neow3j.crypto
An ECDSA Signature.
ECDSASignature(BigInteger, BigInteger) - Constructor for class io.neow3j.crypto.ECDSASignature
 
ECKeyPair - Class in io.neow3j.crypto
Elliptic Curve SECP-256r1 generated key pair.
ECKeyPair(ECKeyPair.ECPrivateKey, ECKeyPair.ECPublicKey) - Constructor for class io.neow3j.crypto.ECKeyPair
 
ECKeyPair.ECPrivateKey - Class in io.neow3j.crypto
 
ECKeyPair.ECPublicKey - Class in io.neow3j.crypto
 
ECPrivateKey(BigInteger) - Constructor for class io.neow3j.crypto.ECKeyPair.ECPrivateKey
Creates a ECPrivateKey instance from the given private key.
ECPrivateKey(byte[]) - Constructor for class io.neow3j.crypto.ECKeyPair.ECPrivateKey
Creates a ECPrivateKey instance from the given private key.
ECPublicKey() - Constructor for class io.neow3j.crypto.ECKeyPair.ECPublicKey
 
ECPublicKey(String) - Constructor for class io.neow3j.crypto.ECKeyPair.ECPublicKey
Creates a new instance from the given encoded public key in hex format.
ECPublicKey(ECPoint) - Constructor for class io.neow3j.crypto.ECKeyPair.ECPublicKey
Creates a new ECKeyPair.ECPublicKey based on a EC point (ECPoint).
ECPublicKey(byte[]) - Constructor for class io.neow3j.crypto.ECKeyPair.ECPublicKey
Creates a new instance from the given encoded public key.
ECPublicKey(BigInteger) - Constructor for class io.neow3j.crypto.ECKeyPair.ECPublicKey
Creates a new instance from the given encoded public key.
encrypt(String, ECKeyPair) - Static method in class io.neow3j.crypto.NEP2
Encrypts the private key of the given key pair with the given password using standard Scrypt parameters.
encrypt(String, ECKeyPair, ScryptParams) - Static method in class io.neow3j.crypto.NEP2
Encrypts the private key of the given EC key pair following the NEP-2 standard.
encrypt(String, ECKeyPair, int, int, int) - Static method in class io.neow3j.crypto.NEP2
Encrypts the private key of the given EC key pair following the NEP-2 standard.
engineGenerateSeed(int) - Method in class io.neow3j.crypto.LinuxSecureRandom
 
engineNextBytes(byte[]) - Method in class io.neow3j.crypto.LinuxSecureRandom
 
engineSetSeed(byte[]) - Method in class io.neow3j.crypto.LinuxSecureRandom
 
equals(Object) - Method in class io.neow3j.crypto.ECKeyPair.ECPrivateKey
 
equals(Object) - Method in class io.neow3j.crypto.ECKeyPair.ECPublicKey
 
equals(Object) - Method in class io.neow3j.crypto.ECKeyPair
 
equals(Object) - Method in class io.neow3j.crypto.ScryptParams
 
equals(Object) - Method in class io.neow3j.crypto.Sign.SignatureData
 
erase() - Method in class io.neow3j.crypto.ECKeyPair.ECPrivateKey
Overwrites the private key with zeros.
exportAsWIF() - Method in class io.neow3j.crypto.ECKeyPair
Creates a WIF of this ECKeyPair.

F

fromByteArray(byte[]) - Static method in class io.neow3j.crypto.Sign.SignatureData
 

G

generateEntropy(String) - Static method in class io.neow3j.crypto.MnemonicUtils
Create entropy from the mnemonic.
generateKeyPair(byte[]) - Static method in class io.neow3j.crypto.Bip32ECKeyPair
 
generateMnemonic(byte[]) - Static method in class io.neow3j.crypto.MnemonicUtils
The mnemonic must encode entropy in a multiple of 32 bits.
generateRandomBytes(int) - Static method in class io.neow3j.crypto.SecureRandomUtils
 
generateSeed(String, String) - Static method in class io.neow3j.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.
getAddress() - Method in class io.neow3j.crypto.ECKeyPair
Constructs the NEO address from this key pairs public key.
getAddressHash(ECKeyPair) - Static method in class io.neow3j.crypto.NEP2
 
getBytes() - Method in class io.neow3j.crypto.ECKeyPair.ECPrivateKey
Gets this private key as a byte array in big-endian order (not in two's complement).
getChainCode() - Method in class io.neow3j.crypto.Bip32ECKeyPair
 
getChildNumber() - Method in class io.neow3j.crypto.Bip32ECKeyPair
 
getConcatenated() - Method in class io.neow3j.crypto.Sign.SignatureData
 
getDepth() - Method in class io.neow3j.crypto.Bip32ECKeyPair
 
getECPoint() - Method in class io.neow3j.crypto.ECKeyPair.ECPublicKey
 
getEncoded(boolean) - Method in class io.neow3j.crypto.ECKeyPair.ECPublicKey
Gets this public key's elliptic curve point encoded as defined in section 2.3.3 of SEC1.
getInt() - Method in class io.neow3j.crypto.ECKeyPair.ECPrivateKey
Gets this private key as an integer.
getN() - Method in class io.neow3j.crypto.ScryptParams
 
getP() - Method in class io.neow3j.crypto.ScryptParams
 
getParentFingerprint() - Method in class io.neow3j.crypto.Bip32ECKeyPair
 
getPrivateKey() - Method in class io.neow3j.crypto.ECKeyPair
Gets the private key of this EC key pair.
getPrivateKeyBytes33() - Method in class io.neow3j.crypto.Bip32ECKeyPair
 
getPublicKey() - Method in class io.neow3j.crypto.ECKeyPair
Gets the public key of this EC key pair.
getPublicKeyPoint() - Method in class io.neow3j.crypto.Bip32ECKeyPair
 
getR() - Method in class io.neow3j.crypto.ScryptParams
 
getR() - Method in class io.neow3j.crypto.Sign.SignatureData
 
getS() - Method in class io.neow3j.crypto.Sign.SignatureData
 
getSize() - Method in class io.neow3j.crypto.ECKeyPair.ECPublicKey
 
getV() - Method in class io.neow3j.crypto.Sign.SignatureData
 

H

HARDENED_BIT - Static variable in class io.neow3j.crypto.Bip32ECKeyPair
 
hashCode() - Method in class io.neow3j.crypto.ECKeyPair.ECPrivateKey
 
hashCode() - Method in class io.neow3j.crypto.ECKeyPair.ECPublicKey
 
hashCode() - Method in class io.neow3j.crypto.ECKeyPair
 
hashCode() - Method in class io.neow3j.crypto.ScryptParams
 
hashCode() - Method in class io.neow3j.crypto.Sign.SignatureData
 

I

io.neow3j.crypto - package io.neow3j.crypto
 
io.neow3j.crypto.exceptions - package io.neow3j.crypto.exceptions
 
isCanonical() - Method in class io.neow3j.crypto.ECDSASignature
 

L

LinuxSecureRandom - Class in io.neow3j.crypto
Original Implementation from BitcoinJ implementation
LinuxSecureRandom() - Constructor for class io.neow3j.crypto.LinuxSecureRandom
 

M

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

N

N_STANDARD - Static variable in class io.neow3j.crypto.NEP2
 
NEP2 - Class in io.neow3j.crypto
Provides encryption and decryption functionality according to NEP-2 specification.
NEP2() - Constructor for class io.neow3j.crypto.NEP2
 
NEP2_FLAGBYTE - Static variable in class io.neow3j.crypto.NEP2
 
NEP2_PREFIX_1 - Static variable in class io.neow3j.crypto.NEP2
 
NEP2_PREFIX_2 - Static variable in class io.neow3j.crypto.NEP2
 
NEP2_PRIVATE_KEY_LENGTH - Static variable in class io.neow3j.crypto.NEP2
 
NEP2AccountNotFound - Exception in io.neow3j.crypto.exceptions
NEP2 specific account not found in the wallet.
NEP2AccountNotFound() - Constructor for exception io.neow3j.crypto.exceptions.NEP2AccountNotFound
 
NEP2AccountNotFound(String) - Constructor for exception io.neow3j.crypto.exceptions.NEP2AccountNotFound
 
NEP2AccountNotFound(String, Throwable) - Constructor for exception io.neow3j.crypto.exceptions.NEP2AccountNotFound
 
NEP2InvalidFormat - Exception in io.neow3j.crypto.exceptions
NEP2 format exception.
NEP2InvalidFormat() - Constructor for exception io.neow3j.crypto.exceptions.NEP2InvalidFormat
 
NEP2InvalidFormat(String) - Constructor for exception io.neow3j.crypto.exceptions.NEP2InvalidFormat
 
NEP2InvalidFormat(String, Throwable) - Constructor for exception io.neow3j.crypto.exceptions.NEP2InvalidFormat
 
NEP2InvalidPassphrase - Exception in io.neow3j.crypto.exceptions
NEP2 format exception.
NEP2InvalidPassphrase() - Constructor for exception io.neow3j.crypto.exceptions.NEP2InvalidPassphrase
 
NEP2InvalidPassphrase(String) - Constructor for exception io.neow3j.crypto.exceptions.NEP2InvalidPassphrase
 
NEP2InvalidPassphrase(String, Throwable) - Constructor for exception io.neow3j.crypto.exceptions.NEP2InvalidPassphrase
 

P

P_STANDARD - Static variable in class io.neow3j.crypto.NEP2
 
performCipherOperation(int, byte[], byte[]) - Static method in class io.neow3j.crypto.NEP2
 
publicKeyFromPrivate(ECKeyPair.ECPrivateKey) - Static method in class io.neow3j.crypto.Sign
Returns public key from the given private key.
publicPointFromPrivateKey(ECKeyPair.ECPrivateKey) - Static method in class io.neow3j.crypto.Sign
Returns public key point from the given private key.

R

r - Variable in class io.neow3j.crypto.ECDSASignature
 
R_STANDARD - Static variable in class io.neow3j.crypto.NEP2
 
recoverFromSignature(int, ECDSASignature, byte[]) - Static method in class io.neow3j.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.
recoverSigningAddress(byte[], Sign.SignatureData) - Static method in class io.neow3j.crypto.Sign
Recovers the address that created the given signature on the given message.

S

s - Variable in class io.neow3j.crypto.ECDSASignature
 
ScryptParams - Class in io.neow3j.crypto
NEP-2 defines the attributes "n", "r", and "p".
ScryptParams() - Constructor for class io.neow3j.crypto.ScryptParams
 
ScryptParams(int, int, int) - Constructor for class io.neow3j.crypto.ScryptParams
 
secureRandom() - Static method in class io.neow3j.crypto.SecureRandomUtils
 
SecureRandomUtils - Class in io.neow3j.crypto
Utility class for working with SecureRandom implementation.
serialize(BinaryWriter) - Method in class io.neow3j.crypto.ECKeyPair.ECPublicKey
 
sign(byte[]) - Method in class io.neow3j.crypto.ECKeyPair
Sign a hash with the private key of this key pair.
Sign - Class in io.neow3j.crypto
Transaction signing logic.
Sign() - Constructor for class io.neow3j.crypto.Sign
 
Sign.SignatureData - Class in io.neow3j.crypto
 
signAndGetArrayBytes(byte[]) - Method in class io.neow3j.crypto.ECKeyPair
Sign a hash with the private key of this key pair.
signAndGetECDSASignature(byte[]) - Method in class io.neow3j.crypto.ECKeyPair
Sign a hash with the private key of this key pair.
SignatureData(byte, byte[], byte[]) - Constructor for class io.neow3j.crypto.Sign.SignatureData
 
signedMessageToKey(byte[], Sign.SignatureData) - Static method in class io.neow3j.crypto.Sign
Given an arbitrary piece of text and an NEO message signature encoded in bytes, returns the public key that was used to sign it.
signMessage(byte[], ECKeyPair) - Static method in class io.neow3j.crypto.Sign
 
signMessage(byte[], ECKeyPair, boolean) - Static method in class io.neow3j.crypto.Sign
 

T

toCanonicalised() - Method in class io.neow3j.crypto.ECDSASignature
Will automatically adjust the S component to be less than or equal to half the curve order, if necessary.
toString() - Method in class io.neow3j.crypto.ScryptParams
 
toString() - Method in class io.neow3j.crypto.Sign.SignatureData
 

V

validateMnemonic(String) - Static method in class io.neow3j.crypto.MnemonicUtils
 
B C D E F G H I L M N P R S T V 
Skip navigation links