summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto')
-rw-r--r--vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto b/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto
new file mode 100644
index 00000000..2003ec72
--- /dev/null
+++ b/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto
@@ -0,0 +1,14 @@
+// From https://github.com/signalapp/libsignal-protocol-c/blob/master/protobuf/FingerprintProtocol.proto
+syntax = "proto2";
+package textsecure;
+
+message LogicalFingerprint {
+ optional bytes content = 1;
+ optional bytes identifier = 2; // Version 0
+}
+
+message CombinedFingerprints {
+ optional uint32 version = 1;
+ optional LogicalFingerprint localFingerprint = 2;
+ optional LogicalFingerprint remoteFingerprint = 3;
+} \ No newline at end of file