Skip to main content

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§

afcafc
crypto
Cryptography.
quic_sync
shm
A shared memory implementation of State.

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.
AfcLocalChannelId
Uniquely identifies a channel inside the shared state.
AfcReceiveChannelInfoafc
Information returned when receiving an AFC receive channel.
AfcSendChannelInfoafc
Information returned when creating an AFC send channel.
AfcShmInfoafc
AFC shared-memory info.
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.
Error
An error returned by the API.
Ikm
A PSK IKM.
InvalidText
Not a valid Text value.
Label
A label.
PublicKeyBundle
A device’s public key bundle.
Role
Secret
A secret.
ServeDaemonApi
A serving function to use with ::tarpc::server::InFlightRequest::execute.
SyncPeerConfig
Configuration values for syncing with a peer
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.
RoleManagementPerm
Role management permissions.
SimplePerm
Simple permissions.

Constants§

SEED_IKM_SIZE

Traits§

DaemonApi
DaemonApiStub
The stub trait for service DaemonApi.

Type Aliases§

AfcChannelIdafc
An globally unique AFC channel ID.
AfcCtrlafc
A serialized command for AFC.
CE
CE = Crypto Engine
CS
CS = Cipher Suite
DeviceId
The Device ID.
LabelId
A label ID.
Result
RoleId
A role ID.
TeamId
The Team ID (a.k.a Graph ID).