Skip to main content

is_cert_valid

Function is_cert_valid 

Source
pub fn is_cert_valid(
    chain_der: &[Vec<u8>],
    announced_address: &str,
    now: TimeMillis,
) -> bool
Expand description

Offline-validate a TLS chain against the bundled public-CA roots and the announced IP address. Returns true only if every check passes.