code: private void checkNoNewLinesNorTabsAtBeginningOfDN(String input) {
          for (int i = 0; i < input.length(); i++) {
              char c = input.charAt(i);
              if (c != ' ') {
                  if (c == '\t' || c == '\n') {
                      throw new IllegalArgumentException("DN cannot start with newline nor tab");
                  }
                  break;
              }
          }
      }
docs: Disallow new lines and tabs at the beginning of DN.
  
  @throws java.lang.IllegalArgumentException if the DN starts with new line or tab.