fn verify_cert(end_entity: &CertificateDer<'_>) -> Result<PeerID, Error>
Verifies the given certification.