parse_certs

Function parse_certs 

Source
pub fn parse_certs<R: Read + Send + Sync>(
    data: R,
) -> Result<Vec<Cert>, PgpError>
Expand description

Reads OpenPGP certificates a reader.

Input data may contain multiple certificates. The parser will return an error if the data contains invalid certificates.