CoreFiles by mySites.guru
DNSName.php28 lines, 633 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
c88fd462df3567619d38bf9723b1ae16
sha1
ab6bfa07a930c7e5fff2d6494b425980758e8cf9
sha256
fb5763ffee9115b36d42913d36e27fe9b7c5109ba0215ab8f43f04bf38482eeb
<?php
/*
 * This file is part of the PHPASN1 library.
 *
 * Copyright © Friedrich Große <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace FG\X509\SAN;

use FG\ASN1\Universal\GeneralString;

class DNSName extends GeneralString
{
    const IDENTIFIER = 0x82; // not sure yet why this is the identifier used in SAN extensions

    public function __construct($dnsNameString)
    {
        parent::__construct($dnsNameString);
    }

    public function getType()
    {
        return self::IDENTIFIER;
    }
}

The same content is in 137 releases, Joomla 4.0.0-beta to 5.0.0-beta2. See them all, or every version of this file.