KeyRingEntity

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.

Constructors

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

Properties

Link copied to clipboard

Absolute path to secret or public armored blob.

Link copied to clipboard

Import or generation time (epoch millis).

Link copied to clipboard

Display fingerprint with optional spacing.

Link copied to clipboard

Local revoked flag (may also be set in the key itself).

Link copied to clipboard

Whether the blob at blobPath contains secret key material.

Link copied to clipboard

Primary key; 64-bit OpenPGP master key id.

Link copied to clipboard

Human-readable label for the primary key algorithm.

Link copied to clipboard

Optional path to extracted public blob when isSecret is true.

Link copied to clipboard

Number of subkeys when last parsed.

Link copied to clipboard

0=unknown, 1=marginal, 2=full, 3=never