Changeset View
Changeset View
Standalone View
Standalone View
lib/types/crypto-types.js
Show All 31 Lines | export type IdentityKeysBlob = { | ||||
+primaryIdentityPublicKeys: OLMIdentityKeys, | +primaryIdentityPublicKeys: OLMIdentityKeys, | ||||
+notificationIdentityPublicKeys: OLMIdentityKeys, | +notificationIdentityPublicKeys: OLMIdentityKeys, | ||||
}; | }; | ||||
export type SignedIdentityKeysBlob = { | export type SignedIdentityKeysBlob = { | ||||
+payload: string, | +payload: string, | ||||
+signature: string, | +signature: string, | ||||
}; | }; | ||||
export const olmEncryptedMessageTypes = Object.freeze({ | |||||
PREKEY: 0, | |||||
TEXT: 1, | |||||
}); |