Function verify_cert
pub fn verify_cert(
chain: &[CertificateDer<'_>],
expected_dns_suffix: &str,
now: UnixTime,
key_usage: KeyUsage,
) -> Result<(), Error>Expand description
Verify a certificate chain against the Lyquor trust policy.
chain should be ordered leaf-first and include intermediates plus root (if present).