This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement SignatureCheck based on BKS Key Store Certificate for Appli… (
#206) * Implement SignatureCheck based on BKS Key Store Certificate for ApplicationConfig Signed-off-by: d067928 <[email protected]> * Lint Check Signed-off-by: d067928 <[email protected]>
- Loading branch information
1 parent
c166e4c
commit 3bfeb0b
Showing
8 changed files
with
111 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
7 changes: 7 additions & 0 deletions
7
.../src/main/java/de/rki/coronawarnapp/exception/ApplicationConfigurationCorruptException.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package de.rki.coronawarnapp.exception | ||
|
||
import java.lang.Exception | ||
|
||
class ApplicationConfigurationCorruptException : Exception( | ||
"the application configuration is corrupt" | ||
) |
5 changes: 5 additions & 0 deletions
5
.../src/main/java/de/rki/coronawarnapp/exception/ApplicationConfigurationInvalidException.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package de.rki.coronawarnapp.exception | ||
|
||
class ApplicationConfigurationInvalidException : Exception( | ||
"the application configuration is invalid" | ||
) |
9 changes: 9 additions & 0 deletions
9
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/exception/CwaSecurityException.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package de.rki.coronawarnapp.exception | ||
|
||
import java.lang.Exception | ||
|
||
class CwaSecurityException(cause: Throwable) : Exception( | ||
"something went wrong during a critical part of the application ensuring security, please refer" + | ||
"to the details for more information", | ||
cause | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters