Package com.horizen.schnorrnative
Class SchnorrSecretKey
- java.lang.Object
-
- com.horizen.schnorrnative.SchnorrSecretKey
-
- All Implemented Interfaces:
AutoCloseable
public class SchnorrSecretKey extends Object implements AutoCloseable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static SchnorrSecretKeydeserialize(byte[] secretKeyBytes)voidfreeSecretKey()SchnorrPublicKeygetPublicKey()byte[]serializeSecretKey()
-
-
-
Method Detail
-
deserialize
public static SchnorrSecretKey deserialize(byte[] secretKeyBytes)
-
serializeSecretKey
public byte[] serializeSecretKey()
-
freeSecretKey
public void freeSecretKey()
-
getPublicKey
public SchnorrPublicKey getPublicKey()
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-