Uses of Class
com.horizen.certnative.WithdrawalCertificate
-
Packages that use WithdrawalCertificate Package Description com.horizen.certnative com.horizen.cswnative -
-
Uses of WithdrawalCertificate in com.horizen.certnative
Methods in com.horizen.certnative that return WithdrawalCertificate Modifier and Type Method Description static WithdrawalCertificateWithdrawalCertificate. getRandom(Random r, int numBt, int numCustomFields)Methods in com.horizen.certnative with parameters of type WithdrawalCertificate Modifier and Type Method Description static FieldElementNaiveThresholdSignatureWKeyRotation. createMsgToSign(WithdrawalCertificate withdrawalCertificate)static CreateProofResultNaiveThresholdSignatureWKeyRotation. createProof(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignaturesList, long maxPks, long threshold, FieldElement genesisKeysRootHash, String provingKeyPath, boolean zk)Compute proof for given parametersstatic CreateProofResultNaiveThresholdSignatureWKeyRotation. createProof(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignaturesList, long maxPks, long threshold, FieldElement genesisKeysRootHash, Optional<Integer> supportedDegree, String provingKeyPath, boolean zk)Compute proof for given parametersstatic CreateProofResultNaiveThresholdSignatureWKeyRotation. createProof(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignaturesList, long maxPks, long threshold, FieldElement genesisKeysRootHash, Optional<Integer> supportedDegree, String provingKeyPath, boolean checkProvingKey, boolean zk)Compute proof for given parametersstatic CreateProofResultNaiveThresholdSignatureWKeyRotation. createProof(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignaturesList, long maxPks, long threshold, FieldElement genesisKeysRootHash, Optional<Integer> supportedDegree, String provingKeyPath, boolean checkProvingKey, boolean zk, boolean compressedPk, boolean compressProof)Compute proof for given parametersstatic Optional<String>NaiveThresholdSignatureWKeyRotation. debugCircuit(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignatures, long maxPks, long threshold, FieldElement genesisKeysRootHash)Checks if possible to create a valid proof with the supplied data.static booleanNaiveThresholdSignatureWKeyRotation. verifyProof(WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, FieldElement genesisConstant, byte[] proof, boolean checkProof, String verificationKeyPath, boolean checkVerificationKey)Verify proof using the supplied parametersstatic booleanNaiveThresholdSignatureWKeyRotation. verifyProof(WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, FieldElement genesisConstant, byte[] proof, String verificationKeyPath)Verify proof using the supplied parametersMethod parameters in com.horizen.certnative with type arguments of type WithdrawalCertificate Modifier and Type Method Description static CreateProofResultNaiveThresholdSignatureWKeyRotation. createProof(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignaturesList, long maxPks, long threshold, FieldElement genesisKeysRootHash, String provingKeyPath, boolean zk)Compute proof for given parametersstatic CreateProofResultNaiveThresholdSignatureWKeyRotation. createProof(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignaturesList, long maxPks, long threshold, FieldElement genesisKeysRootHash, Optional<Integer> supportedDegree, String provingKeyPath, boolean zk)Compute proof for given parametersstatic CreateProofResultNaiveThresholdSignatureWKeyRotation. createProof(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignaturesList, long maxPks, long threshold, FieldElement genesisKeysRootHash, Optional<Integer> supportedDegree, String provingKeyPath, boolean checkProvingKey, boolean zk)Compute proof for given parametersstatic CreateProofResultNaiveThresholdSignatureWKeyRotation. createProof(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignaturesList, long maxPks, long threshold, FieldElement genesisKeysRootHash, Optional<Integer> supportedDegree, String provingKeyPath, boolean checkProvingKey, boolean zk, boolean compressedPk, boolean compressProof)Compute proof for given parametersstatic Optional<String>NaiveThresholdSignatureWKeyRotation. debugCircuit(ValidatorKeysUpdatesList keysSignaturesList, WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, List<SchnorrSignature> certSignatures, long maxPks, long threshold, FieldElement genesisKeysRootHash)Checks if possible to create a valid proof with the supplied data.static booleanNaiveThresholdSignatureWKeyRotation. verifyProof(WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, FieldElement genesisConstant, byte[] proof, boolean checkProof, String verificationKeyPath, boolean checkVerificationKey)Verify proof using the supplied parametersstatic booleanNaiveThresholdSignatureWKeyRotation. verifyProof(WithdrawalCertificate withdrawalCertificate, Optional<WithdrawalCertificate> prevWithdrawalCertificate, FieldElement genesisConstant, byte[] proof, String verificationKeyPath)Verify proof using the supplied parameters -
Uses of WithdrawalCertificate in com.horizen.cswnative
Method parameters in com.horizen.cswnative with type arguments of type WithdrawalCertificate Modifier and Type Method Description static byte[]CswProof. createProof(int rangeSize, int numCustomFields, CswSysData sysData, FieldElement scId, Optional<WithdrawalCertificate> lastWcert, Optional<CswUtxoProverData> utxoData, Optional<CswFtProverData> ftData, String provingKeyPath)Compute proof for given parameters.static byte[]CswProof. createProof(int rangeSize, int numCustomFields, CswSysData sysData, FieldElement scId, Optional<WithdrawalCertificate> lastWcert, Optional<CswUtxoProverData> utxoData, Optional<CswFtProverData> ftData, Optional<Integer> segmentSize, String provingKeyPath)Compute proof for given parameters.static byte[]CswProof. createProof(int rangeSize, int numCustomFields, CswSysData sysData, FieldElement scId, Optional<WithdrawalCertificate> lastWcert, Optional<CswUtxoProverData> utxoData, Optional<CswFtProverData> ftData, Optional<Integer> segmentSize, String provingKeyPath, boolean zk)Compute proof for given parametersstatic byte[]CswProof. createProof(int rangeSize, int numCustomFields, CswSysData sysData, FieldElement scId, Optional<WithdrawalCertificate> lastWcert, Optional<CswUtxoProverData> utxoData, Optional<CswFtProverData> ftData, Optional<Integer> segmentSize, String provingKeyPath, boolean checkProvingKey, boolean zk)Compute proof for given parametersstatic byte[]CswProof. createProof(int rangeSize, int numCustomFields, CswSysData sysData, FieldElement scId, Optional<WithdrawalCertificate> lastWcert, Optional<CswUtxoProverData> utxoData, Optional<CswFtProverData> ftData, Optional<Integer> segmentSize, String provingKeyPath, boolean checkProvingKey, boolean zk, boolean compressed_pk, boolean compress_proof)Compute proof for given parametersstatic Optional<String>CswProof. debugCircuit(int rangeSize, int numCustomFields, CswSysData sysData, FieldElement scId, Optional<WithdrawalCertificate> lastWcert, Optional<CswUtxoProverData> utxoData, Optional<CswFtProverData> ftData)Checks if possible to create a valid proof with the supplied data.
-