Class ListProof
java.lang.Object
com.exonum.binding.core.storage.indices.ListProof
public abstract class ListProof
extends java.lang.Object
A view of a
ProofListIndexProxy
, i.e., a subset of its elements coupled
with a proof, which jointly allow restoring the
index hash of the list. Apart from proving
elements in the list, ListProof can assert that the list is shorter than the requested
range of indexes.
-
Constructor Summary
Constructors Constructor Description ListProof()
-
Method Summary
Modifier and Type Method Description abstract ListProofOuterClass.ListProof
getAsMessage()
Returns the proof as a protobuf message.static ListProof
parseFrom(byte[] proofMessage)
Creates a new ListProof given the serialized map proof message.
-
Constructor Details
-
ListProof
public ListProof()
-
-
Method Details
-
getAsMessage
Returns the proof as a protobuf message. -
parseFrom
public static ListProof parseFrom(byte[] proofMessage) throws com.google.protobuf.InvalidProtocolBufferExceptionCreates a new ListProof given the serialized map proof message.- Throws:
com.google.protobuf.InvalidProtocolBufferException
- if the message is notListProofOuterClass.ListProof
-