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§

AqcBidiChannelId
An AQC bidi channel ID.
AqcBidiPsk
An AQC bidirectional channel PSK.
AqcBidiPsks
An injective mapping of PSKs to cipher suites for a single bidirectional channel.
AqcUniChannelId
An AQC uni channel ID.
AqcUniPsk
An AQC unidirectional PSK.
AqcUniPsks
An injective mapping of PSKs to cipher suites for a single unidirectional channel.
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.
IntoPsks
An iterator over an AQC channel’s PSKs.
KeyBundle
A device’s public key bundle.
Label
A label.
LabelId
An AQC label ID.
NetIdentifier
A device’s network identifier.
QuicSyncConfig
Secret
A secret.
ServeDaemonApi
A serving function to use with ::tarpc::server::InFlightRequest::execute.
SyncPeerConfig
Configuration values for syncing with a peer
TeamConfig
A configuration for creating or adding a team to a daemon.
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§

AqcPsk
An AQC PSK.
AqcPskId
An AQC PSK identity.
AqcPsks
An injective mapping of PSKs to cipher suites for a single bidirectional or unidirectional channel.
AqcPsksIntoIter
An iterator over an AQC channel’s PSKs.
ChanOp
Valid channel operations for a label assignment.
CipherSuiteId
A TLS 1.3 cipher suite.
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.
Directed
Either send only or receive only.
Role
A device’s role on the team.
SeedMode
Specifies how PSK seeds are provided when creating or joining teams.

Constants§

SEED_IKM_SIZE

Traits§

DaemonApi
DaemonApiStub
The stub trait for service DaemonApi.

Type Aliases§

AqcCtrl
A serialized command for AQC.
CE
CE = Crypto Engine
CS
CS = Cipher Suite
Result