Subversion Repositories oidplus

Rev

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

  1. <?php
  2.  
  3. /**
  4.  * RelativeDistinguishedName
  5.  *
  6.  * PHP version 5
  7.  *
  8.  * @category  File
  9.  * @package   ASN1
  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.  *
  29.  * @package ASN1
  30.  * @author  Jim Wigginton <terrafrost@php.net>
  31.  * @access  public
  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. }
  42.