Expand description

Key Packages.

In order to facilitate asynchronous addition of clients to a group, it is necessary to pre-publish key packages that provide some public information about a user. KeyPackage structures provide information about a client that any existing member can use to add this client to the group asynchronously. A KeyPackage object specifies a ciphersuite that the client supports, as well as providing a public key that others can use for key agreement. The identity arising from the credential, together with the endpoint_id in the KeyPackage serve to uniquely identify a client in a group. When used as InitKeys, KeyPackages are intended to be used only once and SHOULD NOT be reused except in case of last resort. (See Section 15.4). Clients MAY generate and publish multiple InitKeys to support multiple ciphersuites.

Re-exports

pub use errors::*;

Modules

Key Package errors

Structs

A Key Package.

Contains a KeyPackage, the correponding HpkePrivateKey and a leaf secret.

The unsigned payload of a key package. Any modification must happen on this unsigned struct. Use sign to get a signed key package.