[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/fgrosse/phpasn1/lib/X509/SAN/ -> DNSName.php (source)

   1  <?php
   2  /*
   3   * This file is part of the PHPASN1 library.
   4   *
   5   * Copyright © Friedrich Große <[email protected]>
   6   *
   7   * For the full copyright and license information, please view the LICENSE
   8   * file that was distributed with this source code.
   9   */
  10  
  11  namespace FG\X509\SAN;
  12  
  13  use FG\ASN1\Universal\GeneralString;
  14  
  15  class DNSName extends GeneralString
  16  {
  17      const IDENTIFIER = 0x82; // not sure yet why this is the identifier used in SAN extensions
  18  
  19      public function __construct($dnsNameString)
  20      {
  21          parent::__construct($dnsNameString);
  22      }
  23  
  24      public function getType()
  25      {
  26          return self::IDENTIFIER;
  27      }
  28  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer