docs: public void setCertificates(java.util.Collection<Certificate> certificates) {
          if (certificates == null) {
              this.certificates = null;
              return;
          }
  
          this.certificates = new java.util.ArrayList<Certificate>(certificates);
      }