Class Verification
java.lang.Object
cloud.pangeacyber.pangea.audit.utils.Verification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConsistencyProofdecodeConsistencyProof(String[] consistencyProof) static MembershipProofdecodeMembershipProof(String memProof) static EventVerificationverifyConsistencyProof(String currRootHashEnc, String prevRootHashEnc, ConsistencyProof proof) static EventVerificationverifyMembershipProof(String rootHashEnc, String nodeHashEnc, String membershipProof)
-
Constructor Details
-
Verification
public Verification()
-
-
Method Details
-
verifyMembershipProof
public static EventVerification verifyMembershipProof(String rootHashEnc, String nodeHashEnc, String membershipProof) -
decodeMembershipProof
-
decodeConsistencyProof
-
verifyConsistencyProof
public static EventVerification verifyConsistencyProof(String currRootHashEnc, String prevRootHashEnc, ConsistencyProof proof)
-