Crate aranya_daemon_api

Crate aranya_daemon_api 

Source
Expand description

Internal crate for aranya-client and aranya-daemon.

This crate is an implementation detail for aranya-client and aranya-daemon and is exposed out of necessity. It is permanently unstable and does NOT promise backward compatibility.

Modules§

crypto
Cryptography.
quic_sync

Macros§

text
Creates a Text from a string literal.

Structs§

AddTeamConfig
A configuration for adding a team in the daemon.
AddTeamQuicSyncConfig
Configuration for adding members to an existing team with QUIC synchronization.
CreateTeamConfig
A configuration for creating a team in the daemon.
CreateTeamQuicSyncConfig
Configuration for creating a new team with QUIC synchronization.
DaemonApiClient
The client stub that makes RPC calls to the server. All request methods return Futures.
DeviceId
The Device ID.
Error
An error returned by the API.
Ikm
A PSK IKM.
KeyBundle
A device’s public key bundle.
Label
A label.
LabelId
An AQC label ID.
NetIdentifier
A device’s network identifier.
Secret
A secret.
ServeDaemonApi
A serving function to use with ::tarpc::server::InFlightRequest::execute.
SyncPeerConfig
Configuration values for syncing with a peer
TeamId
The Team ID (a.k.a Graph ID).
Text
A string-like value which is utf8 without nul bytes.
Version
SemVer version as defined by https://semver.org.
WrappedSeed

Enums§

AddSeedMode
Specifies how PSK seeds are provided when joining teams.
ChanOp
Valid channel operations for a label assignment.
CipherSuiteId
A TLS 1.3 cipher suite.
CreateSeedMode
Specifies how PSK seeds are provided when creating a new team.
DaemonApiRequest
The request sent over the wire from the client to the server.
DaemonApiResponse
The response sent over the wire from the server to the client.
Role
A device’s role on the team.

Constants§

SEED_IKM_SIZE

Traits§

DaemonApi
DaemonApiStub
The stub trait for service DaemonApi.

Type Aliases§

CE
CE = Crypto Engine
CS
CS = Cipher Suite
Result