| 限定符和类型 | 字段和说明 |
|---|---|
protected BigInteger |
privateKey
The Private key.
|
protected BigInteger |
publicKey
The Public key.
|
| 构造器和说明 |
|---|
AbstractKeyPair() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract AbstractKeyPair |
create(KeyPair keyPair)
Create abstract key pair.
|
abstract KeyPair |
createKeyPair()
Create key pair key pair.
|
abstract boolean |
equals(Object o)
super class
|
abstract PrivateKey |
getEcPrivateKey()
Gets ec private key.
|
abstract String |
getHexStringPublicKey()
Gets hex string public key.
|
abstract BigInteger |
getPrivateKey()
Gets private key.
|
abstract BigInteger |
getPublicKey()
Gets public key.
|
abstract ISignature |
sign(byte[] transactionHash)
Sign signature.
|
protected BigInteger privateKey
protected BigInteger publicKey
public abstract BigInteger getPrivateKey()
public abstract BigInteger getPublicKey()
public abstract ISignature sign(byte[] transactionHash)
transactionHash - the transaction hashpublic abstract AbstractKeyPair create(KeyPair keyPair)
keyPair - the key pairpublic abstract KeyPair createKeyPair() throws Exception
Exception - the exceptionpublic abstract PrivateKey getEcPrivateKey() throws Exception
Exception - the exceptionpublic abstract String getHexStringPublicKey() throws Exception
Exception - the exceptionCopyright © 2022. All rights reserved.