code: public String toRFC2253String(boolean canonical) {
          if (canonical == false) {
              return toRFC2253StringInternal
                  (false, Collections.<String, String>emptyMap());
          }
          String c = canonicalString;
          if (c == null) {
              c = toRFC2253StringInternal
                  (true, Collections.<String, String>emptyMap());
              canonicalString = c;
          }
          return c;
      }
docs: /*
  Returns a printable form of this RDN using the algorithm defined in
  RFC 2253. Only RFC 2253 attribute type keywords are emitted.
  If canonical is true, then additional canonicalizations
  documented in X500Principal.getName are performed.