public class ProvingSystem extends Object
| Constructor and Description |
|---|
ProvingSystem() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkProofVkSize(boolean zk,
int supportedSegmentSize,
int maxProofSize,
int maxVkSize,
String verificationKeyPath) |
static boolean |
generateDLogKeys(ProvingSystemType psType,
int maxSegmentSize,
int supportedSegmentSize) |
static ProvingSystemType |
getProofProvingSystemType(byte[] proof) |
static ProvingSystemType |
getProverKeyProvingSystemType(String provingKeyPath) |
static ProvingSystemType |
getVerifierKeyProvingSystemType(String verifierKeyPath) |
public static boolean generateDLogKeys(ProvingSystemType psType, int maxSegmentSize, int supportedSegmentSize)
public static boolean checkProofVkSize(boolean zk,
int supportedSegmentSize,
int maxProofSize,
int maxVkSize,
String verificationKeyPath)
public static ProvingSystemType getProverKeyProvingSystemType(String provingKeyPath)
public static ProvingSystemType getVerifierKeyProvingSystemType(String verifierKeyPath)
public static ProvingSystemType getProofProvingSystemType(byte[] proof)
Copyright © 2020–2021. All rights reserved.