Skip to main content

armored_keys

Function armored_keys 

Source
fn armored_keys(text: &[u8]) -> Vec<&[u8]>
Expand description

The armored key blocks of text, in order: each from its “—–BEGIN PGP PUBLIC KEY BLOCK—–” (or PRIVATE) to the end of its “—–END PGP” line. What lies around or between them is left out, a message’s or a signature’s block among it.