Equality matching rules

A matching rule provides guidelines for string comparison during a search operation.

The matching rules are divided into the following three categories:
  • Equality
  • Ordering
  • Substring
Table 1. Equality matching rules with their respective OIDs and syntaxes

Equality matching rules
Matching Rule OID Syntax
bitStringMatch 2.5.13.16 Bit String
booleanMatch 2.5.13.13 Boolean
caseExactIA5Match 1.3.6.1.4.1.1466.109.114.1 Directory String syntax
caseExactMatch 2.5.13.5 Directory String syntax
caseIgnoreIA5Match 1.3.6.1.4.1.1466.109.114.2 IA5 String syntax
caseIgnoreIA5SubstringsMatch 1.3.6.1.4.1.1466.109.114.3 IA5 String syntax
caseIgnoreListMatch 2.5.13.11 Directory String
caseIgnoreMatch 2.5.13.2 Directory String syntax
distinguishedNameMatch 2.5.13.1 DN - distinguished name
generalizedTimeMatch 2.5.13.27 Generalized Time syntax
ibm-entryUuidMatch 1.3.18.0.2.22.2 Directory String syntax
integerFirstComponentMatch 2.5.13.29 Integer syntax - integral number
integerMatch 2.5.13.14 Integer syntax - integral number
numericStringMatch 2.5.13.8 Numeric String
objectIdentifierFirstComponentMatch 2.5.13.30 String for containing OIDs. The OID is a string with digits (0-9) and decimal points (.).
objectIdentifierMatch 2.5.13.0 String for containing OIDs. The OID is a string with digits (0-9) and decimal points (.)
octetStringMatch 2.5.13.17 Directory String syntax
presentationAddressMatch 2.5.13.22 Presentation Address
protocolInformationMatch 2.5.13.24 Protocol Information
telephoneNumberMatch 2.5.13.20 Telephone Number syntax
uniqueMemberMatch 2.5.13.23 Name And Optional UID
uTCTimeMatch 2.5.13.25 UTC Time syntax
Table 2. Ordering matching rules with their respective OIDs and syntaxes

Ordering matching rules
Matching rule OID Syntax
caseExactOrderingMatch 2.5.13.6 Directory String syntax
caseIgnoreOrderingMatch 2.5.13.3 Directory String syntax
distinguishedNameOrderingMatch 1.3.18.0.2.4.405 DN - distinguished name
generalizedTimeOrderingMatch 2.5.13.28 Generalized Time syntax
integerOrderingMatch 2.5.13.15 Integer
numericStringOrderingMatch 2.5.13.9 Numeric String
octetStringOrderingMatch 2.5.13.18 Octet String
Table 3. Substring matching rules with their respective OIDs and syntaxes

Substring matching rules
Matching rule OID Syntax
caseExactSubstringsMatch 2.5.13.7 Directory String syntax
caseIgnoreListSubstringsMatch 2.5.13.12 Substring Assertion
caseIgnoreSubstringsMatch 2.5.13.4 Directory String syntax
numericStringSubstringsMatch 2.5.13.10 Substring Assertion
telephoneNumberSubstringsMatch 2.5.13.21 Telephone Number syntax
Note: UTC-Time is time string format that is defined by ASN.1 standards. See ISO 8601 and X680. Use this syntax for storing time values in UTC-Time format. uTCTimeMatch is a deprecated matching rule. Use generalizedTimeMach instead. See Generalized and UTC time.