ArmoredKeyDetector

Detects whether an armored block contains a secret or public key.

Functions

Link copied to clipboard
fun isSecretBlock(armored: String): Boolean?

Classifies an armored block.

Link copied to clipboard
fun label(armored: String): String

Produces a user-facing label describing the detected block type.