@Override
 protected void update(PresentationData presentation) {
   CertificateWrapper wrapper = getElement();
   SimpleTextAttributes attr =
       wrapper.isValid() ? SimpleTextAttributes.REGULAR_ATTRIBUTES : STRIKEOUT_ATTRIBUTES;
   presentation.addText(wrapper.getSubjectField(COMMON_NAME), attr);
 }
 /**
  * Remove specified certificate and corresponding organization, if after removal it contains no
  * certificates.
  */
 public void removeCertificate(@NotNull X509Certificate certificate) {
   CertificateWrapper wrapper = new CertificateWrapper(certificate);
   myCertificates.remove(wrapper.getSubjectField(ORGANIZATION), wrapper);
   queueUpdateFrom(RootDescriptor.ROOT, true);
 }