Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit e2e890c

Browse files
Protocol Buffer update for release 2.29.x at Wed Nov 2 15:16:40 UTC 2022 (#5679)
* Update from https://github.com/corona-warn-app/cwa-protocol-buffers/commit/a506cf63fc594b148ff67353dbf7d5315727d143 * Bump to next Version: 2.29.0.1 (#5680) Co-authored-by: Mohamed <[email protected]>
1 parent 638d4e8 commit e2e890c

9 files changed

+71
-0
lines changed

Server-Protocol-Buffer/src/main/proto/internal/ppdd/ppac_android.proto

+2
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ message PPACAndroid {
88
string safetyNetJws = 1;
99

1010
string salt = 2;
11+
12+
bytes androidId = 3; // optional, only required for SRS
1113
}

Server-Protocol-Buffer/src/main/proto/internal/ppdd/ppac_ios.proto

+2
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ message PPACIOS {
88
string deviceToken = 1;
99

1010
string apiToken = 2;
11+
12+
string previousApiToken = 3;
1113
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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 numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+
}

Server-Protocol-Buffer/src/main/proto/internal/submission_payload.proto

+6
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,11 @@ message SubmissionPayload {
1919
SUBMISSION_TYPE_PCR_TEST = 0;
2020
SUBMISSION_TYPE_RAPID_TEST = 1;
2121
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;
2228
}
2329
}

Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_android.proto

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import "internal/v2/key_download_parameters.proto";
1010
import "internal/v2/ppdd_edus_parameters.proto";
1111
import "internal/v2/ppdd_els_parameters.proto";
1212
import "internal/v2/ppdd_ppa_parameters.proto";
13+
import "internal/v2/ppdd_srs_parameters.proto";
1314
import "internal/v2/presence_tracing_parameters.proto";
1415
import "internal/v2/risk_calculation_parameters.proto";
1516

@@ -41,6 +42,8 @@ message ApplicationConfigurationAndroid {
4142
CoronaTestParameters coronaTestParameters = 14;
4243

4344
DGCParameters dgcParameters = 15;
45+
46+
PPDDSelfReportSubmissionParametersAndroid selfReportParameters = 16;
4447
}
4548

4649
message DiagnosisKeysDataMapping {

Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_ios.proto

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import "internal/v2/key_download_parameters.proto";
1010
import "internal/v2/ppdd_edus_parameters.proto";
1111
import "internal/v2/ppdd_els_parameters.proto";
1212
import "internal/v2/ppdd_ppa_parameters.proto";
13+
import "internal/v2/ppdd_srs_parameters.proto";
1314
import "internal/v2/risk_calculation_parameters.proto";
1415
import "internal/v2/presence_tracing_parameters.proto";
1516
import "internal/v2/semantic_version.proto";
@@ -40,6 +41,8 @@ message ApplicationConfigurationIOS {
4041
CoronaTestParameters coronaTestParameters = 13;
4142

4243
DGCParameters dgcParameters = 14;
44+
45+
PPDDSelfReportSubmissionParametersIOS selfReportParameters = 15;
4346
}
4447

4548
message ExposureConfiguration {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
}

0 commit comments

Comments
 (0)