public class Proof extends Object
| Constructor and Description |
|---|
Proof(OmniLedgerProto.Proof p)
Creates a new proof given a protobuf-representation.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getKey() |
List<byte[]> |
getValues() |
boolean |
matches() |
boolean |
verify()
Verifies the proof with regard to the root id.
|
public Proof(OmniLedgerProto.Proof p)
p - public boolean verify()
throws CothorityException
CothorityExceptionpublic boolean matches()
public byte[] getKey()
public List<byte[]> getValues()
Copyright © 2018. All rights reserved.