Lines Matching refs:AbstractType
17 use FreeDSx\Asn1\Type\AbstractType;
63 * @var null|AbstractType|ProtocolElementInterface|string
69 * @param null|AbstractType|ProtocolElementInterface|string $requestValue
97 * @param AbstractType|ProtocolElementInterface|string|null $requestValue
108 * @return AbstractType|ProtocolElementInterface|string|null
116 * @return AbstractType
119 public function toAsn1(): AbstractType
126 if ($value instanceof AbstractType) {
141 public static function fromAsn1(AbstractType $type)
147 * @param AbstractType $type
148 * @return AbstractType
153 protected static function decodeEncodedValue(AbstractType $type): ?AbstractType
161 * @param AbstractType $type
166 protected static function parseAsn1ExtendedRequest(AbstractType $type)
175 if ($child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC && $child->getTagNumber() === 0) {
177 } elseif ($child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC && $child->getTagNumber() === 1) {