SecureStore
final class SecureStore : Store
extension SecureStore: AppConfigCaching
The SecureStore
class implements the Store
protocol that defines all required storage attributes.
It uses an SQLite Database that still needs to be encrypted
-
Undocumented
Declaration
Swift
init( at directoryURL: URL, key: String, serverEnvironment: ServerEnvironment ) throws
-
Removes most key/value pairs.
Keys whose values are not removed:
Note
This is just a wrapper to the
SQLiteKeyValueStore:flush
callDeclaration
Swift
func flush()
-
Database reset & re-initialization with a given key
Note
This is just a wrapper to the
SQLiteKeyValueStore:clearAll:
callDeclaration
Swift
func clearAll(key: String?)
Parameters
key
the key for the new database; if no key is given, no new database will be created
-
Declaration
Swift
var testResultReceivedTimeStamp: Int64? { get set }
-
Declaration
Swift
var lastSuccessfulSubmitDiagnosisKeyTimestamp: Int64? { get set }
-
Declaration
Swift
var numberOfSuccesfulSubmissions: Int64? { get set }
-
Declaration
Swift
var initialSubmitCompleted: Bool { get set }
-
Declaration
Swift
var exposureActivationConsentAcceptTimestamp: Int64? { get set }
-
Declaration
Swift
var exposureActivationConsentAccept: Bool { get set }
-
Undocumented
Declaration
Swift
var registrationToken: String? { get set }
-
Undocumented
Declaration
Swift
var teleTan: String? { get set }
-
Declaration
Swift
var tan: String? { get set }
-
Undocumented
Declaration
Swift
var testGUID: String? { get set }
-
Undocumented
Declaration
Swift
var devicePairingConsentAccept: Bool { get set }
-
Undocumented
Declaration
Swift
var devicePairingConsentAcceptTimestamp: Int64? { get set }
-
Undocumented
Declaration
Swift
var devicePairingSuccessfulTimestamp: Int64? { get set }
-
Undocumented
Declaration
Swift
var isAllowedToSubmitDiagnosisKeys: Bool { get set }
-
Undocumented
Declaration
Swift
var isOnboarded: Bool { get set }
-
Undocumented
Declaration
Swift
var onboardingVersion: String { get set }
-
Undocumented
Declaration
Swift
var dateOfAcceptedPrivacyNotice: Date? { get set }
-
Undocumented
Declaration
Swift
var hasSeenSubmissionExposureTutorial: Bool { get set }
-
Declaration
Swift
var hasSeenBackgroundFetchAlert: Bool { get set }
-
Undocumented
Declaration
Swift
var developerSubmissionBaseURLOverride: String? { get set }
-
Undocumented
Declaration
Swift
var developerDistributionBaseURLOverride: String? { get set }
-
Undocumented
Declaration
Swift
var developerVerificationBaseURLOverride: String? { get set }
-
Undocumented
Declaration
Swift
var allowRiskChangesNotification: Bool { get set }
-
Undocumented
Declaration
Swift
var allowTestsStatusNotification: Bool { get set }
-
Undocumented
Declaration
Swift
var tracingStatusHistory: TracingStatusHistory { get set }
-
Undocumented
Declaration
Swift
var summary: SummaryMetadata? { get set }
-
Undocumented
Declaration
Swift
var hourlyFetchingEnabled: Bool { get set }
-
Undocumented
Declaration
Swift
var previousRiskLevel: EitherLowOrIncreasedRiskLevel? { get set }
-
Declaration
Swift
var shouldShowRiskStatusLoweredAlert: Bool { get set }
-
Declaration
Swift
var userNeedsToBeInformedAboutHowRiskDetectionWorks: Bool { get set }
-
Declaration
Swift
var lastBackgroundFakeRequest: Date { get set }
-
Declaration
Swift
var firstPlaybookExecution: Date? { get set }
-
Declaration
Swift
var isAllowedToPerformBackgroundFakeRequests: Bool { get set }
-
Undocumented
Declaration
Swift
var selectedServerEnvironment: ServerEnvironmentData { get set }
-
Declaration
Swift
var fakeSQLiteError: Int32? { get set }
-
Undocumented
Declaration
Swift
var lastAppConfigETag: String? { get set }
-
Undocumented
Declaration
Swift
var lastAppConfigFetch: Date? { get set }
-
Undocumented
Declaration
Swift
var appConfig: SAP_ApplicationConfiguration? { get set }
-
Undocumented
Declaration
Swift
static let keychainDatabaseKey: String
-
Undocumented
Declaration
Swift
convenience init(subDirectory: String, serverEnvironment: ServerEnvironment)