public class ECKeyPair extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
String |
jsonPrivateKey |
String |
jsonPublicKey |
BigInteger |
privateKey |
org.bouncycastle.math.ec.ECPoint |
publicKey |
| 构造器和说明 |
|---|
ECKeyPair() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ECKeyPair |
create() |
static ECKeyPair |
create(BigInteger privateKey) |
static ECKeyPair |
create(byte[] seed) |
static ECKeyPair |
create(SecureRandom secureRandom) |
String |
getJSONPrivateKey() |
String |
getJSONPublicKey() |
BigInteger |
getPrivateKey() |
org.bouncycastle.math.ec.ECPoint |
getPublicKey() |
public BigInteger privateKey
public org.bouncycastle.math.ec.ECPoint publicKey
public String jsonPublicKey
public String jsonPrivateKey
public BigInteger getPrivateKey()
public org.bouncycastle.math.ec.ECPoint getPublicKey()
public String getJSONPublicKey()
public String getJSONPrivateKey()
public static ECKeyPair create(byte[] seed)
public static ECKeyPair create()
public static ECKeyPair create(SecureRandom secureRandom)
public static ECKeyPair create(BigInteger privateKey)
Copyright © 2022. All rights reserved.