1<?php
2
3/**
4 * RelativeDistinguishedName
5 *
6 * PHP version 5
7 *
8 * @author    Jim Wigginton <terrafrost@php.net>
9 * @copyright 2016 Jim Wigginton
10 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
11 * @link      http://phpseclib.sourceforge.net
12 */
13
14namespace phpseclib3\File\ASN1\Maps;
15
16use phpseclib3\File\ASN1;
17
18/**
19 * RelativeDistinguishedName
20 *
21 * In practice, RDNs containing multiple name-value pairs (called "multivalued RDNs") are rare,
22 * but they can be useful at times when either there is no unique attribute in the entry or you
23 * want to ensure that the entry's DN contains some useful identifying information.
24 *
25 * - https://www.opends.org/wiki/page/DefinitionRelativeDistinguishedName
26 *
27 * @author  Jim Wigginton <terrafrost@php.net>
28 */
29abstract class RelativeDistinguishedName
30{
31    const MAP = [
32        'type' => ASN1::TYPE_SET,
33        'min' => 1,
34        'max' => -1,
35        'children' => AttributeTypeAndValue::MAP
36    ];
37}
38