public class ECKeyPair extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
byte[] |
sign(byte[] hash) |
public static ECKeyPair create(BigInteger privateKey)
public static ECKeyPair create()
public static ECKeyPair create(byte[] seed)
public static ECKeyPair create(SecureRandom secureRandom)
public String getJSONPublicKey()
public String getJSONPrivateKey()
public org.bouncycastle.math.ec.ECPoint getPublicKey()
public BigInteger getPrivateKey()
Copyright © 2020. All rights reserved.