| 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 WP_DEFENDER_VENDOR\FG\ASN1\Universal; |
| 12 |
|
| 13 |
use WP_DEFENDER_VENDOR\FG\ASN1\AbstractString; |
| 14 |
use WP_DEFENDER_VENDOR\FG\ASN1\Identifier; |
| 15 |
|
| 16 |
class CharacterString extends AbstractString |
| 17 |
{ |
| 18 |
public function __construct($string) |
| 19 |
{ |
| 20 |
$this->value = $string; |
| 21 |
$this->allowAll(); |
| 22 |
} |
| 23 |
|
| 24 |
public function getType() |
| 25 |
{ |
| 26 |
return Identifier::CHARACTER_STRING; |
| 27 |
} |
| 28 |
} |
| 29 |
|