pub fn validate_cert(cert: &Cert) -> Result<(), Error>Expand description
Validates a PGP certificate, checking for revocation and expiration.
Returns Ok(()) if the certificate is valid, or an error if it is revoked,
expired, or otherwise invalid under the standard policy.
ยงErrors
Returns an error if the certificate is revoked, expired, or invalid.