| Package | Description |
|---|---|
| ch.epfl.dedis.byzcoin | |
| ch.epfl.dedis.byzgen | |
| ch.epfl.dedis.calypso | |
| ch.epfl.dedis.lib | |
| 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.
|
static Instance |
Instance.fromByzcoin(ByzCoinRPC bc,
InstanceId id)
Creates an instance given an id and a Byzcoin service.
|
Block |
ByzCoinRPC.getBlock(SkipblockId id)
Fetches a given block from the skipchain and returns the corresponding Block.
|
Proof |
ByzCoinRPC.getProof(InstanceId id)
Gets a proof from byzcoin to show that a given instance is stored in the
global state.
|
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 |
|---|---|
CalypsoRPC |
CalypsoFactory.initialiseNewCalypso(Signer admin)
Create a new skipchain.
|
| Modifier and Type | Method and Description |
|---|---|
LTS |
CalypsoRPC.createLTS()
Create a long-term-secret (LTS) and retrieve its configuration.
|
static WriteData |
WriteData.fromByzcoin(ByzCoinRPC bc,
InstanceId id)
Recreates a WriteData from an instanceid.
|
Point |
CalypsoRPC.getSharedPublicKey(LTSId ltsId)
returns the shared symmetricKey of the DKG that must be used to encrypt the
symmetric encryption symmetricKey.
|
DecryptKeyReply |
CalypsoRPC.tryDecrypt(Proof writeProof,
Proof readProof)
Ask the secret-manageemnt 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.getLatestSkipblock() |
SkipBlock |
SkipchainRPC.getSkipblock(SkipblockId id)
Returns the skipblock from the skipchain, given its id.
|
| 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 © 2018. All rights reserved.