* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FreeDSx\Asn1\Type; /** * Represents an incomplete ASN1 type where there was not enough information available to decode it. The value contains * the complete binary value. * * @author Chad Sikorra */ class IncompleteType extends AbstractType { /** * @param string $value * @param int $tagNumber * @param int $class * @param bool $isConstructed */ public function __construct($value, $tagNumber = null, int $class = AbstractType::TAG_CLASS_UNIVERSAL, bool $isConstructed = false) { $this->tagNumber = $tagNumber; $this->taggingClass = $class; $this->isConstructed = $isConstructed; parent::__construct($value); } }