This repository was archived by the owner on Jun 20, 2023. It is now read-only.
File tree 9 files changed +71
-0
lines changed
Server-Protocol-Buffer/src/main/proto/internal
9 files changed +71
-0
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,6 @@ message PPACAndroid {
8
8
string safetyNetJws = 1 ;
9
9
10
10
string salt = 2 ;
11
+
12
+ bytes androidId = 3 ; // optional, only required for SRS
11
13
}
Original file line number Diff line number Diff line change @@ -8,4 +8,6 @@ message PPACIOS {
8
8
string deviceToken = 1 ;
9
9
10
10
string apiToken = 2 ;
11
+
12
+ string previousApiToken = 3 ;
11
13
}
Original file line number Diff line number Diff line change
1
+ // This file is auto-generated, DO NOT make any changes here
2
+ syntax = "proto3" ;
3
+ package de.rki.coronawarnapp.server.protocols.internal.ppdd ;
4
+
5
+
6
+ message SRSOneTimePassword {
7
+
8
+ string otp = 1 ;
9
+ }
Original file line number Diff line number Diff line change
1
+ // This file is auto-generated, DO NOT make any changes here
2
+ syntax = "proto3" ;
3
+ package de.rki.coronawarnapp.server.protocols.internal.ppdd ;
4
+
5
+ import "internal/ppdd/ppac_android.proto" ;
6
+ import "internal/ppdd/srs_otp.proto" ;
7
+
8
+ message SRSOneTimePasswordRequestAndroid {
9
+
10
+ PPACAndroid authentication = 1 ;
11
+
12
+ SRSOneTimePassword payload = 2 ;
13
+ }
Original file line number Diff line number Diff line change
1
+ // This file is auto-generated, DO NOT make any changes here
2
+ syntax = "proto3" ;
3
+ package de.rki.coronawarnapp.server.protocols.internal.ppdd ;
4
+
5
+ import "internal/ppdd/ppac_ios.proto" ;
6
+ import "internal/ppdd/srs_otp.proto" ;
7
+
8
+ message SRSOneTimePasswordRequestIOS {
9
+
10
+ PPACIOS authentication = 1 ;
11
+
12
+ SRSOneTimePassword payload = 2 ;
13
+ }
Original file line number Diff line number Diff line change @@ -19,5 +19,11 @@ message SubmissionPayload {
19
19
SUBMISSION_TYPE_PCR_TEST = 0 ;
20
20
SUBMISSION_TYPE_RAPID_TEST = 1 ;
21
21
SUBMISSION_TYPE_HOST_WARNING = 2 ;
22
+ SUBMISSION_TYPE_SRS_SELF_TEST = 3 ;
23
+ SUBMISSION_TYPE_SRS_RAT = 4 ;
24
+ SUBMISSION_TYPE_SRS_REGISTERED_PCR = 5 ;
25
+ SUBMISSION_TYPE_SRS_UNREGISTERED_PCR = 6 ;
26
+ SUBMISSION_TYPE_SRS_RAPID_PCR = 7 ;
27
+ SUBMISSION_TYPE_SRS_OTHER = 8 ;
22
28
}
23
29
}
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import "internal/v2/key_download_parameters.proto";
10
10
import "internal/v2/ppdd_edus_parameters.proto" ;
11
11
import "internal/v2/ppdd_els_parameters.proto" ;
12
12
import "internal/v2/ppdd_ppa_parameters.proto" ;
13
+ import "internal/v2/ppdd_srs_parameters.proto" ;
13
14
import "internal/v2/presence_tracing_parameters.proto" ;
14
15
import "internal/v2/risk_calculation_parameters.proto" ;
15
16
@@ -41,6 +42,8 @@ message ApplicationConfigurationAndroid {
41
42
CoronaTestParameters coronaTestParameters = 14 ;
42
43
43
44
DGCParameters dgcParameters = 15 ;
45
+
46
+ PPDDSelfReportSubmissionParametersAndroid selfReportParameters = 16 ;
44
47
}
45
48
46
49
message DiagnosisKeysDataMapping {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import "internal/v2/key_download_parameters.proto";
10
10
import "internal/v2/ppdd_edus_parameters.proto" ;
11
11
import "internal/v2/ppdd_els_parameters.proto" ;
12
12
import "internal/v2/ppdd_ppa_parameters.proto" ;
13
+ import "internal/v2/ppdd_srs_parameters.proto" ;
13
14
import "internal/v2/risk_calculation_parameters.proto" ;
14
15
import "internal/v2/presence_tracing_parameters.proto" ;
15
16
import "internal/v2/semantic_version.proto" ;
@@ -40,6 +41,8 @@ message ApplicationConfigurationIOS {
40
41
CoronaTestParameters coronaTestParameters = 13 ;
41
42
42
43
DGCParameters dgcParameters = 14 ;
44
+
45
+ PPDDSelfReportSubmissionParametersIOS selfReportParameters = 15 ;
43
46
}
44
47
45
48
message ExposureConfiguration {
Original file line number Diff line number Diff line change
1
+ // This file is auto-generated, DO NOT make any changes here
2
+ syntax = "proto3" ;
3
+ package de.rki.coronawarnapp.server.protocols.internal.v2 ;
4
+
5
+ import "internal/v2/ppdd_ppac_parameters.proto" ;
6
+
7
+ message PPDDSelfReportSubmissionParametersIOS {
8
+ PPDDSelfReportSubmissionParametersCommon common = 1 ;
9
+ PPDDPrivacyPreservingAccessControlParametersIOS ppac = 2 ;
10
+ }
11
+
12
+ message PPDDSelfReportSubmissionParametersAndroid {
13
+ PPDDSelfReportSubmissionParametersCommon common = 1 ;
14
+ PPDDPrivacyPreservingAccessControlParametersAndroid ppac = 2 ;
15
+ }
16
+
17
+ message PPDDSelfReportSubmissionParametersCommon {
18
+ int32 timeSinceOnboardingInHours = 1 ;
19
+ int32 timeBetweenSubmissionsInDays = 2 ;
20
+ }
You can’t perform that action at this time.
0 commit comments