pub fn validate_self_signed_certificate(
certificate: &CertificateDer<'_>,
usage: CertificateUsage,
now: SystemTime,
) -> Result<(), String>Expand description
Verify that a certificate is genuinely self-signed rather than merely carrying equal subject and issuer names.