Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyTypeIntToPurpose = map[int16]gomatrixserverlib.CrossSigningKeyPurpose{ 1: gomatrixserverlib.CrossSigningKeyPurposeMaster, 2: gomatrixserverlib.CrossSigningKeyPurposeSelfSigning, 3: gomatrixserverlib.CrossSigningKeyPurposeUserSigning, }
KeyTypeIntToPurpose maps an integer to a purpose, which is used in the database to reduce the amount of space taken up by this column.
View Source
var KeyTypePurposeToInt = map[gomatrixserverlib.CrossSigningKeyPurpose]int16{ gomatrixserverlib.CrossSigningKeyPurposeMaster: 1, gomatrixserverlib.CrossSigningKeyPurposeSelfSigning: 2, gomatrixserverlib.CrossSigningKeyPurposeUserSigning: 3, }
KeyTypePurposeToInt maps a purpose to an integer, which is used in the database to reduce the amount of space taken up by this column.
Functions ¶
This section is empty.
Types ¶
type CrossSigningKeyMap ¶
type CrossSigningKeyMap map[gomatrixserverlib.CrossSigningKeyPurpose]gomatrixserverlib.Base64Bytes
Map of purpose -> public key
type CrossSigningSigMap ¶
type CrossSigningSigMap map[string]map[gomatrixserverlib.KeyID]gomatrixserverlib.Base64Bytes
Map of user ID -> key ID -> signature
Click to show internal directories.
Click to hide internal directories.