| Package | Description |
|---|---|
| ch.epfl.dedis.byzcoin | |
| ch.epfl.dedis.byzcoin.contracts | |
| ch.epfl.dedis.calypso | |
| ch.epfl.dedis.lib.network | |
| ch.epfl.dedis.skipchain | |
| ch.epfl.dedis.status |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
ByzCoinRPC.checkAuthorization(DarcId id,
List<Identity> identities)
CheckAuthorization asks ByzCoin which of the rules stored in the latest version of the darc given by id
can be resolved with a combination of signatures given by identities.
|
boolean |
ByzCoinRPC.checkStateChangeValidity(StateChange sc)
Checks if the state change is valid or has been tempered
|
static Instance |
Instance.fromByzcoin(ByzCoinRPC bc,
InstanceId id)
Creates an instance given an id and a Byzcoin service.
|
List<StateChange> |
ByzCoinRPC.getAllInstanceVersion(InstanceId id)
Fetches all the state changes of the given instance
|
Block |
ByzCoinRPC.getBlock(SkipblockId id)
Fetches a given block from the skipchain and returns the corresponding Block.
|
StateChange |
ByzCoinRPC.getInstanceVersion(InstanceId id,
long version)
Fetches the state change for the given version and instance
|
StateChange |
ByzCoinRPC.getLastInstanceVersion(InstanceId id)
Fetches the most recent state change for the given instance
|
Proof |
ByzCoinRPC.getProof(InstanceId id)
Gets a proof from byzcoin to show that a given instance is stored in the
global state.
|
SignerCounters |
ByzCoinRPC.getSignerCounters(List<String> signerIDs)
Gets the signer counters for the signer IDs.
|
ClientTransactionId |
ByzCoinRPC.sendTransactionAndWait(ClientTransaction t,
int wait)
Sends a transaction to byzcoin and waits for up to 'wait' blocks for the transaction to be
included in the global state.
|
java.util.stream.Stream<SkipBlock> |
ByzCoinRPC.subscribeSkipBlock()
Subscribe to an infinite stream of future SkipBlocks.
|
void |
ByzCoinRPC.subscribeSkipBlock(Subscription.SkipBlockReceiver sbr)
Subscribes to all new skipBlocks that might arrive.
|
void |
Subscription.subscribeSkipBlock(Subscription.SkipBlockReceiver br)
Subscribes the receiver to the service.
|
| Constructor and Description |
|---|
Config(byte[] buf) |
| Modifier and Type | Method and Description |
|---|---|
static ChainConfigInstance |
ChainConfigInstance.fromByzcoin(ByzCoinRPC bc)
Instantiates a new ChainConfigInstance given a working byzcoin service.
|
void |
ChainConfigData.setRoster(Roster newRoster)
Sets a new roster for ByzCoin.
|
void |
ChainConfigInstance.update()
Updates the value by getting the latest instance and updating it.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CalypsoRPC.authorize(ServerIdentity si,
SkipblockId byzcoinId)
Connect to a server to an Authorized ByzCoin ID.
|
CreateLTSReply |
CalypsoRPC.createLTS(Proof proof)
Create a long-term-secret (LTS) and retrieve its configuration.
|
static WriteData |
WriteData.fromByzcoin(ByzCoinRPC bc,
InstanceId id)
Recreates a WriteData from an instanceid.
|
CreateLTSReply |
CalypsoRPC.getLTSReply(LTSId ltsId)
returns the shared symmetricKey of the DKG that must be used to encrypt the
symmetric encryption symmetricKey.
|
Proof |
LTSInstance.getProofAndVerify()
Retrieves and verifies the proof for this instance.
|
void |
CalypsoRPC.reshareLTS(Proof proof)
Start a request to reshare the LTS.
|
DecryptKeyReply |
CalypsoRPC.tryDecrypt(Proof writeProof,
Proof readProof)
Ask the secret-management cothority for the decryption shares.
|
| Modifier and Type | Method and Description |
|---|---|
StatusProto.Response |
ServerIdentity.GetStatus() |
ServerIdentity.StreamingConn |
Roster.makeStreamingConn(String path,
com.google.protobuf.GeneratedMessageV3 proto,
ServerIdentity.StreamHandler h)
Sends a request to initialise a streaming connection.
|
ServerIdentity.StreamingConn |
ServerIdentity.MakeStreamingConnection(String path,
byte[] data,
ServerIdentity.StreamHandler h)
Make a streaming connection.
|
byte[] |
ServerIdentity.SendMessage(String path,
byte[] data)
Synchronously send a message.
|
com.google.protobuf.ByteString |
Roster.sendMessage(String path,
com.google.protobuf.GeneratedMessageV3 proto)
Synchronously sends a message.
|
| Modifier and Type | Method and Description |
|---|---|
SkipBlock |
SkipchainRPC.getSkipblock(SkipblockId id)
Returns the skipblock from the skipchain, given its id.
|
List<SkipBlock> |
SkipchainRPC.getUpdateChain()
Returns a list of blocks block and verify that the links are correct.
|
List<SkipBlock> |
SkipchainRPC.getUpdateChain(SkipblockId trustedLatest)
Returns a list of blocks block and verify that the links are correct.
|
| Constructor and Description |
|---|
SkipchainRPC(Roster roster,
SkipblockId scID)
If the skipchain is already initialised, this constructor will only
initialise the class.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,OnetProto.Status> |
StatusRPC.getStatus(ServerIdentity sid)
Make an RPC to the conode identified by its server identity (sid) to get its status.
|
Copyright © 2019. All rights reserved.