validateKeyRing

fun validateKeyRing(info: KeyRingInfo, allowRevoked: Boolean = false)

Validates info against policy (algorithms, revocation).

Parameters

allowRevoked

When false, revoked master or subkeys cause PgpException.

Throws

with SecurityProblem when validation fails.