Skip to main content

Module globalid

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.