iya-sts
    Preparing search index...
    canonicalDn: (dn: unknown) => string = CertificateBinding.canonicalDn

    Type Declaration

      • (dn: unknown): string
      • A subject DN as the two DN methods compare it: RFC 4514 order, each attribute trimmed around its = and its separators, lower-cased.

        A MULTI-VALUED RDN'S ATTRIBUTES ARE SORTED (#2081). An RDN is a SET (X.501), so the order of its attributes means nothing, and the two spellings that meet here disagree about it: node prints them in the order they are encoded, CN=SMITH.JANE + UID=12345, and openssl x509 -subject -nameopt RFC2253, which the documentation tells an administrator to copy, prints UID=12345+CN=SMITH.JANE. Each attribute is trimmed and the RDN joined by a bare +, so either matches the other. A DN of single-valued RDNs canonicalises as it always did.

        Parameters

        • dn: unknown

          the DN

        Returns string

        the canonical form