7 Network Working Group S. Legg
8 Request for Comments: 3727 Adacel Technologies
9 Category: Standards Track February 2004
12 ASN.1 Module Definition for the
13 LDAP and X.500 Component Matching Rules
17 This document specifies an Internet standards track protocol for the
18 Internet community, and requests discussion and suggestions for
19 improvements. Please refer to the current edition of the "Internet
20 Official Protocol Standards" (STD 1) for the standardization state
21 and status of this protocol. Distribution of this memo is unlimited.
25 Copyright (C) The Internet Society (2004). All Rights Reserved.
29 This document updates the specification of the component matching
30 rules for Lightweight Directory Access Protocol (LDAP) and X.500
31 directories (RFC3687) by collecting the Abstract Syntax Notation One
32 (ASN.1) definitions of the component matching rules into an
33 appropriately identified ASN.1 module so that other specifications
34 may reference the component matching rule definitions from within
35 their own ASN.1 modules.
39 The structure or data type of data held in an attribute of a
40 Lightweight Directory Access Protocol (LDAP) [LDAP] or X.500 [X500]
41 directory is described by the attribute's syntax. Attribute syntaxes
42 range from simple data types, such as text string, integer, or
43 boolean, to complex data types, for example, the syntaxes of the
44 directory schema operational attributes. RFC 3687 [CMR] defines a
45 generic way of matching user selected components in a directory
46 attribute value of any arbitrarily complex attribute syntax.
48 This document updates RFC 3687 by collecting the Abstract Syntax
49 Notation One (ASN.1) [ASN1] definitions of RFC 3687 into an
50 appropriately identified ASN.1 module so that other specifications
51 may reference these definitions from within their own ASN.1 modules.
58 Legg Standards Track [Page 1]
60 RFC 3727 Module for Component Matching February 2004
63 2. Module Definition for Component Matching
66 {iso(1) 2 36 79672281 xed(3) module(0) component-matching(4)}
68 -- Copyright (C) The Internet Society (2004). This version of
69 -- this ASN.1 module is part of RFC 3727; see the RFC itself
70 -- for full legal notices.
74 EXTENSIBILITY IMPLIED ::= BEGIN
78 RelativeDistinguishedName
79 FROM InformationFramework
80 {joint-iso-itu-t ds(5) module(1)
81 informationFramework(1) 4} ;
83 ComponentAssertion ::= SEQUENCE {
84 component ComponentReference (SIZE(1..MAX)) OPTIONAL,
85 useDefaultValues BOOLEAN DEFAULT TRUE,
86 rule MATCHING-RULE.&id,
87 value MATCHING-RULE.&AssertionType }
89 ComponentReference ::= UTF8String
91 ComponentFilter ::= CHOICE {
92 item [0] ComponentAssertion,
93 and [1] SEQUENCE OF ComponentFilter,
94 or [2] SEQUENCE OF ComponentFilter,
95 not [3] ComponentFilter }
97 componentFilterMatch MATCHING-RULE ::= {
98 SYNTAX ComponentFilter
99 ID { 1 2 36 79672281 1 13 2 } }
101 allComponentsMatch MATCHING-RULE ::= {
102 ID { 1 2 36 79672281 1 13 6 } }
104 directoryComponentsMatch MATCHING-RULE ::= {
105 ID { 1 2 36 79672281 1 13 7 } }
108 -- Additional Useful Matching Rules --
110 rdnMatch MATCHING-RULE ::= {
114 Legg Standards Track [Page 2]
116 RFC 3727 Module for Component Matching February 2004
119 SYNTAX RelativeDistinguishedName
120 ID { 1 2 36 79672281 1 13 3 } }
122 presentMatch MATCHING-RULE ::= {
124 ID { 1 2 36 79672281 1 13 5 } }
128 The InformationFramework ASN.1 module from which the MATCHING-RULE
129 and RelativeDistinguishedName definitions are imported is defined in
132 The object identifiers used in this document have been assigned for
133 use in specifying the component matching rules by Adacel
134 Technologies, under an arc assigned to Adacel by Standards Australia.
136 3. Security Considerations
138 This document collects together the ASN.1 definitions of the
139 component matching rules into an ASN.1 module, but does not modify
140 those definitions in any way. See RFC 3687 [CMR] for the security
141 considerations of using the component matching rules.
145 4.1. Normative References
147 [CMR] Legg, S., "Lightweight Directory Access Protocol (LDAP) and
148 X.500 Component Matching Rules", RFC 3687, February 2004.
150 [X501] ITU-T Recommendation X.501 (1993) | ISO/IEC 9594-2:1994,
151 Information Technology - Open Systems Interconnection - The
154 [ASN1] ITU-T Recommendation X.680 (07/02) | ISO/IEC 8824-1:2002,
155 Information technology - Abstract Syntax Notation One
156 (ASN.1): Specification of basic notation
158 4.2. Informative References
160 [LDAP] Hodges, J. and R. Morgan, "Lightweight Directory Access
161 Protocol (v3): Technical Specification", RFC 3377, September
164 [X500] ITU-T Recommendation X.500 (1993) | ISO/IEC 9594-1:1994,
165 Information Technology - Open Systems Interconnection - The
166 Directory: Overview of concepts, models and services
170 Legg Standards Track [Page 3]
172 RFC 3727 Module for Component Matching February 2004
178 Adacel Technologies Ltd.
180 Brighton, Victoria 3186
183 Phone: +61 3 8530 7710
185 EMail: steven.legg@adacel.com.au
226 Legg Standards Track [Page 4]
228 RFC 3727 Module for Component Matching February 2004
231 6. Full Copyright Statement
233 Copyright (C) The Internet Society (2004). This document is subject
234 to the rights, licenses and restrictions contained in BCP 78 and
235 except as set forth therein, the authors retain all their rights.
237 This document and the information contained herein are provided on an
238 "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE
239 REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE
240 INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR
241 IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
242 THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
243 WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
245 Intellectual Property
247 The IETF takes no position regarding the validity or scope of any
248 Intellectual Property Rights or other rights that might be claimed
249 to pertain to the implementation or use of the technology
250 described in this document or the extent to which any license
251 under such rights might or might not be available; nor does it
252 represent that it has made any independent effort to identify any
253 such rights. Information on the procedures with respect to
254 rights in RFC documents can be found in BCP 78 and BCP 79.
256 Copies of IPR disclosures made to the IETF Secretariat and any
257 assurances of licenses to be made available, or the result of an
258 attempt made to obtain a general license or permission for the use
259 of such proprietary rights by implementers or users of this
260 specification can be obtained from the IETF on-line IPR repository
261 at http://www.ietf.org/ipr.
263 The IETF invites any interested party to bring to its attention
264 any copyrights, patents or patent applications, or other
265 proprietary rights that may cover technology that may be required
266 to implement this standard. Please address the information to the
267 IETF at ietf-ipr@ietf.org.
271 Funding for the RFC Editor function is currently provided by the
282 Legg Standards Track [Page 5]