Expand description

Module containing customized types modeling Matrix keys.

These types were mostly taken from the Ruma project. The types differ in two important ways to the Ruma types of the same name:

  1. They are using vodozemac types so we directly deserialize into a vodozemac curve25519 or ed25519 key.
  2. They support lossless serialization cycles in a canonical JSON supported way, meaning the white-space and field order won’t be preserved but the data will.

Structs

A cross signing key.

Identity keys for a device.

A key for the SignedCurve25519 algorithm

Additional data added to device key information by intermediate servers.

Enums

An enum over the different key types a device can have.

A one-time public key for “pre-key” messages.

An enum over the different key types a cross-signing key can have.

Type Definitions

Signatures for a CrossSigningKey object.

Signatures for a SignedKey object.