Function pgp::composed::signed_key::from_reader_many
source · pub fn from_reader_many<'a, R: Read + Seek + 'a>(
input: R
) -> Result<(Box<dyn Iterator<Item = Result<PublicOrSecret>> + 'a>, Option<BTreeMap<String, String>>)>
Expand description
Parses a list of secret and public keys, from either ASCII-armored or binary OpenPGP data.
Returns an iterator of public or secret keys and a BTreeMap containing armor headers (None, if the data was unarmored)