| Package | Description |
|---|---|
| ch.epfl.dedis.byzcoin | |
| ch.epfl.dedis.byzcoin.contracts | |
| ch.epfl.dedis.calypso | |
| ch.epfl.dedis.eventlog | |
| ch.epfl.dedis.lib.darc |
| Modifier and Type | Method and Description |
|---|---|
DarcId |
StateChangeBody.getDarcBaseId()
Getter for the Darc base ID.
|
DarcId |
Proof.getDarcBaseID() |
DarcId |
Instance.getDarcBaseID() |
DarcId |
StateChange.getDarcBaseID()
Getter for the darc ID
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
DarcId |
SecureDarcInstance.getId() |
| Modifier and Type | Method and Description |
|---|---|
static SecureDarcInstance |
SecureDarcInstance.fromByzCoin(ByzCoinRPC bc,
DarcId baseId)
Instantiates a new DarcInstance given a working ByzCoin service and
an instanceId.
|
| Constructor and Description |
|---|
SecureDarcInstance(ByzCoinRPC bc,
DarcId spawnerBaseId,
Signer spawnerSigner,
Long signerCtr,
Darc newDarc)
Instantiates a new DarcInstance from an existing darc by sending a spawn instruction to
ByzCoin and then creating the instance from the existing darcInstance.
|
ValueInstance(ByzCoinRPC bc,
DarcId spawnerDarcId,
Signer spawnerSigner,
Long signerCtr,
byte[] value)
Instantiates a new value in ByzCoin by sending a spawn instruction to a darc
that has a "spawn:value" rule in it.
|
| Modifier and Type | Method and Description |
|---|---|
DarcId |
WriteInstance.getDarcId() |
DarcId |
Document.getPublisherId() |
| Modifier and Type | Method and Description |
|---|---|
WriteInstance |
Document.spawnWrite(CalypsoRPC calypso,
DarcId publisherDarcId,
Signer publisherSigner,
Long signerCtr)
Creates a new WriteInstance with the document stored in it.
|
| Constructor and Description |
|---|
CalypsoRPC(ByzCoinRPC byzcoin,
DarcId darcBaseID,
Roster ltsRoster,
List<Signer> signers,
List<Long> signerCtrs)
Creates a new Long Term Secret on an existing ByzCoin ledger.
|
Document(byte[] data,
byte[] keyMaterial,
byte[] extraData,
DarcId publisherId)
Initialises a document.
|
Document(byte[] data,
byte[] extraData,
DarcId publisherId)
Creates a new document from data, creates a new Darc, a symmetric
symmetricKey and encrypts the data using AES-GCM.
|
LTSInstance(CalypsoRPC calypso,
DarcId darcBaseID,
Roster roster,
List<Signer> signers,
List<Long> signerCtrs) |
WriteData(CreateLTSReply lts,
byte[] dataEnc,
byte[] keyMaterial,
byte[] extraData,
DarcId publisher)
Create a new document by giving all possible parameters.
|
WriteInstance(CalypsoRPC calypso,
DarcId darcBaseID,
List<Signer> signers,
List<Long> signerCtrs,
WriteData wr)
Constructor for creating a new instance.
|
| Constructor and Description |
|---|
EventLogInstance(ByzCoinRPC bc,
DarcId darcBaseID,
List<Signer> signers,
List<Long> signerCtrs)
Constructor for when do you not know the eventlog contract, use this constructor when constructing for the first
time.
|
| Modifier and Type | Method and Description |
|---|---|
DarcId |
Darc.getBaseId()
Gets the base-ID of the darc, i.e.
|
DarcId |
IdentityDarc.getDarcId()
Return ID of DARC
|
DarcId |
Darc.getId()
Calculate the getId of the darc by calculating the sha-256 of the invariant
parts which excludes the delegation-signature.
|
DarcId |
Darc.getPrevID() |
static DarcId |
DarcId.zero()
Creates a darc ID with all zeros.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Darc.setBaseId(DarcId id) |
void |
Darc.setPrevId(DarcId id) |
| Constructor and Description |
|---|
IdentityDarc(DarcId darcBaseID)
Instantiates a IdentityDarc given a darc-id.
|
Request(DarcId baseId,
String action,
byte[] msg,
List<Identity> identities,
List<byte[]> signatures)
Constructor for the darc request.
|
Copyright © 2019. All rights reserved.