Home
last modified time | relevance | path

Searched refs:AbstractType (Results 1 – 25 of 73) sorted by relevance

123

/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/
H A DLdapEncoder.php14 use FreeDSx\Asn1\Type\AbstractType; alias
39 0 => AbstractType::TAG_TYPE_SEQUENCE,
40 1 => AbstractType::TAG_TYPE_SEQUENCE,
41 2 => AbstractType::TAG_TYPE_NULL,
42 3 => AbstractType::TAG_TYPE_SEQUENCE,
43 4 => AbstractType::TAG_TYPE_SEQUENCE,
44 5 => AbstractType::TAG_TYPE_SEQUENCE,
45 6 => AbstractType::TAG_TYPE_SEQUENCE,
46 7 => AbstractType::TAG_TYPE_SEQUENCE,
47 8 => AbstractType::TAG_TYPE_SEQUENCE,
[all …]
H A DProtocolElementInterface.php13 use FreeDSx\Asn1\Type\AbstractType; alias
25 * @return AbstractType
27 public function toAsn1(): AbstractType;
30 * @param AbstractType $type
33 public static function fromAsn1(AbstractType $type);
H A DLdapMessageRequest.php13 use FreeDSx\Asn1\Type\AbstractType; alias
50 * @return AbstractType
52 protected function getOperationAsn1(): AbstractType
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/Type/
H A DSetTrait.php28 * @param AbstractType ...$set
29 * @return AbstractType[]
31 protected function canonicalize(AbstractType ...$set) : array
34 AbstractType::TAG_CLASS_UNIVERSAL => [],
35 AbstractType::TAG_CLASS_APPLICATION => [],
36 AbstractType::TAG_CLASS_CONTEXT_SPECIFIC => [],
37 AbstractType::TAG_CLASS_PRIVATE => [],
55 $children[AbstractType::TAG_CLASS_UNIVERSAL],
56 $children[AbstractType::TAG_CLASS_APPLICATION],
57 $children[AbstractType::TAG_CLASS_CONTEXT_SPECIFIC],
[all …]
H A DAbstractType.php18 abstract class AbstractType implements \Countable, \IteratorAggregate class
110 * @var AbstractType[]
197 * @param AbstractType ...$types
208 * @return AbstractType[]
217 * @return null|AbstractType
219 public function getChild(int $index) : ?AbstractType
225 * @param AbstractType ...$types
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/Request/
H A DExtendedRequest.php14 use FreeDSx\Asn1\Type\AbstractType; alias
59 * @var null|AbstractType|ProtocolElementInterface|string
104 * @return AbstractType|ProtocolElementInterface|string|null
114 public function toAsn1(): AbstractType
121 if ($value instanceof AbstractType) {
135 public static function fromAsn1(AbstractType $type)
141 * @param AbstractType $type
142 * @return AbstractType
145 protected static function decodeEncodedValue(AbstractType $type): ?AbstractType
153 * @param AbstractType $type
[all …]
H A DDeleteRequest.php14 use FreeDSx\Asn1\Type\AbstractType; alias
65 public function toAsn1(): AbstractType
73 public static function fromAsn1(AbstractType $type)
81 * @param AbstractType $type
84 protected static function validate(AbstractType $type): void
86 …if (!$type instanceof OctetStringType || $type->getTagClass() !== AbstractType::TAG_CLASS_APPLICAT…
H A DBindRequest.php14 use FreeDSx\Asn1\Type\AbstractType; alias
85 public function toAsn1(): AbstractType
99 public static function fromAsn1(AbstractType $type)
135 * @return AbstractType
137 abstract protected function getAsn1AuthChoice(): AbstractType;
H A DUnbindRequest.php14 use FreeDSx\Asn1\Type\AbstractType; alias
32 public static function fromAsn1(AbstractType $type)
44 public function toAsn1(): AbstractType
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/
H A DAsn1.php14 use FreeDSx\Asn1\Type\AbstractType; alias
51 * @param AbstractType ...$types
60 * @param AbstractType ...$types
316 * @param AbstractType $type
317 * @return AbstractType
326 * @param AbstractType $type
327 * @return AbstractType
336 * @param AbstractType $type
337 * @return AbstractType
346 * @param AbstractType $type
[all …]
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/Response/
H A DExtendedResponse.php14 use FreeDSx\Asn1\Type\AbstractType; alias
46 * @var null|string|AbstractType|ProtocolElementInterface
85 public static function fromAsn1(AbstractType $type)
96 public function toAsn1(): AbstractType
107 if ($value instanceof AbstractType) {
119 * @param AbstractType $type
139 * @param AbstractType $type
142 protected static function createLdapResult(AbstractType $type)
150 * @param AbstractType $type
151 * @return AbstractType|null
[all …]
H A DIntermediateResponse.php14 use FreeDSx\Asn1\Type\AbstractType; alias
70 public static function fromAsn1(AbstractType $type)
79 …if ($child->getTagNumber() === 0 && $child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPEC…
82 …if ($child->getTagNumber() === 1 && $child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPEC…
93 public function toAsn1(): AbstractType
H A DBindResponse.php14 use FreeDSx\Asn1\Type\AbstractType; alias
57 public function toAsn1(): AbstractType
72 public static function fromAsn1(AbstractType $type)
79 …if ($child->getTagNumber() === 7 && $child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPEC…
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/Encoder/
H A DEncoderInterface.php15 use FreeDSx\Asn1\Type\AbstractType; alias
28 * @param AbstractType $type
32 public function encode(AbstractType $type) : string;
40 * @return AbstractType
43 public function complete(IncompleteType $type, int $tagType, array $tagMap = []) : AbstractType;
50 * @return AbstractType
54 public function decode($binary, array $tagMap = []) : AbstractType;
H A DBerEncoder.php19 use FreeDSx\Asn1\Type\AbstractType; alias
60 AbstractType::TAG_CLASS_APPLICATION => [],
62 AbstractType::TAG_CLASS_PRIVATE => [],
285 * @return AbstractType
347 case AbstractType::TAG_TYPE_BOOLEAN:
353 case AbstractType::TAG_TYPE_NULL:
359 case AbstractType::TAG_TYPE_INTEGER:
371 case AbstractType::TAG_TYPE_REAL:
380 case AbstractType::TAG_TYPE_OID:
456 case AbstractType::TAG_TYPE_SET:
[all …]
H A DDerEncoder.php16 use FreeDSx\Asn1\Type\AbstractType; alias
43 public function encode(AbstractType $type): string
53 …sRoot = false, $tagType = null, $length = null, $isConstructed = null, $class = null): AbstractType
85 * @param AbstractType $type
88 protected function validate(AbstractType $type) : void
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Control/
H A DControl.php14 use FreeDSx\Asn1\Type\AbstractType; alias
75 * @var AbstractType|ProtocolElementInterface|string|null
130 * @param AbstractType|ProtocolElementInterface|string|null $controlValue
141 * @return AbstractType|ProtocolElementInterface|string|null
151 public function toAsn1(): AbstractType
160 if ($this->controlValue instanceof AbstractType) {
184 public static function fromAsn1(AbstractType $type)
198 * @param AbstractType $type
216 * @param AbstractType $type
217 * @return AbstractType
[all …]
H A DPwdPolicyResponseControl.php14 use FreeDSx\Asn1\Type\AbstractType; alias
97 public function toAsn1(): AbstractType
130 public static function fromAsn1(AbstractType $type)
145 $warnings = $encoder->complete($child, AbstractType::TAG_TYPE_SEQUENCE, [
146 AbstractType::TAG_CLASS_CONTEXT_SPECIFIC => [
147 0 => AbstractType::TAG_TYPE_INTEGER,
148 1 => AbstractType::TAG_TYPE_INTEGER,
151 /** @var AbstractType $warning */
162 $error = $encoder->complete($child, AbstractType::TAG_TYPE_ENUMERATED)->getValue();
/plugin/pureldap/vendor/freedsx/socket/src/FreeDSx/Socket/
H A DPduInterface.php13 use FreeDSx\Asn1\Type\AbstractType; alias
23 * @return AbstractType
25 public function toAsn1() : AbstractType;
28 * @param AbstractType $asn1
31 public static function fromAsn1(AbstractType $asn1);
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Control/Sorting/
H A DSortingControl.php14 use FreeDSx\Asn1\Type\AbstractType; alias
83 public static function fromAsn1(AbstractType $type)
102 /** @var AbstractType $keyItem */
104 …if ($keyItem instanceof OctetStringType && $keyItem->getTagClass() === AbstractType::TAG_CLASS_UNI…
106 …} elseif ($keyItem->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC && $keyItem->getTag…
108 …} elseif ($keyItem->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC && $keyItem->getTag…
113 … $useReverseOrder = $encoder->complete($keyItem, AbstractType::TAG_TYPE_BOOLEAN)->getValue();
132 public function toAsn1(): AbstractType
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/
H A DLdapResult.php14 use FreeDSx\Asn1\Type\AbstractType; alias
152 public function toAsn1(): AbstractType
174 public static function fromAsn1(AbstractType $type)
182 * @param AbstractType $type
186 protected static function parseResultData(AbstractType $type)
199 …if ($child !== null && $child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC && $chil…
203 $child = (new LdapEncoder())->complete($child, AbstractType::TAG_TYPE_SEQUENCE);
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Control/Ad/
H A DExtendedDnControl.php14 use FreeDSx\Asn1\Type\AbstractType; alias
64 public static function fromAsn1(AbstractType $type)
94 public function toAsn1(): AbstractType
103 * @param AbstractType $type
106 protected static function validate(AbstractType $type): void
H A DExpectedEntryCountControl.php14 use FreeDSx\Asn1\Type\AbstractType; alias
95 public static function fromAsn1(AbstractType $type)
120 public function toAsn1(): AbstractType
131 * @param AbstractType $type
134 protected static function validate(AbstractType $type): void
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Search/Filter/
H A DPresentFilter.php14 use FreeDSx\Asn1\Type\AbstractType; alias
42 public function toAsn1(): AbstractType
58 public static function fromAsn1(AbstractType $type)
60 …$type = $type instanceof IncompleteType ? (new LdapEncoder())->complete($type, AbstractType::TAG_T…
H A DNotFilter.php14 use FreeDSx\Asn1\Type\AbstractType; alias
65 public function toAsn1(): AbstractType
92 public static function fromAsn1(AbstractType $type)
94 …$type = $type instanceof IncompleteType ? (new LdapEncoder())->complete($type, AbstractType::TAG_T…

123