blob: c8bd759aaf2bf0b8d2071b58f3336a1475574342 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package protocol
type CiphertextMessage interface {
Serialize() []byte
Type() uint32
}
type GroupCiphertextMessage interface {
CiphertextMessage
SignedSerialize() []byte
}
const UnsupportedVersion = 1
const CurrentVersion = 3
const WHISPER_TYPE = 2
const PREKEY_TYPE = 3
const SENDERKEY_TYPE = 4
const SENDERKEY_DISTRIBUTION_TYPE = 5
|