libkazv
Kazv::Api::CrossSigningKey Struct Reference

Cross signing key. More...

#include <cross_signing_key.hpp>

Collaboration diagram for Kazv::Api::CrossSigningKey:

Public Attributes

std::string userId
 The ID of the user the key belongs to. More...
 
immer::array< std::string > usage
 What the key is used for. More...
 
immer::map< std::string, std::string > keys
 The public key. More...
 
JsonWrap signatures
 Signatures of the key, calculated using the process described at Signing JSON. More...
 

Detailed Description

Cross signing key.

Member Data Documentation

◆ keys

immer::map<std::string, std::string> Kazv::Api::CrossSigningKey::keys

The public key.

The object must have exactly one property, whose name is in the form <algorithm>:<unpadded_base64_public_key>, and whose value is the unpadded base64 public key.

◆ signatures

JsonWrap Kazv::Api::CrossSigningKey::signatures

Signatures of the key, calculated using the process described at Signing JSON.

Optional for the master key. Other keys must be signed by the user\'s master key.

◆ usage

immer::array<std::string> Kazv::Api::CrossSigningKey::usage

What the key is used for.

◆ userId

std::string Kazv::Api::CrossSigningKey::userId

The ID of the user the key belongs to.


The documentation for this struct was generated from the following file: