Struct sda_client::SdaClient [] [src]

pub struct SdaClient {
    pub agent: Agent,
    // some fields omitted
}

Primary object for interacting with the SDA service.

For instance used by participants to provide input to aggregations and by clerks to perform their clerking tasks.

Fields

Agent to be used when e.g. identifying with the service.

Methods

impl SdaClient
[src]

Create a new agent, including mandatory signature keypair.

impl SdaClient
[src]

Create a new client.

Trait Implementations

impl Maintenance for SdaClient
[src]

Upload agent to service.

Create new encryption key in keystore.

Upload encryption key to service.

impl Participating for SdaClient
[src]

Helper method combining new_participation and upload_participation.

Create a new participation to the given aggregation. Read more

Upload participation to the service.

impl Clerking for SdaClient
[src]

Execute clerking process once: download, process, and upload the next job pending on the service, if any.

This is the typical method clerks should use. Execute routine chores, including registration and clerking. Read more

impl Receiving for SdaClient
[src]

Upload aggregation to service.

Opens the aggregation for participations. Read more

Closes the aggregation for participations.

Downloads result from service and decrypts it.