public class EccOperations
extends java.lang.Object
构造器和说明 |
---|
EccOperations(EccTypeEnums eccTypeEnums) |
限定符和类型 | 方法和说明 |
---|---|
byte[] |
compress(byte[] point) |
byte[] |
decompress(byte[] point) |
byte[] |
generatePublicKeys(byte[] privateKey,
boolean compressed) |
org.fisco.bcos.sdk.crypto.keypair.CryptoKeyPair |
getKeyPair(byte[] privateKey) |
java.math.BigInteger |
getN() |
byte[] |
pubkeyAdd(byte[] pub1,
byte[] pub2,
boolean verify,
boolean compressed) |
boolean |
verifyPrivateKey(java.math.BigInteger ki) |
public EccOperations(EccTypeEnums eccTypeEnums)
public byte[] generatePublicKeys(byte[] privateKey, boolean compressed)
public java.math.BigInteger getN()
public boolean verifyPrivateKey(java.math.BigInteger ki)
public byte[] pubkeyAdd(byte[] pub1, byte[] pub2, boolean verify, boolean compressed)
public byte[] decompress(byte[] point)
public byte[] compress(byte[] point)
public org.fisco.bcos.sdk.crypto.keypair.CryptoKeyPair getKeyPair(byte[] privateKey)