public void reset(@NotNull Collection<? extends X509Certificate> certificates) {
    myCertificates.clear();
    for (X509Certificate certificate : certificates) {
      addCertificate(certificate);
    }
    // expand organization nodes at the same time
    //initRootNode();
    myStructureTreeModel.invalidateAsync();
    TreeUtil.expandAll(myTree);
  }
public void reset(@NotNull Collection<? extends X509Certificate> certificates)