# README
Store
SQLite Store
Identity Store
The identity store stores the user's long term public and private identity keys
Prekey Store
The prekey store stores the user's unsigned prekeys, which are used for establishing secure sessions with other users.
Signed Prekey Store
The signed prekey store stores the user's signed prekeys, which are used for establishing secure sessions with other users.
Session Store
The session store stores the user's active sessions with other users, including the session keys and other metadata.
# Functions
CreateTables ensures that the necessary tables for the Signal Protocol stores exist.
DecodeAndDeserializeKeyPair deserializes a JSON-encoded byte slice into the provided struct (mimics gobDecode).
ExtractUserIDAndDeviceID extracts the userID and deviceID from a combined registrationID.
No description provided by the author
No description provided by the author
LoadLocalIdentity loads the identity key pair and registration ID based on the current device's MAC address.
Convert a MAC address string into a uint32 with a limit to 10 bits.
NewIdentityStore creates a new SQLite-backed identity store.
NewIdentityStore creates a new SQLite-backed identity store.
NewPreKeyStore creates a new SQLite-backed pre-key store.
NewSessionStore creates a new SQLite-backed session store.
NewSignedPreKeyStore creates a new SQLite-backed signed pre-key store.
No description provided by the author
SerializeKeyPairAndEncode serializes a struct to JSON format (mimics gobEncode).
To returns a pointer to the given type.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author