Subversion Repositories oidplus

Rev

Rev 846 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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