Package-level declarations

Types

Link copied to clipboard

Per-app allowlist of key ids permitted for IPC crypto.

Link copied to clipboard
data class ApiAllowedKeyEntity(val id: Long = 0, val packageName: String, val keyId: Long)

Key id explicitly allowed for a granted API client app.

Link copied to clipboard
interface ApiAppDao

Grants and revokes IPC API access for client apps.

Link copied to clipboard
data class ApiAppEntity(val packageName: String, val grantedAt: Long)

Third-party app granted permission to call the PGP Shield IPC API.

Link copied to clipboard
abstract class AppDatabase : RoomDatabase

Room database for PGP Shield: key metadata, API permissions, overlay settings, and templates.

Link copied to clipboard
interface KeyRingDao

CRUD and search access for KeyRingEntity rows.

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

Metadata row for a stored OpenPGP key ring; armored bytes live in KeyBlobStore.

Link copied to clipboard
data class OverlayAppConfigEntity(val packageName: String, val encodingMethod: String, val recipientKeyIds: String, val decryptKeyId: Long?, val encryptKeyId: Long? = null, val paddingTemplateId: String? = null, val enabled: Boolean, val overlayTextSizeSp: Float = 14.0f, val overlayAlpha: Float = 0.95f, val minDecoyChars: Int = 20, val composeViaClipboard: Boolean = false, val autoMode: String = "manual", val showResultToast: Boolean = true, val requireConfirmBeforeSetText: Boolean = false)

Per-app overlay encryption settings for messaging apps.

Link copied to clipboard

Per messaging-app overlay configuration.

Link copied to clipboard

CRUD for padding cover templates.

Link copied to clipboard
data class PaddingTemplateEntity(val templateId: String, val title: String, val content: String)

Reusable cover text template for PaddingEncoder.

Link copied to clipboard
interface UserIdDao

Access to user id rows linked to key rings.

Link copied to clipboard
data class UserIdEntity(val id: Long = 0, val masterKeyId: Long, val userId: String, val isPrimary: Boolean)

User id (uid) packet associated with a key ring.