| Package | Description |
|---|---|
| ch.epfl.dedis.lib.omniledger.darc |
| 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 |
SignerX509EC.getIdentity()
Creates an 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 |
|---|---|
static Map<String,byte[]> |
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 Map<String,byte[]> |
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 © 2018. All rights reserved.