Security Policy
data class SecurityPolicy(val encryptQueuePayloads: Boolean, val encryptTelemetryAtRest: Boolean, val encryptDiagnosticsBundle: Boolean, val encryptExportedLogs: Boolean, val maxEventPayloadBytes: Int, val keyRotationPolicy: KeyRotationPolicy = KeyRotationPolicy.default(), val keyDerivationConfig: KeyDerivationConfig = KeyDerivationConfig.default(), val useRoomBackedAudit: Boolean = true, val signAuditEntries: Boolean = false, val signedAuditCheckpoints: Boolean = false)
Constructors
Link copied to clipboard
constructor(encryptQueuePayloads: Boolean, encryptTelemetryAtRest: Boolean, encryptDiagnosticsBundle: Boolean, encryptExportedLogs: Boolean, maxEventPayloadBytes: Int, keyRotationPolicy: KeyRotationPolicy = KeyRotationPolicy.default(), keyDerivationConfig: KeyDerivationConfig = KeyDerivationConfig.default(), useRoomBackedAudit: Boolean = true, signAuditEntries: Boolean = false, signedAuditCheckpoints: Boolean = false)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Key derivation parameters for password-based operations.
Link copied to clipboard
Key rotation policy for encryption keys.
Link copied to clipboard
Link copied to clipboard
Sign audit entries with device attestation. Opt-in for high-security deployments.
Link copied to clipboard
Attach a device-signed audit chain checkpoint to every sync batch. A server that pins checkpoints can check each one against the last (see docs/SECURE_DESIGN.md for the rules and their limits).
Link copied to clipboard
Use Room-backed persistent audit trail. Default enabled for new installs.