public void reset() {
        synchronized (subjectToTrustAnchors) {
            subjectToTrustAnchors.clear();
        }
    }
Indexes {@code TrustAnchor} instances so they can be found in O(1)
time instead of O(N).
common/src/main/java/org/conscrypt/TrustedCertificateIndex.java