public class VRFProof extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static int |
PROOF_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static VRFProof |
deserialize(byte[] proofBytes) |
static VRFProof |
deserialize(byte[] proofBytes,
boolean checkVRFProof) |
static VRFProof |
deserialize(byte[] proofBytes,
boolean checkVRFProof,
boolean compressed) |
void |
freeProof() |
boolean |
isValidVRFProof() |
byte[] |
serializeProof() |
byte[] |
serializeProof(boolean compressed) |
public static VRFProof deserialize(byte[] proofBytes, boolean checkVRFProof, boolean compressed)
public static VRFProof deserialize(byte[] proofBytes, boolean checkVRFProof)
public static VRFProof deserialize(byte[] proofBytes)
public byte[] serializeProof(boolean compressed)
public byte[] serializeProof()
public boolean isValidVRFProof()
public void freeProof()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2020–2021. All rights reserved.