| 程序包 | 说明 |
|---|---|
| org.tron.tronj.crypto |
| 限定符和类型 | 方法和说明 |
|---|---|
static SECP256K1.PrivateKey |
SECP256K1.PrivateKey.create(BigInteger key) |
static SECP256K1.PrivateKey |
SECP256K1.PrivateKey.create(Bytes32 key) |
static SECP256K1.PrivateKey |
SECP256K1.PrivateKey.create(String hexKey) |
SECP256K1.PrivateKey |
SECP256K1.KeyPair.getPrivateKey() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Bytes32 |
SECP256K1.calculateECDHKeyAgreement(SECP256K1.PrivateKey privKey,
SECP256K1.PublicKey theirPubKey)
Calculates an ECDH key agreement between the private and the public key.
|
static SECP256K1.PublicKey |
SECP256K1.PublicKey.create(SECP256K1.PrivateKey privateKey) |
static SECP256K1.KeyPair |
SECP256K1.KeyPair.create(SECP256K1.PrivateKey privateKey) |
| 构造器和说明 |
|---|
KeyPair(SECP256K1.PrivateKey privateKey,
SECP256K1.PublicKey publicKey) |
Copyright © 2021. All rights reserved.