Package org.dashj.bls
Class HDKeys
- java.lang.Object
-
- org.dashj.bls.HDKeys
-
public class HDKeys extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static shortHASH_LENprotected booleanswigCMemOwn
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()static G1ElementderiveChildG1Unhardened(G1Element pk, long index)static G2ElementderiveChildG2Unhardened(G2Element pk, long index)static PrivateKeyderiveChildSk(PrivateKey parentSk, long index)static PrivateKeyderiveChildSkUnhardened(PrivateKey parentSk, long index)protected voidfinalize()protected static longgetCPtr(HDKeys obj)static voidiKMToLamportSk(byte[] outputLamportSk, byte[] ikm, long ikmLen, byte[] salt, long saltLen)static PrivateKeykeyGen(byte[] seed)static voidparentSkToLamportPK(byte[] outputLamportPk, PrivateKey parentSk, long index)
-
-
-
Method Detail
-
getCPtr
protected static long getCPtr(HDKeys obj)
-
delete
public void delete()
-
keyGen
public static PrivateKey keyGen(byte[] seed)
-
iKMToLamportSk
public static void iKMToLamportSk(byte[] outputLamportSk, byte[] ikm, long ikmLen, byte[] salt, long saltLen)
-
parentSkToLamportPK
public static void parentSkToLamportPK(byte[] outputLamportPk, PrivateKey parentSk, long index)
-
deriveChildSk
public static PrivateKey deriveChildSk(PrivateKey parentSk, long index)
-
deriveChildSkUnhardened
public static PrivateKey deriveChildSkUnhardened(PrivateKey parentSk, long index)
-
-