001
002 /*
003 * Licensed to the Apache Software Foundation (ASF) under one
004 * or more contributor license agreements. See the NOTICE file
005 * distributed with this work for additional information
006 * regarding copyright ownership. The ASF licenses this file
007 * to you under the Apache License, Version 2.0 (the
008 * "License"); you may not use this file except in compliance
009 * with the License. You may obtain a copy of the License at
010 *
011 * http://www.apache.org/licenses/LICENSE-2.0
012 *
013 * Unless required by applicable law or agreed to in writing,
014 * software distributed under the License is distributed on an
015 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
016 * KIND, either express or implied. See the License for the
017 * specific language governing permissions and limitations
018 * under the License.
019 *
020 */
021 package org.apache.directory.server.schema.bootstrap;
022
023
024 import java.util.ArrayList;
025 import javax.naming.NamingException;
026
027 import org.apache.directory.server.schema.registries.Registries;
028 import org.apache.directory.shared.ldap.schema.UsageEnum;
029
030
031 /**
032 * A producer of schema attributeType definations for the core schema. This
033 * code has been automatically generated using schema files in the OpenLDAP
034 * format along with the directory plugin for maven. This has been done
035 * to facilitate Eve<->OpenLDAP schema interoperability.
036 *
037 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
038 */
039 public class CoreAttributeTypeProducer extends AbstractBootstrapProducer
040 {
041
042 public CoreAttributeTypeProducer()
043 {
044 super( ProducerTypeEnum.ATTRIBUTE_TYPE_PRODUCER );
045 }
046
047
048 // ------------------------------------------------------------------------
049 // BootstrapProducer Methods
050 // ------------------------------------------------------------------------
051
052
053 /**
054 * @see BootstrapProducer#produce( Registries, ProducerCallback )
055 */
056 public void produce( Registries registries, ProducerCallback cb )
057 throws NamingException
058 {
059 ArrayList<String> names = new ArrayList<String>();
060 BootstrapAttributeType attributeType;
061
062
063 // --------------------------------------------------------------------
064 // AttributeType 2.5.4.2
065 // --------------------------------------------------------------------
066
067 attributeType = newAttributeType( "2.5.4.2", registries );
068 attributeType.setDescription( "RFC2256: knowledge information" );
069 attributeType.setCanUserModify( ! false );
070 attributeType.setSingleValue( false );
071 attributeType.setCollective( false );
072 attributeType.setObsolete( false );
073 attributeType.setLength( 32768 );
074 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
075 attributeType.setEqualityId( "caseIgnoreMatch" );
076 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
077
078 names.clear();
079 names.add( "knowledgeInformation" );
080 attributeType.setNames( names.toArray( EMPTY ) );
081 cb.schemaObjectProduced( this, "2.5.4.2", attributeType );
082
083 // --------------------------------------------------------------------
084 // AttributeType 2.5.4.4
085 // --------------------------------------------------------------------
086
087 attributeType = newAttributeType( "2.5.4.4", registries );
088 attributeType.setDescription( "RFC2256: last (family) name(s) for which the entity is known by" );
089 attributeType.setCanUserModify( ! false );
090 attributeType.setSingleValue( false );
091 attributeType.setCollective( false );
092 attributeType.setObsolete( false );
093 attributeType.setLength( 0 );
094 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
095 attributeType.setSuperiorId( "name" );
096
097 names.clear();
098 names.add( "sn" );
099 names.add( "surname" );
100 attributeType.setNames( names.toArray( EMPTY ) );
101 cb.schemaObjectProduced( this, "2.5.4.4", attributeType );
102
103 // --------------------------------------------------------------------
104 // AttributeType 2.5.4.5
105 // --------------------------------------------------------------------
106
107 attributeType = newAttributeType( "2.5.4.5", registries );
108 attributeType.setDescription( "RFC2256: serial number of the entity" );
109 attributeType.setCanUserModify( ! false );
110 attributeType.setSingleValue( false );
111 attributeType.setCollective( false );
112 attributeType.setObsolete( false );
113 attributeType.setLength( 64 );
114 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
115 attributeType.setEqualityId( "caseIgnoreMatch" );
116 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
117 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.44" );
118
119 names.clear();
120 names.add( "serialNumber" );
121 attributeType.setNames( names.toArray( EMPTY ) );
122 cb.schemaObjectProduced( this, "2.5.4.5", attributeType );
123
124 // --------------------------------------------------------------------
125 // AttributeType 2.5.4.6
126 // --------------------------------------------------------------------
127
128 attributeType = newAttributeType( "2.5.4.6", registries );
129 attributeType.setDescription( "RFC2256: ISO-3166 country 2-letter code" );
130 attributeType.setCanUserModify( ! false );
131 attributeType.setSingleValue( true );
132 attributeType.setCollective( false );
133 attributeType.setObsolete( false );
134 attributeType.setLength( 0 );
135 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
136 attributeType.setSuperiorId( "name" );
137
138 names.clear();
139 names.add( "c" );
140 names.add( "countryName" );
141 attributeType.setNames( names.toArray( EMPTY ) );
142 cb.schemaObjectProduced( this, "2.5.4.6", attributeType );
143
144 // --------------------------------------------------------------------
145 // AttributeType 2.5.4.7
146 // --------------------------------------------------------------------
147
148 attributeType = newAttributeType( "2.5.4.7", registries );
149 attributeType.setDescription( "RFC2256: locality which this object resides in" );
150 attributeType.setCanUserModify( ! false );
151 attributeType.setSingleValue( false );
152 attributeType.setCollective( false );
153 attributeType.setObsolete( false );
154 attributeType.setLength( 0 );
155 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
156 attributeType.setSuperiorId( "name" );
157
158 names.clear();
159 names.add( "l" );
160 names.add( "localityName" );
161 attributeType.setNames( names.toArray( EMPTY ) );
162 cb.schemaObjectProduced( this, "2.5.4.7", attributeType );
163
164 // --------------------------------------------------------------------
165 // AttributeType 2.5.4.8
166 // --------------------------------------------------------------------
167
168 attributeType = newAttributeType( "2.5.4.8", registries );
169 attributeType.setDescription( "RFC2256: state or province which this object resides in" );
170 attributeType.setCanUserModify( ! false );
171 attributeType.setSingleValue( false );
172 attributeType.setCollective( false );
173 attributeType.setObsolete( false );
174 attributeType.setLength( 0 );
175 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
176 attributeType.setSuperiorId( "name" );
177
178 names.clear();
179 names.add( "st" );
180 names.add( "stateOrProvinceName" );
181 attributeType.setNames( names.toArray( EMPTY ) );
182 cb.schemaObjectProduced( this, "2.5.4.8", attributeType );
183
184 // --------------------------------------------------------------------
185 // AttributeType 2.5.4.9
186 // --------------------------------------------------------------------
187
188 attributeType = newAttributeType( "2.5.4.9", registries );
189 attributeType.setDescription( "RFC2256: street address of this object" );
190 attributeType.setCanUserModify( ! false );
191 attributeType.setSingleValue( false );
192 attributeType.setCollective( false );
193 attributeType.setObsolete( false );
194 attributeType.setLength( 128 );
195 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
196 attributeType.setEqualityId( "caseIgnoreMatch" );
197 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
198 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
199
200 names.clear();
201 names.add( "street" );
202 names.add( "streetAddress" );
203 attributeType.setNames( names.toArray( EMPTY ) );
204 cb.schemaObjectProduced( this, "2.5.4.9", attributeType );
205
206 // --------------------------------------------------------------------
207 // AttributeType 2.5.4.10
208 // --------------------------------------------------------------------
209
210 attributeType = newAttributeType( "2.5.4.10", registries );
211 attributeType.setDescription( "RFC2256: organization this object belongs to" );
212 attributeType.setCanUserModify( ! false );
213 attributeType.setSingleValue( false );
214 attributeType.setCollective( false );
215 attributeType.setObsolete( false );
216 attributeType.setLength( 0 );
217 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
218 attributeType.setSuperiorId( "name" );
219
220 names.clear();
221 names.add( "o" );
222 names.add( "organizationName" );
223 attributeType.setNames( names.toArray( EMPTY ) );
224 cb.schemaObjectProduced( this, "2.5.4.10", attributeType );
225
226 // --------------------------------------------------------------------
227 // AttributeType 2.5.4.11
228 // --------------------------------------------------------------------
229
230 attributeType = newAttributeType( "2.5.4.11", registries );
231 attributeType.setDescription( "RFC2256: organizational unit this object belongs to" );
232 attributeType.setCanUserModify( ! false );
233 attributeType.setSingleValue( false );
234 attributeType.setCollective( false );
235 attributeType.setObsolete( false );
236 attributeType.setLength( 0 );
237 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
238 attributeType.setSuperiorId( "name" );
239
240 names.clear();
241 names.add( "ou" );
242 names.add( "organizationalUnitName" );
243 attributeType.setNames( names.toArray( EMPTY ) );
244 cb.schemaObjectProduced( this, "2.5.4.11", attributeType );
245
246 // --------------------------------------------------------------------
247 // AttributeType 2.5.4.12
248 // --------------------------------------------------------------------
249
250 attributeType = newAttributeType( "2.5.4.12", registries );
251 attributeType.setDescription( "RFC2256: title associated with the entity" );
252 attributeType.setCanUserModify( ! false );
253 attributeType.setSingleValue( false );
254 attributeType.setCollective( false );
255 attributeType.setObsolete( false );
256 attributeType.setLength( 0 );
257 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
258 attributeType.setSuperiorId( "name" );
259
260 names.clear();
261 names.add( "title" );
262 attributeType.setNames( names.toArray( EMPTY ) );
263 cb.schemaObjectProduced( this, "2.5.4.12", attributeType );
264
265 // --------------------------------------------------------------------
266 // AttributeType 2.5.4.13
267 // --------------------------------------------------------------------
268
269 attributeType = newAttributeType( "2.5.4.13", registries );
270 attributeType.setDescription( "RFC2256: descriptive information" );
271 attributeType.setCanUserModify( ! false );
272 attributeType.setSingleValue( false );
273 attributeType.setCollective( false );
274 attributeType.setObsolete( false );
275 attributeType.setLength( 1024 );
276 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
277 attributeType.setEqualityId( "caseIgnoreMatch" );
278 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
279 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
280
281 names.clear();
282 names.add( "description" );
283 attributeType.setNames( names.toArray( EMPTY ) );
284 cb.schemaObjectProduced( this, "2.5.4.13", attributeType );
285
286 // --------------------------------------------------------------------
287 // AttributeType 2.5.4.14
288 // --------------------------------------------------------------------
289
290 attributeType = newAttributeType( "2.5.4.14", registries );
291 attributeType.setDescription( "RFC2256: search guide, obsoleted by enhancedSearchGuide" );
292 attributeType.setCanUserModify( ! false );
293 attributeType.setSingleValue( false );
294 attributeType.setCollective( false );
295 attributeType.setObsolete( false );
296 attributeType.setLength( 0 );
297 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
298 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.25" );
299
300 names.clear();
301 names.add( "searchGuide" );
302 attributeType.setNames( names.toArray( EMPTY ) );
303 cb.schemaObjectProduced( this, "2.5.4.14", attributeType );
304
305 // --------------------------------------------------------------------
306 // AttributeType 2.5.4.15
307 // --------------------------------------------------------------------
308
309 attributeType = newAttributeType( "2.5.4.15", registries );
310 attributeType.setDescription( "RFC2256: business category" );
311 attributeType.setCanUserModify( ! false );
312 attributeType.setSingleValue( false );
313 attributeType.setCollective( false );
314 attributeType.setObsolete( false );
315 attributeType.setLength( 128 );
316 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
317 attributeType.setEqualityId( "caseIgnoreMatch" );
318 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
319 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
320
321 names.clear();
322 names.add( "businessCategory" );
323 attributeType.setNames( names.toArray( EMPTY ) );
324 cb.schemaObjectProduced( this, "2.5.4.15", attributeType );
325
326 // --------------------------------------------------------------------
327 // AttributeType 2.5.4.16
328 // --------------------------------------------------------------------
329
330 attributeType = newAttributeType( "2.5.4.16", registries );
331 attributeType.setDescription( "RFC2256: postal address" );
332 attributeType.setCanUserModify( ! false );
333 attributeType.setSingleValue( false );
334 attributeType.setCollective( false );
335 attributeType.setObsolete( false );
336 attributeType.setLength( 0 );
337 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
338 attributeType.setEqualityId( "caseIgnoreListMatch" );
339 attributeType.setSubstrId( "caseIgnoreListSubstringsMatch" );
340 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.41" );
341
342 names.clear();
343 names.add( "postalAddress" );
344 attributeType.setNames( names.toArray( EMPTY ) );
345 cb.schemaObjectProduced( this, "2.5.4.16", attributeType );
346
347 // --------------------------------------------------------------------
348 // AttributeType 2.5.4.17
349 // --------------------------------------------------------------------
350
351 attributeType = newAttributeType( "2.5.4.17", registries );
352 attributeType.setDescription( "RFC2256: postal code" );
353 attributeType.setCanUserModify( ! false );
354 attributeType.setSingleValue( false );
355 attributeType.setCollective( false );
356 attributeType.setObsolete( false );
357 attributeType.setLength( 40 );
358 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
359 attributeType.setEqualityId( "caseIgnoreMatch" );
360 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
361 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
362
363 names.clear();
364 names.add( "postalCode" );
365 attributeType.setNames( names.toArray( EMPTY ) );
366 cb.schemaObjectProduced( this, "2.5.4.17", attributeType );
367
368 // --------------------------------------------------------------------
369 // AttributeType 2.5.4.18
370 // --------------------------------------------------------------------
371
372 attributeType = newAttributeType( "2.5.4.18", registries );
373 attributeType.setDescription( "RFC2256: Post Office Box" );
374 attributeType.setCanUserModify( ! false );
375 attributeType.setSingleValue( false );
376 attributeType.setCollective( false );
377 attributeType.setObsolete( false );
378 attributeType.setLength( 40 );
379 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
380 attributeType.setEqualityId( "caseIgnoreMatch" );
381 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
382 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
383
384 names.clear();
385 names.add( "postOfficeBox" );
386 attributeType.setNames( names.toArray( EMPTY ) );
387 cb.schemaObjectProduced( this, "2.5.4.18", attributeType );
388
389 // --------------------------------------------------------------------
390 // AttributeType 2.5.4.19
391 // --------------------------------------------------------------------
392
393 attributeType = newAttributeType( "2.5.4.19", registries );
394 attributeType.setDescription( "RFC2256: Physical Delivery Office Name" );
395 attributeType.setCanUserModify( ! false );
396 attributeType.setSingleValue( false );
397 attributeType.setCollective( false );
398 attributeType.setObsolete( false );
399 attributeType.setLength( 128 );
400 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
401 attributeType.setEqualityId( "caseIgnoreMatch" );
402 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
403 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
404
405 names.clear();
406 names.add( "physicalDeliveryOfficeName" );
407 attributeType.setNames( names.toArray( EMPTY ) );
408 cb.schemaObjectProduced( this, "2.5.4.19", attributeType );
409
410 // --------------------------------------------------------------------
411 // AttributeType 2.5.4.20
412 // --------------------------------------------------------------------
413
414 attributeType = newAttributeType( "2.5.4.20", registries );
415 attributeType.setDescription( "RFC2256: Telephone Number" );
416 attributeType.setCanUserModify( ! false );
417 attributeType.setSingleValue( false );
418 attributeType.setCollective( false );
419 attributeType.setObsolete( false );
420 attributeType.setLength( 32 );
421 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
422 attributeType.setEqualityId( "telephoneNumberMatch" );
423 attributeType.setSubstrId( "telephoneNumberSubstringsMatch" );
424 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.50" );
425
426 names.clear();
427 names.add( "telephoneNumber" );
428 attributeType.setNames( names.toArray( EMPTY ) );
429 cb.schemaObjectProduced( this, "2.5.4.20", attributeType );
430
431 // --------------------------------------------------------------------
432 // AttributeType 2.5.4.21
433 // --------------------------------------------------------------------
434
435 attributeType = newAttributeType( "2.5.4.21", registries );
436 attributeType.setDescription( "RFC2256: Telex Number" );
437 attributeType.setCanUserModify( ! false );
438 attributeType.setSingleValue( false );
439 attributeType.setCollective( false );
440 attributeType.setObsolete( false );
441 attributeType.setLength( 0 );
442 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
443 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.52" );
444
445 names.clear();
446 names.add( "telexNumber" );
447 attributeType.setNames( names.toArray( EMPTY ) );
448 cb.schemaObjectProduced( this, "2.5.4.21", attributeType );
449
450 // --------------------------------------------------------------------
451 // AttributeType 2.5.4.22
452 // --------------------------------------------------------------------
453
454 attributeType = newAttributeType( "2.5.4.22", registries );
455 attributeType.setDescription( "RFC2256: Teletex Terminal Identifier" );
456 attributeType.setCanUserModify( ! false );
457 attributeType.setSingleValue( false );
458 attributeType.setCollective( false );
459 attributeType.setObsolete( false );
460 attributeType.setLength( 0 );
461 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
462 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.51" );
463
464 names.clear();
465 names.add( "teletexTerminalIdentifier" );
466 attributeType.setNames( names.toArray( EMPTY ) );
467 cb.schemaObjectProduced( this, "2.5.4.22", attributeType );
468
469 // --------------------------------------------------------------------
470 // AttributeType 2.5.4.23
471 // --------------------------------------------------------------------
472
473 attributeType = newAttributeType( "2.5.4.23", registries );
474 attributeType.setDescription( "RFC2256: Facsimile (Fax) Telephone Number" );
475 attributeType.setCanUserModify( ! false );
476 attributeType.setSingleValue( false );
477 attributeType.setCollective( false );
478 attributeType.setObsolete( false );
479 attributeType.setLength( 0 );
480 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
481 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.22" );
482
483 names.clear();
484 names.add( "facsimileTelephoneNumber" );
485 names.add( "fax" );
486 attributeType.setNames( names.toArray( EMPTY ) );
487 cb.schemaObjectProduced( this, "2.5.4.23", attributeType );
488
489 // --------------------------------------------------------------------
490 // AttributeType 2.5.4.24
491 // --------------------------------------------------------------------
492
493 attributeType = newAttributeType( "2.5.4.24", registries );
494 attributeType.setDescription( "RFC2256: X.121 Address" );
495 attributeType.setCanUserModify( ! false );
496 attributeType.setSingleValue( false );
497 attributeType.setCollective( false );
498 attributeType.setObsolete( false );
499 attributeType.setLength( 15 );
500 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
501 attributeType.setEqualityId( "numericStringMatch" );
502 attributeType.setSubstrId( "numericStringSubstringsMatch" );
503 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.36" );
504
505 names.clear();
506 names.add( "x121Address" );
507 attributeType.setNames( names.toArray( EMPTY ) );
508 cb.schemaObjectProduced( this, "2.5.4.24", attributeType );
509
510 // --------------------------------------------------------------------
511 // AttributeType 2.5.4.25
512 // --------------------------------------------------------------------
513
514 attributeType = newAttributeType( "2.5.4.25", registries );
515 attributeType.setDescription( "RFC2256: international ISDN number" );
516 attributeType.setCanUserModify( ! false );
517 attributeType.setSingleValue( false );
518 attributeType.setCollective( false );
519 attributeType.setObsolete( false );
520 attributeType.setLength( 16 );
521 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
522 attributeType.setEqualityId( "numericStringMatch" );
523 attributeType.setSubstrId( "numericStringSubstringsMatch" );
524 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.36" );
525
526 names.clear();
527 names.add( "internationaliSDNNumber" );
528 attributeType.setNames( names.toArray( EMPTY ) );
529 cb.schemaObjectProduced( this, "2.5.4.25", attributeType );
530
531 // --------------------------------------------------------------------
532 // AttributeType 2.5.4.26
533 // --------------------------------------------------------------------
534
535 attributeType = newAttributeType( "2.5.4.26", registries );
536 attributeType.setDescription( "RFC2256: registered postal address" );
537 attributeType.setCanUserModify( ! false );
538 attributeType.setSingleValue( false );
539 attributeType.setCollective( false );
540 attributeType.setObsolete( false );
541 attributeType.setLength( 0 );
542 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
543 attributeType.setSuperiorId( "postalAddress" );
544 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.41" );
545
546 names.clear();
547 names.add( "registeredAddress" );
548 attributeType.setNames( names.toArray( EMPTY ) );
549 cb.schemaObjectProduced( this, "2.5.4.26", attributeType );
550
551 // --------------------------------------------------------------------
552 // AttributeType 2.5.4.27
553 // --------------------------------------------------------------------
554
555 attributeType = newAttributeType( "2.5.4.27", registries );
556 attributeType.setDescription( "RFC2256: destination indicator" );
557 attributeType.setCanUserModify( ! false );
558 attributeType.setSingleValue( false );
559 attributeType.setCollective( false );
560 attributeType.setObsolete( false );
561 attributeType.setLength( 128 );
562 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
563 attributeType.setEqualityId( "caseIgnoreMatch" );
564 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
565 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.44" );
566
567 names.clear();
568 names.add( "destinationIndicator" );
569 attributeType.setNames( names.toArray( EMPTY ) );
570 cb.schemaObjectProduced( this, "2.5.4.27", attributeType );
571
572 // --------------------------------------------------------------------
573 // AttributeType 2.5.4.28
574 // --------------------------------------------------------------------
575
576 attributeType = newAttributeType( "2.5.4.28", registries );
577 attributeType.setDescription( "RFC2256: preferred delivery method" );
578 attributeType.setCanUserModify( ! false );
579 attributeType.setSingleValue( true );
580 attributeType.setCollective( false );
581 attributeType.setObsolete( false );
582 attributeType.setLength( 0 );
583 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
584 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.14" );
585
586 names.clear();
587 names.add( "preferredDeliveryMethod" );
588 attributeType.setNames( names.toArray( EMPTY ) );
589 cb.schemaObjectProduced( this, "2.5.4.28", attributeType );
590
591 // --------------------------------------------------------------------
592 // AttributeType 2.5.4.29
593 // --------------------------------------------------------------------
594
595 attributeType = newAttributeType( "2.5.4.29", registries );
596 attributeType.setDescription( "RFC2256: presentation address" );
597 attributeType.setCanUserModify( ! false );
598 attributeType.setSingleValue( true );
599 attributeType.setCollective( false );
600 attributeType.setObsolete( false );
601 attributeType.setLength( 0 );
602 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
603 attributeType.setEqualityId( "presentationAddressMatch" );
604 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.43" );
605
606 names.clear();
607 names.add( "presentationAddress" );
608 attributeType.setNames( names.toArray( EMPTY ) );
609 cb.schemaObjectProduced( this, "2.5.4.29", attributeType );
610
611 // --------------------------------------------------------------------
612 // AttributeType 2.5.4.30
613 // --------------------------------------------------------------------
614
615 attributeType = newAttributeType( "2.5.4.30", registries );
616 attributeType.setDescription( "RFC2256: supported application context" );
617 attributeType.setCanUserModify( ! false );
618 attributeType.setSingleValue( false );
619 attributeType.setCollective( false );
620 attributeType.setObsolete( false );
621 attributeType.setLength( 0 );
622 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
623 attributeType.setEqualityId( "objectIdentifierMatch" );
624 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
625
626 names.clear();
627 names.add( "supportedApplicationContext" );
628 attributeType.setNames( names.toArray( EMPTY ) );
629 cb.schemaObjectProduced( this, "2.5.4.30", attributeType );
630
631 // --------------------------------------------------------------------
632 // AttributeType 2.5.4.31
633 // --------------------------------------------------------------------
634
635 attributeType = newAttributeType( "2.5.4.31", registries );
636 attributeType.setDescription( "RFC2256: member of a group" );
637 attributeType.setCanUserModify( ! false );
638 attributeType.setSingleValue( false );
639 attributeType.setCollective( false );
640 attributeType.setObsolete( false );
641 attributeType.setLength( 0 );
642 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
643 attributeType.setSuperiorId( "distinguishedName" );
644
645 names.clear();
646 names.add( "member" );
647 attributeType.setNames( names.toArray( EMPTY ) );
648 cb.schemaObjectProduced( this, "2.5.4.31", attributeType );
649
650 // --------------------------------------------------------------------
651 // AttributeType 2.5.4.32
652 // --------------------------------------------------------------------
653
654 attributeType = newAttributeType( "2.5.4.32", registries );
655 attributeType.setDescription( "RFC2256: owner (of the object)" );
656 attributeType.setCanUserModify( ! false );
657 attributeType.setSingleValue( false );
658 attributeType.setCollective( false );
659 attributeType.setObsolete( false );
660 attributeType.setLength( 0 );
661 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
662 attributeType.setSuperiorId( "distinguishedName" );
663
664 names.clear();
665 names.add( "owner" );
666 attributeType.setNames( names.toArray( EMPTY ) );
667 cb.schemaObjectProduced( this, "2.5.4.32", attributeType );
668
669 // --------------------------------------------------------------------
670 // AttributeType 2.5.4.33
671 // --------------------------------------------------------------------
672
673 attributeType = newAttributeType( "2.5.4.33", registries );
674 attributeType.setDescription( "RFC2256: occupant of role" );
675 attributeType.setCanUserModify( ! false );
676 attributeType.setSingleValue( false );
677 attributeType.setCollective( false );
678 attributeType.setObsolete( false );
679 attributeType.setLength( 0 );
680 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
681 attributeType.setSuperiorId( "distinguishedName" );
682
683 names.clear();
684 names.add( "roleOccupant" );
685 attributeType.setNames( names.toArray( EMPTY ) );
686 cb.schemaObjectProduced( this, "2.5.4.33", attributeType );
687
688 // --------------------------------------------------------------------
689 // AttributeType 2.5.4.34
690 // --------------------------------------------------------------------
691
692 attributeType = newAttributeType( "2.5.4.34", registries );
693 attributeType.setDescription( "RFC2256: DN of related object" );
694 attributeType.setCanUserModify( ! false );
695 attributeType.setSingleValue( false );
696 attributeType.setCollective( false );
697 attributeType.setObsolete( false );
698 attributeType.setLength( 0 );
699 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
700 attributeType.setSuperiorId( "distinguishedName" );
701
702 names.clear();
703 names.add( "seeAlso" );
704 attributeType.setNames( names.toArray( EMPTY ) );
705 cb.schemaObjectProduced( this, "2.5.4.34", attributeType );
706
707 // --------------------------------------------------------------------
708 // AttributeType 2.5.4.36
709 // --------------------------------------------------------------------
710
711 attributeType = newAttributeType( "2.5.4.36", registries );
712 attributeType.setDescription( "RFC2256: X.509 user certificate, use ;binary" );
713 attributeType.setCanUserModify( ! false );
714 attributeType.setSingleValue( false );
715 attributeType.setCollective( false );
716 attributeType.setObsolete( false );
717 attributeType.setLength( 0 );
718 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
719 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.8" );
720
721 names.clear();
722 names.add( "userCertificate" );
723 attributeType.setNames( names.toArray( EMPTY ) );
724 cb.schemaObjectProduced( this, "2.5.4.36", attributeType );
725
726 // --------------------------------------------------------------------
727 // AttributeType 2.5.4.37
728 // --------------------------------------------------------------------
729
730 attributeType = newAttributeType( "2.5.4.37", registries );
731 attributeType.setDescription( "RFC2256: X.509 CA certificate, use ;binary" );
732 attributeType.setCanUserModify( ! false );
733 attributeType.setSingleValue( false );
734 attributeType.setCollective( false );
735 attributeType.setObsolete( false );
736 attributeType.setLength( 0 );
737 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
738 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.8" );
739
740 names.clear();
741 names.add( "cACertificate" );
742 attributeType.setNames( names.toArray( EMPTY ) );
743 cb.schemaObjectProduced( this, "2.5.4.37", attributeType );
744
745 // --------------------------------------------------------------------
746 // AttributeType 2.5.4.38
747 // --------------------------------------------------------------------
748
749 attributeType = newAttributeType( "2.5.4.38", registries );
750 attributeType.setDescription( "RFC2256: X.509 authority revocation list, use ;binary" );
751 attributeType.setCanUserModify( ! false );
752 attributeType.setSingleValue( false );
753 attributeType.setCollective( false );
754 attributeType.setObsolete( false );
755 attributeType.setLength( 0 );
756 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
757 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.9" );
758
759 names.clear();
760 names.add( "authorityRevocationList" );
761 attributeType.setNames( names.toArray( EMPTY ) );
762 cb.schemaObjectProduced( this, "2.5.4.38", attributeType );
763
764 // --------------------------------------------------------------------
765 // AttributeType 2.5.4.39
766 // --------------------------------------------------------------------
767
768 attributeType = newAttributeType( "2.5.4.39", registries );
769 attributeType.setDescription( "RFC2256: X.509 certificate revocation list, use ;binary" );
770 attributeType.setCanUserModify( ! false );
771 attributeType.setSingleValue( false );
772 attributeType.setCollective( false );
773 attributeType.setObsolete( false );
774 attributeType.setLength( 0 );
775 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
776 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.9" );
777
778 names.clear();
779 names.add( "certificateRevocationList" );
780 attributeType.setNames( names.toArray( EMPTY ) );
781 cb.schemaObjectProduced( this, "2.5.4.39", attributeType );
782
783 // --------------------------------------------------------------------
784 // AttributeType 2.5.4.40
785 // --------------------------------------------------------------------
786
787 attributeType = newAttributeType( "2.5.4.40", registries );
788 attributeType.setDescription( "RFC2256: X.509 cross certificate pair, use ;binary" );
789 attributeType.setCanUserModify( ! false );
790 attributeType.setSingleValue( false );
791 attributeType.setCollective( false );
792 attributeType.setObsolete( false );
793 attributeType.setLength( 0 );
794 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
795 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.10" );
796
797 names.clear();
798 names.add( "crossCertificatePair" );
799 attributeType.setNames( names.toArray( EMPTY ) );
800 cb.schemaObjectProduced( this, "2.5.4.40", attributeType );
801
802 // --------------------------------------------------------------------
803 // AttributeType 2.5.4.42
804 // --------------------------------------------------------------------
805
806 attributeType = newAttributeType( "2.5.4.42", registries );
807 attributeType.setDescription( "RFC2256: first name(s) for which the entity is known by" );
808 attributeType.setCanUserModify( ! false );
809 attributeType.setSingleValue( false );
810 attributeType.setCollective( false );
811 attributeType.setObsolete( false );
812 attributeType.setLength( 0 );
813 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
814 attributeType.setSuperiorId( "name" );
815
816 names.clear();
817 names.add( "givenName" );
818 names.add( "gn" );
819 attributeType.setNames( names.toArray( EMPTY ) );
820 cb.schemaObjectProduced( this, "2.5.4.42", attributeType );
821
822 // --------------------------------------------------------------------
823 // AttributeType 2.5.4.43
824 // --------------------------------------------------------------------
825
826 attributeType = newAttributeType( "2.5.4.43", registries );
827 attributeType.setDescription( "RFC2256: initials of some or all of names, but not the surname(s)." );
828 attributeType.setCanUserModify( ! false );
829 attributeType.setSingleValue( false );
830 attributeType.setCollective( false );
831 attributeType.setObsolete( false );
832 attributeType.setLength( 0 );
833 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
834 attributeType.setSuperiorId( "name" );
835
836 names.clear();
837 names.add( "initials" );
838 attributeType.setNames( names.toArray( EMPTY ) );
839 cb.schemaObjectProduced( this, "2.5.4.43", attributeType );
840
841 // --------------------------------------------------------------------
842 // AttributeType 2.5.4.44
843 // --------------------------------------------------------------------
844
845 attributeType = newAttributeType( "2.5.4.44", registries );
846 attributeType.setDescription( "RFC2256: name qualifier indicating a generation" );
847 attributeType.setCanUserModify( ! false );
848 attributeType.setSingleValue( false );
849 attributeType.setCollective( false );
850 attributeType.setObsolete( false );
851 attributeType.setLength( 0 );
852 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
853 attributeType.setSuperiorId( "name" );
854
855 names.clear();
856 names.add( "generationQualifier" );
857 attributeType.setNames( names.toArray( EMPTY ) );
858 cb.schemaObjectProduced( this, "2.5.4.44", attributeType );
859
860 // --------------------------------------------------------------------
861 // AttributeType 2.5.4.45
862 // --------------------------------------------------------------------
863
864 attributeType = newAttributeType( "2.5.4.45", registries );
865 attributeType.setDescription( "RFC2256: X.500 unique identifier" );
866 attributeType.setCanUserModify( ! false );
867 attributeType.setSingleValue( false );
868 attributeType.setCollective( false );
869 attributeType.setObsolete( false );
870 attributeType.setLength( 0 );
871 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
872 attributeType.setEqualityId( "bitStringMatch" );
873 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.6" );
874
875 names.clear();
876 names.add( "x500UniqueIdentifier" );
877 attributeType.setNames( names.toArray( EMPTY ) );
878 cb.schemaObjectProduced( this, "2.5.4.45", attributeType );
879
880 // --------------------------------------------------------------------
881 // AttributeType 2.5.4.46
882 // --------------------------------------------------------------------
883
884 attributeType = newAttributeType( "2.5.4.46", registries );
885 attributeType.setDescription( "RFC2256: DN qualifier" );
886 attributeType.setCanUserModify( ! false );
887 attributeType.setSingleValue( false );
888 attributeType.setCollective( false );
889 attributeType.setObsolete( false );
890 attributeType.setLength( 0 );
891 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
892 attributeType.setEqualityId( "caseIgnoreMatch" );
893 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
894 attributeType.setOrderingId( "caseIgnoreOrderingMatch" );
895 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.44" );
896
897 names.clear();
898 names.add( "dnQualifier" );
899 attributeType.setNames( names.toArray( EMPTY ) );
900 cb.schemaObjectProduced( this, "2.5.4.46", attributeType );
901
902 // --------------------------------------------------------------------
903 // AttributeType 2.5.4.47
904 // --------------------------------------------------------------------
905
906 attributeType = newAttributeType( "2.5.4.47", registries );
907 attributeType.setDescription( "RFC2256: enhanced search guide" );
908 attributeType.setCanUserModify( ! false );
909 attributeType.setSingleValue( false );
910 attributeType.setCollective( false );
911 attributeType.setObsolete( false );
912 attributeType.setLength( 0 );
913 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
914 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.21" );
915
916 names.clear();
917 names.add( "enhancedSearchGuide" );
918 attributeType.setNames( names.toArray( EMPTY ) );
919 cb.schemaObjectProduced( this, "2.5.4.47", attributeType );
920
921 // --------------------------------------------------------------------
922 // AttributeType 2.5.4.48
923 // --------------------------------------------------------------------
924
925 attributeType = newAttributeType( "2.5.4.48", registries );
926 attributeType.setDescription( "RFC2256: protocol information" );
927 attributeType.setCanUserModify( ! false );
928 attributeType.setSingleValue( false );
929 attributeType.setCollective( false );
930 attributeType.setObsolete( false );
931 attributeType.setLength( 0 );
932 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
933 attributeType.setEqualityId( "protocolInformationMatch" );
934 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.42" );
935
936 names.clear();
937 names.add( "protocolInformation" );
938 attributeType.setNames( names.toArray( EMPTY ) );
939 cb.schemaObjectProduced( this, "2.5.4.48", attributeType );
940
941 // --------------------------------------------------------------------
942 // AttributeType 2.5.4.50
943 // --------------------------------------------------------------------
944
945 attributeType = newAttributeType( "2.5.4.50", registries );
946 attributeType.setDescription( "RFC2256: unique member of a group" );
947 attributeType.setCanUserModify( ! false );
948 attributeType.setSingleValue( false );
949 attributeType.setCollective( false );
950 attributeType.setObsolete( false );
951 attributeType.setLength( 0 );
952 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
953 attributeType.setEqualityId( "uniqueMemberMatch" );
954 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.34" );
955
956 names.clear();
957 names.add( "uniqueMember" );
958 attributeType.setNames( names.toArray( EMPTY ) );
959 cb.schemaObjectProduced( this, "2.5.4.50", attributeType );
960
961 // --------------------------------------------------------------------
962 // AttributeType 2.5.4.51
963 // --------------------------------------------------------------------
964
965 attributeType = newAttributeType( "2.5.4.51", registries );
966 attributeType.setDescription( "RFC2256: house identifier" );
967 attributeType.setCanUserModify( ! false );
968 attributeType.setSingleValue( false );
969 attributeType.setCollective( false );
970 attributeType.setObsolete( false );
971 attributeType.setLength( 32768 );
972 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
973 attributeType.setEqualityId( "caseIgnoreMatch" );
974 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
975 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
976
977 names.clear();
978 names.add( "houseIdentifier" );
979 attributeType.setNames( names.toArray( EMPTY ) );
980 cb.schemaObjectProduced( this, "2.5.4.51", attributeType );
981
982 // --------------------------------------------------------------------
983 // AttributeType 2.5.4.52
984 // --------------------------------------------------------------------
985
986 attributeType = newAttributeType( "2.5.4.52", registries );
987 attributeType.setDescription( "RFC2256: supported algorithms" );
988 attributeType.setCanUserModify( ! false );
989 attributeType.setSingleValue( false );
990 attributeType.setCollective( false );
991 attributeType.setObsolete( false );
992 attributeType.setLength( 0 );
993 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
994 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.49" );
995
996 names.clear();
997 names.add( "supportedAlgorithms" );
998 attributeType.setNames( names.toArray( EMPTY ) );
999 cb.schemaObjectProduced( this, "2.5.4.52", attributeType );
1000
1001 // --------------------------------------------------------------------
1002 // AttributeType 2.5.4.53
1003 // --------------------------------------------------------------------
1004
1005 attributeType = newAttributeType( "2.5.4.53", registries );
1006 attributeType.setDescription( "RFC2256: delta revocation list; use ;binary" );
1007 attributeType.setCanUserModify( ! false );
1008 attributeType.setSingleValue( false );
1009 attributeType.setCollective( false );
1010 attributeType.setObsolete( false );
1011 attributeType.setLength( 0 );
1012 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
1013 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.9" );
1014
1015 names.clear();
1016 names.add( "deltaRevocationList" );
1017 attributeType.setNames( names.toArray( EMPTY ) );
1018 cb.schemaObjectProduced( this, "2.5.4.53", attributeType );
1019
1020 // --------------------------------------------------------------------
1021 // AttributeType 2.5.4.54
1022 // --------------------------------------------------------------------
1023
1024 attributeType = newAttributeType( "2.5.4.54", registries );
1025 attributeType.setDescription( "RFC2256: name of DMD" );
1026 attributeType.setCanUserModify( ! false );
1027 attributeType.setSingleValue( false );
1028 attributeType.setCollective( false );
1029 attributeType.setObsolete( false );
1030 attributeType.setLength( 0 );
1031 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
1032 attributeType.setSuperiorId( "name" );
1033
1034 names.clear();
1035 names.add( "dmdName" );
1036 attributeType.setNames( names.toArray( EMPTY ) );
1037 cb.schemaObjectProduced( this, "2.5.4.54", attributeType );
1038
1039 // --------------------------------------------------------------------
1040 // AttributeType 0.9.2342.19200300.100.1.1
1041 // --------------------------------------------------------------------
1042
1043 attributeType = newAttributeType( "0.9.2342.19200300.100.1.1", registries );
1044 attributeType.setDescription( "RFC1274: user identifier" );
1045 attributeType.setCanUserModify( ! false );
1046 attributeType.setSingleValue( false );
1047 attributeType.setCollective( false );
1048 attributeType.setObsolete( false );
1049 attributeType.setLength( 256 );
1050 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
1051 attributeType.setEqualityId( "caseIgnoreMatch" );
1052 attributeType.setSubstrId( "caseIgnoreSubstringsMatch" );
1053 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
1054
1055 names.clear();
1056 names.add( "uid" );
1057 names.add( "userid" );
1058 attributeType.setNames( names.toArray( EMPTY ) );
1059 cb.schemaObjectProduced( this, "0.9.2342.19200300.100.1.1", attributeType );
1060
1061 // --------------------------------------------------------------------
1062 // AttributeType 0.9.2342.19200300.100.1.3
1063 // --------------------------------------------------------------------
1064
1065 attributeType = newAttributeType( "0.9.2342.19200300.100.1.3", registries );
1066 attributeType.setDescription( "RFC1274: RFC822 Mailbox" );
1067 attributeType.setCanUserModify( ! false );
1068 attributeType.setSingleValue( false );
1069 attributeType.setCollective( false );
1070 attributeType.setObsolete( false );
1071 attributeType.setLength( 256 );
1072 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
1073 attributeType.setEqualityId( "caseIgnoreIA5Match" );
1074 attributeType.setSubstrId( "caseIgnoreIA5SubstringsMatch" );
1075 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
1076
1077 names.clear();
1078 names.add( "mail" );
1079 names.add( "rfc822Mailbox" );
1080 attributeType.setNames( names.toArray( EMPTY ) );
1081 cb.schemaObjectProduced( this, "0.9.2342.19200300.100.1.3", attributeType );
1082
1083 // --------------------------------------------------------------------
1084 // AttributeType 0.9.2342.19200300.100.1.25
1085 // --------------------------------------------------------------------
1086
1087 attributeType = newAttributeType( "0.9.2342.19200300.100.1.25", registries );
1088 attributeType.setDescription( "RFC1274/2247: domain component" );
1089 attributeType.setCanUserModify( ! false );
1090 attributeType.setSingleValue( true );
1091 attributeType.setCollective( false );
1092 attributeType.setObsolete( false );
1093 attributeType.setLength( 0 );
1094 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
1095 attributeType.setEqualityId( "caseIgnoreIA5Match" );
1096 attributeType.setSubstrId( "caseIgnoreIA5SubstringsMatch" );
1097 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
1098
1099 names.clear();
1100 names.add( "dc" );
1101 names.add( "domainComponent" );
1102 attributeType.setNames( names.toArray( EMPTY ) );
1103 cb.schemaObjectProduced( this, "0.9.2342.19200300.100.1.25", attributeType );
1104
1105 // --------------------------------------------------------------------
1106 // AttributeType 0.9.2342.19200300.100.1.37
1107 // --------------------------------------------------------------------
1108
1109 attributeType = newAttributeType( "0.9.2342.19200300.100.1.37", registries );
1110 attributeType.setDescription( "RFC1274: domain associated with object" );
1111 attributeType.setCanUserModify( ! false );
1112 attributeType.setSingleValue( false );
1113 attributeType.setCollective( false );
1114 attributeType.setObsolete( false );
1115 attributeType.setLength( 0 );
1116 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
1117 attributeType.setEqualityId( "caseIgnoreIA5Match" );
1118 attributeType.setSubstrId( "caseIgnoreIA5SubstringsMatch" );
1119 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
1120
1121 names.clear();
1122 names.add( "associatedDomain" );
1123 attributeType.setNames( names.toArray( EMPTY ) );
1124 cb.schemaObjectProduced( this, "0.9.2342.19200300.100.1.37", attributeType );
1125
1126 // --------------------------------------------------------------------
1127 // AttributeType 1.2.840.113549.1.9.1
1128 // --------------------------------------------------------------------
1129
1130 attributeType = newAttributeType( "1.2.840.113549.1.9.1", registries );
1131 attributeType.setDescription( "RFC2459: legacy attribute for email addresses in DNs" );
1132 attributeType.setCanUserModify( ! false );
1133 attributeType.setSingleValue( false );
1134 attributeType.setCollective( false );
1135 attributeType.setObsolete( false );
1136 attributeType.setLength( 128 );
1137 attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
1138 attributeType.setEqualityId( "caseIgnoreIA5Match" );
1139 attributeType.setSubstrId( "caseIgnoreIA5SubstringsMatch" );
1140 attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
1141
1142 names.clear();
1143 names.add( "email" );
1144 names.add( "emailAddress" );
1145 names.add( "pkcs9email" );
1146 attributeType.setNames( names.toArray( EMPTY ) );
1147 cb.schemaObjectProduced( this, "1.2.840.113549.1.9.1", attributeType );
1148 }
1149 }