CoreFiles by mySites.guru
GraphicString.php34 lines, 748 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
b2b430e8c02cfbefc093fd037c9c7f59
sha1
effc49c4bf02b4a340322e617dea55f590ebbbcd
sha256
f6d5db69499d0fd21335e2a5a001af1850a19a0e59c48170ed85cea7d78c39e8
<?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\ASN1\Universal;

use FG\ASN1\AbstractString;
use FG\ASN1\Identifier;

class GraphicString extends AbstractString
{
    /**
     * Creates a new ASN.1 Graphic String.
     * TODO The encodable characters of this type are not yet checked.
     *
     * @param string $string
     */
    public function __construct($string)
    {
        $this->value = $string;
        $this->allowAll();
    }

    public function getType()
    {
        return Identifier::GRAPHIC_STRING;
    }
}

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.