public class ReadRequest extends Object
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
OCSProto.Read |
ToProto()
Return the protobuf-representation of the ReadRequest.
|
public ReadRequest(OnchainSecretsRPC ocs, WriteRequestId wrId, Signer reader) throws CothorityCommunicationException, CothorityCryptoException
ocs - a pointer to an initialized OnchainSecrets for retrieving the write request and
the pathwrId - the write request the reader wants to accessreader - a reader with access to the documentCothorityCommunicationExceptionCothorityCryptoExceptionpublic ReadRequest(WriteRequestId wrId, DarcSignature signature)
public OCSProto.Read ToProto()
Copyright © 2018. All rights reserved.