Module globalid

Source
Expand description

Manager-global identifiers, for things that need to be identified outside the scope of a single RPC connection.

We expect to use this code to identify TorClients and similar objects that can be passed as the target of a SOCKS request. Since the SOCKS request is not part of the RPC session, we need a way for it to refer to these objects.

Structs§

GlobalId 🔒
A RpcMgr-scoped identifier for an RPC object.
MacKey 🔒
An key that we use to compute message authentication codes (MACs) for our GlobalIds

Constants§

MAC_KEY_LEN 🔒
The number of bytes in our MacKey.
MAC_LEN 🔒
The number of bytes in a Mac.

Type Aliases§

Mac 🔒
A message authentication code produced by MacKey::mac.