public class ForwardLink extends Object
| Constructor and Description |
|---|
ForwardLink(byte[] buf) |
ForwardLink(com.google.protobuf.ByteString bs) |
ForwardLink(SkipchainProto.ForwardLink fl) |
| Modifier and Type | Method and Description |
|---|---|
ByzcoinSig |
getByzcoinSig() |
SkipblockId |
getFrom() |
Roster |
getNewRoster() |
SkipblockId |
getTo() |
byte[] |
hash() |
boolean |
isEmpty() |
boolean |
verify(List<Point> publics)
Verifies whether the signature is correctly signed by the given public keys.
|
public ForwardLink(SkipchainProto.ForwardLink fl)
public ForwardLink(byte[] buf)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic ForwardLink(com.google.protobuf.ByteString bs)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic SkipblockId getFrom() throws CothorityCryptoException
CothorityCryptoException - if there's a problem with the cryptographypublic SkipblockId getTo() throws CothorityCryptoException
CothorityCryptoException - if there's a problem with the cryptographypublic Roster getNewRoster() throws URISyntaxException
URISyntaxException - if the roster in the forward link has a problempublic ByzcoinSig getByzcoinSig()
public boolean verify(List<Point> publics)
publics - is the list of public keys used to sign the forward link.public boolean isEmpty()
public byte[] hash()
Copyright © 2019. All rights reserved.