CoreFiles by mySites.guru
T61String.php36 lines, 793 bytes, from Joomla_4.3.2-Stable-Full_Package.zip
Raw History Compare with 4.3.1
md5
ad263f7bb76e64076fc531c33bb3dbaf
sha1
4d46e186a37ecb975bd3da81396492075d8c3d2b
sha256
d02f330b19da10ec95c485a896275a43eccb204025f86e55895d084f3bb30573
<?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 T61String extends AbstractString
{
    /**
     * Creates a new ASN.1 T61 String.
     * TODO The encodable characters of this type are not yet checked.
     *
     * @see http://en.wikipedia.org/wiki/ITU_T.61
     *
     * @param string $string
     */
    public function __construct($string)
    {
        $this->value = $string;
        $this->allowAll();
    }

    public function getType()
    {
        return Identifier::T61_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.