Package org.dashj.bls
Class ExtendedPublicKey
- java.lang.Object
-
- org.dashj.bls.ExtendedPublicKey
-
public class ExtendedPublicKey extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static longSIZEprotected booleanswigCMemOwnstatic longVERSION
-
Constructor Summary
Constructors Modifier Constructor Description ExtendedPublicKey()protectedExtendedPublicKey(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()static ExtendedPublicKeyfromBytes(byte[] bytes)static ExtendedPublicKeyfromBytes(byte[] bytes, boolean fLegacy)ChainCodegetChainCode()longgetChildNumber()protected static longgetCPtr(ExtendedPublicKey obj)shortgetDepth()longgetParentFingerprint()G1ElementgetPublicKey()longgetVersion()ExtendedPublicKeypublicChild(long i)ExtendedPublicKeypublicChild(long i, boolean fLegacy)byte[]serialize()byte[]serialize(boolean fLegacy)voidserialize(byte[] buffer)voidserialize(byte[] buffer, boolean fLegacy)
-
-
-
Method Detail
-
getCPtr
protected static long getCPtr(ExtendedPublicKey obj)
-
delete
public void delete()
-
fromBytes
public static ExtendedPublicKey fromBytes(byte[] bytes, boolean fLegacy)
-
fromBytes
public static ExtendedPublicKey fromBytes(byte[] bytes)
-
publicChild
public ExtendedPublicKey publicChild(long i, boolean fLegacy)
-
publicChild
public ExtendedPublicKey publicChild(long i)
-
getVersion
public long getVersion()
-
getDepth
public short getDepth()
-
getParentFingerprint
public long getParentFingerprint()
-
getChildNumber
public long getChildNumber()
-
getChainCode
public ChainCode getChainCode()
-
getPublicKey
public G1Element getPublicKey()
-
serialize
public void serialize(byte[] buffer, boolean fLegacy)
-
serialize
public void serialize(byte[] buffer)
-
serialize
public byte[] serialize(boolean fLegacy)
-
serialize
public byte[] serialize()
-
-