| 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 |
|---|---|
void |
Instruction.signBy(List<Signer> signers)
Have a list of signers sign the instruction.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionId |
DarcInstance.evolveDarc(Darc newDarc,
Signer owner) |
void |
DarcInstance.evolveDarcAndWait(Darc newDarc,
Signer owner)
Asks omniledger to evolve the darc and waits until the new darc has
been stored in the global state.
|
Instruction |
DarcInstance.evolveDarcInstruction(Darc newDarc,
Signer owner,
int pos,
int len)
Creates an instruction to evolve the darc in omniledger.
|
TransactionId |
ValueInstance.evolveValue(byte[] newValue,
Signer owner) |
void |
ValueInstance.evolveValueAndWait(byte[] newValue,
Signer owner)
Asks omniledger to update the value and waits until the new value has
been stored in the global state.
|
Instruction |
ValueInstance.evolveValueInstruction(byte[] newValue,
Signer owner,
int pos,
int len)
Creates an instruction to evolve the value in omniledger.
|
TransactionId |
DarcInstance.spawnContract(String contractID,
Signer s,
List<Argument> args)
Like spawnContractInstruction, but creates a ClientTransaction with only this instruction and sends it
to the omniledger.
|
Proof |
DarcInstance.spawnContractAndWait(String contractID,
Signer s,
List<Argument> args,
int wait)
Like spawnContract but waits for the instance to be stored in omniledger.
|
Instruction |
DarcInstance.spawnContractInstruction(String contractID,
Signer s,
List<Argument> args,
int pos,
int len)
Creates an instruction for spawning a contract.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceId |
EventLogInstance.log(Event event,
List<Signer> signers)
Logs an event, the returned value is the ID of the event which can be retrieved later.
|
List<InstanceId> |
EventLogInstance.log(List<Event> events,
List<Signer> signers)
Logs a list of events, the returned value is a list of ID for every event which can be used to retrieve events
later.
|
| 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 | Class and Description |
|---|---|
class |
SignerEd25519 |
class |
SignerX509EC
SignerX509EC represents a keycard that holds its private key and can only be used to sign
but which will not reveal its private key.
|
| Modifier and Type | Method and Description |
|---|---|
static Signer |
SignerFactory.New(byte[] data)
Returns the signer corresponding to the data.
|
| Modifier and Type | Method and Description |
|---|---|
static Identity |
IdentityFactory.New(Signer signer)
Creates the corresponding identity to a signer.
|
| Constructor and Description |
|---|
IdentityEd25519(Signer signer)
Creates an IdentityEd25519 from a SignerEd25519.
|
IdentityX509EC(Signer signer)
Creates an IdentityEd25519 from a SignerEd25519.
|
Copyright © 2018. All rights reserved.