| Package | Description |
|---|---|
| ch.epfl.dedis.lib.omniledger | |
| ch.epfl.dedis.lib.omniledger.contracts | |
| ch.epfl.dedis.lib.omniledger.darc |
| Modifier and Type | Method and Description |
|---|---|
DarcId |
TransactionId.getDarcId() |
DarcId |
InstanceId.getDarcId() |
| Constructor and Description |
|---|
InstanceId(DarcId did,
SubId sid) |
TransactionId(DarcId did,
SubId sid) |
| Modifier and Type | Method and Description |
|---|---|
DarcId |
DarcInstance.getId() |
| Constructor and Description |
|---|
EventLogInstance(OmniledgerRPC ol,
List<Signer> signers,
DarcId darcId)
Constructor for when do you not know the eventlog instance, 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 darcID)
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 © 2018. All rights reserved.