KeySummary

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.

Constructors

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

Properties

Link copied to clipboard

Import or generation timestamp (epoch millis).

Link copied to clipboard

Space-grouped primary key fingerprint.

Link copied to clipboard

Whether the key is marked revoked in metadata or on-disk.

Link copied to clipboard

Whether a secret key ring is stored locally.

Link copied to clipboard

64-bit OpenPGP master key identifier.

Link copied to clipboard

Human-readable algorithm label for the primary key.

Link copied to clipboard

Preferred user id string, if any.

Link copied to clipboard

Number of subkeys in the ring.

Link copied to clipboard

Local trust: 0=unknown, 1=marginal, 2=full, 3=never.