public class OnchainSecrets extends OnchainSecrets
adminDarc, ocsID, roster, X| Constructor and Description |
|---|
OnchainSecrets(Roster roster,
Darc admin)
Creates a new OnchainSecrets class and creates a new skipchain.
|
OnchainSecrets(Roster roster,
SkipblockId ocsID)
Creates a new OnchainSecrets class that attaches to an existing skipchain.
|
| Modifier and Type | Method and Description |
|---|---|
Darc |
getLatestReaders(WriteRequestId id)
Searches for the most up-to-date readers-darc of the given write
request.
|
addIdentityToDarc, addIdentityToDarc, addIdentityToDarc, getDarcPath, getDocument, getDocumentEphemeral, publishDocument, removeIdentityFromDarccreateReadRequest, createSkipchains, createWriteRequest, getAdminDarc, getDarcPath, getDecryptionKey, getDecryptionKeyEphemeral, getGenesis, getID, getLatestDarc, getRead, getRoster, getSharedPublicKey, getSkipblock, getTransaction, getWrite, getX, updateDarc, verifypublic OnchainSecrets(Roster roster, SkipblockId ocsID) throws CothorityCommunicationException, CothorityCryptoException
roster - ocsID - CothorityCommunicationExceptionCothorityCryptoExceptionpublic OnchainSecrets(Roster roster, Darc admin) throws CothorityCommunicationException, CothorityCryptoException
roster - admin - CothorityCommunicationExceptionCothorityCryptoExceptionpublic Darc getLatestReaders(WriteRequestId id)
id - Copyright © 2018. All rights reserved.