2018-06-07 07:57:59 +02:00
|
|
|
// iOS - since we use a modern proto-compiler, we must specify
|
|
|
|
// the legacy proto format.
|
|
|
|
syntax = "proto2";
|
|
|
|
|
2018-07-25 21:46:49 +02:00
|
|
|
// iOS - package name determines class prefix
|
|
|
|
package FingerprintProtos;
|
2016-10-01 20:42:39 +02:00
|
|
|
|
2016-11-12 18:50:06 +01:00
|
|
|
option java_package = "org.whispersystems.libsignal.fingerprint";
|
2016-10-01 20:42:39 +02:00
|
|
|
option java_outer_classname = "FingerprintProtos";
|
|
|
|
|
2016-11-12 18:50:06 +01:00
|
|
|
message LogicalFingerprint {
|
2018-08-03 20:03:02 +02:00
|
|
|
// @required
|
2016-11-12 18:50:06 +01:00
|
|
|
optional bytes identityData = 1;
|
|
|
|
// optional bytes identifier = 2;
|
2016-10-01 20:42:39 +02:00
|
|
|
}
|
|
|
|
|
2016-11-12 18:50:06 +01:00
|
|
|
message LogicalFingerprints {
|
2018-08-03 20:03:02 +02:00
|
|
|
// @required
|
2016-11-12 18:50:06 +01:00
|
|
|
optional uint32 version = 1;
|
2018-08-03 20:03:02 +02:00
|
|
|
// @required
|
2016-11-12 18:50:06 +01:00
|
|
|
optional LogicalFingerprint localFingerprint = 2;
|
2018-08-03 20:03:02 +02:00
|
|
|
// @required
|
2016-11-12 18:50:06 +01:00
|
|
|
optional LogicalFingerprint remoteFingerprint = 3;
|
2016-10-01 20:42:39 +02:00
|
|
|
}
|