Package | Description |
---|---|
org.tron.common.crypto | |
org.tron.common.utils | |
org.tron.keystore | |
tv.noixion.troncli.models |
Modifier and Type | Method and Description |
---|---|
ECKey |
ECKey.compress()
Deprecated.
per-point compression property will be removed in Bouncy Castle
|
ECKey |
ECKey.decompress()
Deprecated.
per-point compression property will be removed in Bouncy Castle
|
static ECKey |
ECKey.fromNodeId(byte[] nodeId)
Recover the public key from an encoded node id.
|
static ECKey |
ECKey.fromPrivate(BigInteger privKey)
Creates an ECKey given the private key only.
|
static ECKey |
ECKey.fromPrivate(byte[] privKeyBytes)
Creates an ECKey given the private key only.
|
static ECKey |
ECKey.fromPrivateAndPrecalculatedPublic(BigInteger priv,
org.spongycastle.math.ec.ECPoint pub)
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.
|
static ECKey |
ECKey.fromPrivateAndPrecalculatedPublic(byte[] priv,
byte[] pub)
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.
|
static ECKey |
ECKey.fromPublicOnly(byte[] pub)
Creates an ECKey that cannot be used for signing, only verifying signatures, from the given
encoded point.
|
static ECKey |
ECKey.fromPublicOnly(org.spongycastle.math.ec.ECPoint pub)
Creates an ECKey that cannot be used for signing, only verifying signatures, from the given
point.
|
static ECKey |
ECKey.recoverFromSignature(int recId,
ECKey.ECDSASignature sig,
byte[] messageHash) |
static ECKey |
ECKey.signatureToKey(byte[] messageHash,
ECKey.ECDSASignature sig)
Compute the key that signed the given signature.
|
static ECKey |
ECKey.signatureToKey(byte[] messageHash,
String signatureBase64)
Compute the key that signed the given signature.
|
Modifier and Type | Method and Description |
---|---|
static Protocol.Transaction |
TransactionUtils.sign(Protocol.Transaction transaction,
ECKey myKey) |
Modifier and Type | Method and Description |
---|---|
static ECKey |
Wallet.decrypt(byte[] password,
WalletFile walletFile) |
ECKey |
Credentials.getEcKeyPair() |
Modifier and Type | Method and Description |
---|---|
static WalletFile |
Wallet.create(byte[] password,
ECKey ecKeyPair,
int n,
int p) |
static Credentials |
Credentials.create(ECKey ecKeyPair) |
static WalletFile |
Wallet.createLight(byte[] password,
ECKey ecKeyPair) |
static WalletFile |
Wallet.createStandard(byte[] password,
ECKey ecKeyPair) |
static String |
WalletUtils.generateWalletFile(byte[] password,
ECKey ecKeyPair,
File destinationDirectory,
boolean useFullScrypt) |
static String |
WalletUtils.generateWalletString(byte[] password,
ECKey ecKeyPair,
boolean useFullScrypt) |
static void |
WalletUtils.updateWalletFile(byte[] password,
ECKey ecKeyPair,
File source,
boolean useFullScrypt) |
Modifier and Type | Method and Description |
---|---|
ECKey |
TronWallet.getKey() |
Copyright © 2020. All rights reserved.