Expand description
Creating an identity and keeping its key packages: the identity-owned
constructors and key package rotation over the Identity struct.
Structs§
- Xmtp
KeyPackage - Xmtp
KeyPackage Builder - Builder for
XmtpKeyPackage.
Enums§
- Identity
Strategy - The identity strategy determines how the
xmtp_mls::builder::ClientBuilderconstructs an identity on startup.
Functions§
- generate_
and_ store_ key_ package - Store key material and its history row in one state transaction. Return bytes for upload and the history ID for its later receipt.
- new_
identity - Create a new Identity instance.
- new_
key_ package - Generate a new key package and store the associated keys in the database.
- rotate_
and_ upload_ key_ package - Store fresh key material before upload, then record its publication receipt. Receipt order controls retirement. A read settles unknown publications first. Receipt bookkeeping and the next rotation deadline commit together.