public class UncheckedListProofAdapter<E> extends java.lang.Object implements UncheckedListProof
Constructor and Description |
---|
UncheckedListProofAdapter(ListProofNode rootProofNode,
Serializer<E> serializer)
Creates UncheckedListProofAdapter for convenient usage of ListProof interfaces.
|
Modifier and Type | Method and Description |
---|---|
CheckedListProof |
check()
Checks that a proof has either correct or incorrect structure and returns a CheckedListProof.
|
ListProofNode |
getRootProofNode()
Returns raw source proof of this UncheckedListProof.
|
public UncheckedListProofAdapter(ListProofNode rootProofNode, Serializer<E> serializer)
UncheckedListProofAdapter check()
method will return CheckedListProof containing
results of list proof verification.
rootProofNode
- source list proofserializer
- proof elements serializerpublic CheckedListProof check()
UncheckedListProof
check
in interface UncheckedListProof
public ListProofNode getRootProofNode()
UncheckedListProof
getRootProofNode
in interface UncheckedListProof
Copyright © 2018 Exonum. All rights reserved.