isSecretBlock

fun isSecretBlock(armored: String): Boolean?

Classifies an armored block.

Return

true for a secret/private key block, false for a public key block, or null when no recognizable PGP header is present.