| Package | Description |
|---|---|
| ch.epfl.dedis.lib.darc | |
| ch.epfl.dedis.ocs |
| Modifier and Type | Method and Description |
|---|---|
DarcId |
Darc.getBaseId()
Returns the id of the darc with version == 0.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
List<DarcId> |
SignaturePath.getPathIDs() |
| Constructor and Description |
|---|
IdentityDarc(DarcId darcID)
Instantiates a IdentityDarc given a darc-id.
|
| Modifier and Type | Method and Description |
|---|---|
Darc |
OnchainSecrets.addIdentityToDarc(DarcId id,
Signer identity,
Signer signer,
int role)
Instead of giving a darc, this method will search for an existing darc given its id on the
skipchain.
|
SignaturePath |
OnchainSecretsRPC.getDarcPath(DarcId base,
Identity identity,
int role)
Gets a darc-path starting from the base to the identity given.
|
SignaturePath |
OnchainSecrets.getDarcPath(DarcId base,
Signer identity,
int role)
Convenience method to pass a signer as identity and get the darc-path used in signatures.
|
List<Darc> |
OnchainSecretsRPC.getLatestDarc(DarcId id)
Requests the whole chain of darcs up to the current latest darc.
|
Copyright © 2018. All rights reserved.