Package-level declarations

Types

Link copied to clipboard
data class AppSettings(val defaultEncryptKeyId: Long? = null, val defaultSignKeyId: Long? = null, val keyserverLookupEnabled: Boolean = true, val keyserverUrl: String = KeyserverClient.DEFAULT_URL, val showFingerprintOnList: Boolean = true, val backupReminderEnabled: Boolean = true, val overlayGloballyEnabled: Boolean = true, val showOverlayButtons: Boolean = true, val allowScreenshots: Boolean = false, val autocryptEnabled: Boolean = false, val appLanguage: String = "system")

Snapshot of user-configurable application settings persisted in SharedPreferences.

Link copied to clipboard
@Singleton
class AutocryptManager @Inject constructor(context: Context)

Parses and persists Autocrypt email-to-key mappings from message headers.

Link copied to clipboard
@Module
object DatabaseModule

Hilt module providing the Room AppDatabase singleton and DAO accessors.

Link copied to clipboard

Size guard for armored key ring imports to prevent excessive memory use.

Link copied to clipboard
data class KeyDetail(val summary: KeySummary, val subkeys: List<SubkeyInfo>)

Full key detail including subkey metadata from the PGP engine.

Link copied to clipboard
interface KeyRepository

Domain repository for PGP key ring lifecycle: import, export, certification, keyserver sync, and trust management.

Link copied to clipboard
@Singleton
class KeyRepositoryImpl @Inject constructor(database: AppDatabase, blobStore: KeyBlobStore, keyserverClient: KeyserverClient) : KeyRepository

Default KeyRepository implementation coordinating Room, KeyBlobStore, and the PGP engine.

Link copied to clipboard
@Singleton
class KeyserverClient @Inject constructor

HTTP client for OpenPGP keyserver lookup and upload.

Link copied to clipboard
data class KeySummary(val masterKeyId: Long, val fingerprint: String, val primaryUserId: String?, val isSecret: Boolean, val isRevoked: Boolean, val primaryAlgorithm: String = "RSA 3072", val createdAt: Long = 0, val subkeyCount: Int = 1, val trustLevel: Int = 0)

Lightweight summary of a stored key ring for list and search UI.

Link copied to clipboard
@Module
abstract class RepositoryModule

Hilt bindings for data-layer repositories.

Link copied to clipboard

Factory for AES-encrypted SharedPreferences backed by Android Keystore.

Link copied to clipboard
@Singleton
class SettingsRepository @Inject constructor(context: Context)

Reactive repository for application settings backed by SharedPreferences.