Currently, CertLoader makes client and authority certificates available through its all_certs() accessor. NetworkCertificateHandler then separates the two kinds of certificate.
Instead it probably makes sense to change CertLoader to provide all_client_certificates() and authority_certificates() separately, because no consumer needs a mixed list.
While we're at it, we should rename CertLoader to e.g. NetworkCertLoader and add a class-level comment that it makes certificates available to Network handling on ChromeOS.
Comment 1 by bugdroid1@chromium.org
, Oct 9