| Package | Description |
|---|---|
| ch.epfl.dedis.byzgen | |
| ch.epfl.dedis.ocs |
| Modifier and Type | Method and Description |
|---|---|
Darc |
OnchainSecrets.getLatestReaders(WriteRequestId id)
Searches for the most up-to-date readers-darc of the given write
request.
|
| Modifier and Type | Field and Description |
|---|---|
WriteRequestId |
WriteRequest.id |
| Modifier and Type | Method and Description |
|---|---|
WriteRequestId |
Document.getWriteRequestId() |
| Modifier and Type | Method and Description |
|---|---|
Document |
OnchainSecrets.getDocument(WriteRequestId wrId,
Signer reader)
Creates a read-request, if successful fetches the document from the skipchain and decodes the
keymaterial.
|
Document |
OnchainSecrets.getDocumentEphemeral(WriteRequestId wrId,
Signer reader)
Requests the re-encryption symmetricKey from the skipchain, but uses an ephemeral key
for it.
|
OCSProto.Write |
OnchainSecretsRPC.getWrite(WriteRequestId id)
Requests the skipblock representing the write-request 'id' and returns
the corresponding OCSWrite-structure.
|
| Constructor and Description |
|---|
Document(byte[] dataEncrypted,
byte[] keyMaterial,
byte[] dataPublic,
Darc readers,
WriteRequestId writeRequestId)
Initialises a document.
|
ReadRequest(OnchainSecretsRPC ocs,
WriteRequestId wrId,
Signer reader)
This fetches the write-request and the path for the reader to sign.
|
ReadRequest(WriteRequestId wrId,
DarcSignature signature) |
Copyright © 2018. All rights reserved.