SignedPreKeyInfo

data class SignedPreKeyInfo(val id: SignedPreKeyId, val isCurrent: Boolean, val createdAt: Instant?, val replacedAt: Instant?)

Lifecycle metadata of one stored signed prekey. Holds no key material.

Constructors

Link copied to clipboard
constructor(id: SignedPreKeyId, isCurrent: Boolean, createdAt: Instant?, replacedAt: Instant?)

Properties

Link copied to clipboard

when the key was stored; null for a key stored before milestone 7 that was not stamped yet (see PreKeyStore.stampLegacySignedPreKeys).

Link copied to clipboard
Link copied to clipboard

true for the signed prekey to publish.

Link copied to clipboard

when a newer key became current and this one entered its grace period; null for the current key and unstamped old keys.