IdentityStore

interface IdentityStore

The local device's long-term identity key pair. There is at most one.

Functions

Link copied to clipboard
abstract suspend fun identity(): LocalIdentity?
Link copied to clipboard
abstract suspend fun store(identity: LocalIdentity)

Stores the local identity. Throws IllegalStateException if one exists already: an identity is never replaced silently.