Class ListProof
- java.lang.Object
-
- com.exonum.binding.core.storage.indices.ListProof
-
public abstract class ListProof extends Object
A view of aProofListIndexProxy, 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
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.exonum.messages.proof.ListProofOuterClass.ListProofgetAsMessage()Returns the proof as a protobuf message.static ListProofparseFrom(byte[] proofMessage)Creates a new ListProof given the serialized map proof message.
-
-
-
Method Detail
-
getAsMessage
public abstract com.exonum.messages.proof.ListProofOuterClass.ListProof getAsMessage()
Returns the proof as a protobuf message.
-
parseFrom
public static ListProof parseFrom(byte[] proofMessage) throws com.google.protobuf.InvalidProtocolBufferException
Creates a new ListProof given the serialized map proof message.- Throws:
com.google.protobuf.InvalidProtocolBufferException- if the message is notListProofOuterClass.ListProof
-
-