| Package | Description |
|---|---|
| ch.epfl.dedis.byzcoin | |
| ch.epfl.dedis.byzcoin.contracts | |
| ch.epfl.dedis.byzcoin.transaction | |
| ch.epfl.dedis.lib.darc |
| 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 |
|---|---|
Instruction |
SecureDarcInstance.evolveDarcInstruction(Darc newDarc,
Identity id,
Long signerCtr)
Creates an instruction to evolve the darc in byzcoin.
|
Instruction |
SecureDarcInstance.evolveDarcInstruction(Darc newDarc,
Identity id,
Long signerCtr,
boolean unrestricted)
Creates an instruction to (unrestricted) evolve the darc in byzcoin.
|
Instruction |
ValueInstance.evolveValueInstruction(byte[] newValue,
Identity owner,
Long signerCtr)
Creates an instruction to evolve the value in byzcoin.
|
Instruction |
SecureDarcInstance.spawnInstanceInstruction(String contractID,
Identity id,
Long signerCtr,
List<Argument> args)
Creates an instruction for spawning an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Instruction |
ChainConfigInstance.evolveChainConfigInstruction(ChainConfigData newConfig,
List<Identity> ids,
List<Long> ownerCtrs)
Creates an instruction to evolve the value in byzcoin.
|
| Modifier and Type | Method and Description |
|---|---|
List<Identity> |
Instruction.getSignerIdentities()
Getter for signer identities.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Instruction.setSignerIdentities(List<Identity> signerIdentities) |
| Constructor and Description |
|---|
Instruction(InstanceId instId,
List<Identity> ids,
List<Long> ctrs,
Delete delete)
Use this constructor if it is a delete instruction, i.e.
|
Instruction(InstanceId instId,
List<Identity> ids,
List<Long> ctrs,
Invoke invoke)
Use this constructor if it is an invoke instruction, i.e.
|
Instruction(InstanceId instId,
List<Identity> ids,
List<Long> ctrs,
Spawn spawn)
Use this constructor if it is a spawn instruction, i.e.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IdentityDarc |
class |
IdentityEd25519 |
class |
IdentityX509EC
IdentityX509EC 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 | Field and Description |
|---|---|
Identity |
Signature.signer |
| Modifier and Type | Method and Description |
|---|---|
Identity |
Signer.getIdentity()
Returns an identity of the signer.
|
Identity |
SignerEd25519.getIdentity()
Creates an identity of the signer.
|
Identity |
Darc.getIdentity() |
Identity |
SignerX509EC.getIdentity()
Returns the identity of the signer.
|
static Identity |
IdentityFactory.New(Darc darc)
Creates the corresponding identity to a darc.
|
static Identity |
IdentityFactory.New(DarcProto.Identity proto)
Returns an instantiated identity that is stored in proto.
|
static Identity |
IdentityFactory.New(Signer signer)
Creates the corresponding identity to a signer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Darc.addIdentity(String action,
Identity id,
String link)
Add a rule to the Darc.
|
| Modifier and Type | Method and Description |
|---|---|
static Rules |
Darc.initRules(List<Identity> owners,
List<Identity> signers)
This is a convenience function that initialise a set of rules with the default actions "_evolve" and "_sign".
|
static Rules |
Darc.initRules(List<Identity> owners,
List<Identity> signers)
This is a convenience function that initialise a set of rules with the default actions "_evolve" and "_sign".
|
| Constructor and Description |
|---|
Signature(byte[] signature,
Identity signer) |
| Constructor and Description |
|---|
Darc(List<Identity> owners,
List<Identity> signers,
byte[] desc)
Convenience constructor
|
Darc(List<Identity> owners,
List<Identity> signers,
byte[] desc)
Convenience constructor
|
Request(DarcId baseId,
String action,
byte[] msg,
List<Identity> identities,
List<byte[]> signatures)
Constructor for the darc request.
|
Copyright © 2019. All rights reserved.