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.php15 use FreeDSx\Asn1\Type\AbstractType;
36 AbstractType::TAG_TYPE_OCTET_STRING,
39 $this->setTagMap(AbstractType::TAG_CLASS_APPLICATION, [
40 0 => AbstractType::TAG_TYPE_SEQUENCE,
41 1 => AbstractType::TAG_TYPE_SEQUENCE,
42 2 => AbstractType::TAG_TYPE_NULL,
43 3 => AbstractType::TAG_TYPE_SEQUENCE,
44 4 => AbstractType::TAG_TYPE_SEQUENCE,
45 5 => AbstractType::TAG_TYPE_SEQUENCE,
46 6 => AbstractType
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
[all...]
H A DProtocolElementInterface.php14 use FreeDSx\Asn1\Type\AbstractType;
27 * @return AbstractType
29 public function toAsn1(): AbstractType;
32 * @param AbstractType $type
36 public static function fromAsn1(AbstractType $type);
13 use FreeDSx\Asn1\Type\AbstractType; global() alias
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/Type/
H A DSetTrait.php31 * @param AbstractType ...$set
32 * @return AbstractType[]
34 protected function canonicalize(AbstractType ...$set): array
37 AbstractType::TAG_CLASS_UNIVERSAL => [],
38 AbstractType::TAG_CLASS_APPLICATION => [],
39 AbstractType::TAG_CLASS_CONTEXT_SPECIFIC => [],
40 AbstractType::TAG_CLASS_PRIVATE => [],
51 /* @var AbstractType $a
52 * @var AbstractType $b */
58 $children[AbstractType
[all...]
H A DAbstractType.php23 abstract class AbstractType implements Countable, IteratorAggregate
115 * @var AbstractType[]
199 * @param AbstractType ...$types
210 * @return AbstractType[]
219 * @return null|AbstractType
221 public function getChild(int $index): ?AbstractType
227 * @param AbstractType ...$types
248 * @return ArrayIterator<AbstractType>
18 abstract class AbstractType implements \Countable, \IteratorAggregate global() class
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/Request/
H A DExtendedRequest.php17 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
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
[all...]
H A DDeleteRequest.php15 use FreeDSx\Asn1\Type\AbstractType;
66 public function toAsn1(): AbstractType
75 public static function fromAsn1(AbstractType $type)
83 * @param AbstractType $type
86 protected static function validate(AbstractType $type): void
88 if (!$type instanceof OctetStringType || $type->getTagClass() !== AbstractType::TAG_CLASS_APPLICATION) {
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
H A DBindRequest.php15 use FreeDSx\Asn1\Type\AbstractType;
86 public function toAsn1(): AbstractType
101 public static function fromAsn1(AbstractType $type)
137 * @return AbstractType
139 abstract protected function getAsn1AuthChoice(): AbstractType;
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
H A DUnbindRequest.php15 use FreeDSx\Asn1\Type\AbstractType;
34 public static function fromAsn1(AbstractType $type)
46 public function toAsn1(): AbstractType
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
H A DPasswordModifyRequest.php17 use FreeDSx\Asn1\Type\AbstractType;
121 public function toAsn1(): AbstractType
144 public static function fromAsn1(AbstractType $type)
158 /** @var AbstractType $value */
159 if ($value->getTagClass() !== AbstractType::TAG_CLASS_CONTEXT_SPECIFIC) {
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/
H A DAsn1.php15 use FreeDSx\Asn1\Type\AbstractType;
52 * @param AbstractType ...$types
55 public static function sequence(AbstractType ...$types): SequenceType
61 * @param AbstractType ...$types
64 public static function sequenceOf(AbstractType ...$types): SequenceOfType
298 * @param AbstractType ...$types
301 public static function set(AbstractType ...$types): SetType
307 * @param AbstractType ...$types
310 public static function setOf(AbstractType ...$types): SetOfType
316 * @template T of AbstractType
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
[all...]
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/Response/
H A DExtendedResponse.php17 use FreeDSx\Asn1\Type\AbstractType;
52 * @var null|string|AbstractType|ProtocolElementInterface
93 public static function fromAsn1(AbstractType $type)
102 * @return AbstractType
106 public function toAsn1(): AbstractType
117 if ($value instanceof AbstractType) {
129 * @param AbstractType $type
132 protected static function parseExtendedResponse(AbstractType $type)
148 * @param AbstractType $type
153 protected static function createLdapResult(AbstractType
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
[all...]
H A DIntermediateResponse.php15 use FreeDSx\Asn1\Type\AbstractType;
69 * @param AbstractType $type
73 public static function fromAsn1(AbstractType $type)
82 if ($child->getTagNumber() === 0 && $child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC) {
85 if ($child->getTagNumber() === 1 && $child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC) {
96 public function toAsn1(): AbstractType
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
H A DBindResponse.php16 use FreeDSx\Asn1\Type\AbstractType;
64 public function toAsn1(): AbstractType
81 public static function fromAsn1(AbstractType $type)
87 if ($child->getTagNumber() === 7 && $child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC) {
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
/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.php20 use FreeDSx\Asn1\Type\AbstractType;
99 AbstractType::TAG_CLASS_APPLICATION => [],
100 AbstractType::TAG_CLASS_CONTEXT_SPECIFIC => [],
101 AbstractType::TAG_CLASS_PRIVATE => [],
150 public function decode($binary, array $tagMap = []): AbstractType
167 public function complete(IncompleteType $type, int $tagType, array $tagMap = []): AbstractType
171 $newType = $this->decodeBytes(false, $tagType, $this->maxLen, $type->getIsConstructed(), AbstractType::TAG_CLASS_UNIVERSAL);
183 public function encode(AbstractType $type): string
236 $tag = $type->getTagClass() | ($type->getIsConstructed() ? AbstractType::CONSTRUCTED_TYPE : 0);
324 * @return AbstractType
19 use FreeDSx\Asn1\Type\AbstractType; global() alias
[all...]
H A DDerEncoder.php16 use FreeDSx\Asn1\Type\AbstractType; alias
43 public function encode(AbstractType $type): string
53 protected function decodeBytes(bool $isRoot = 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.php17 use FreeDSx\Asn1\Type\AbstractType;
79 * @var AbstractType|ProtocolElementInterface|string|null
134 * @param AbstractType|ProtocolElementInterface|string|null $controlValue
145 * @return AbstractType|ProtocolElementInterface|string|null
153 * @return AbstractType
156 public function toAsn1(): AbstractType
165 if ($this->controlValue instanceof AbstractType) {
190 public static function fromAsn1(AbstractType $type)
204 * @param AbstractType $type
208 protected static function mergeControlData(Control $control, AbstractType
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
[all...]
H A DPwdPolicyResponseControl.php17 use FreeDSx\Asn1\Type\AbstractType;
98 * @return AbstractType
102 public function toAsn1(): AbstractType
138 public static function fromAsn1(AbstractType $type)
153 $warnings = $encoder->complete($child, AbstractType::TAG_TYPE_SEQUENCE, [
154 AbstractType::TAG_CLASS_CONTEXT_SPECIFIC => [
155 0 => AbstractType::TAG_TYPE_INTEGER,
156 1 => AbstractType::TAG_TYPE_INTEGER,
159 /** @var AbstractType $warning */
170 $error = $encoder->complete($child, AbstractType
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
[all...]
/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.php17 use FreeDSx\Asn1\Type\AbstractType;
89 public static function fromAsn1(AbstractType $type)
107 /** @var AbstractType $keyItem */
109 if ($keyItem instanceof OctetStringType && $keyItem->getTagClass() === AbstractType::TAG_CLASS_UNIVERSAL) {
111 } elseif ($keyItem->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC && $keyItem->getTagNumber() === 0) {
113 } elseif ($keyItem->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC && $keyItem->getTagNumber() === 1) {
118 $useReverseOrder = $encoder->complete($keyItem, AbstractType::TAG_TYPE_BOOLEAN)->getValue();
137 public function toAsn1(): AbstractType
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/
H A DLdapResult.php16 use FreeDSx\Asn1\Type\AbstractType;
154 * @return AbstractType
157 public function toAsn1(): AbstractType
181 public static function fromAsn1(AbstractType $type)
189 * @param AbstractType $type
195 protected static function parseResultData(AbstractType $type)
208 if ($child !== null && $child->getTagClass() === AbstractType::TAG_CLASS_CONTEXT_SPECIFIC && $child->getTagNumber() === 3) {
212 $child = (new LdapEncoder())->complete($child, AbstractType::TAG_TYPE_SEQUENCE);
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Control/Ad/
H A DExtendedDnControl.php17 use FreeDSx\Asn1\Type\AbstractType;
71 public static function fromAsn1(AbstractType $type)
101 public function toAsn1(): AbstractType
110 * @param AbstractType $type
113 protected static function validate(AbstractType $type): void
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
H A DExpectedEntryCountControl.php17 use FreeDSx\Asn1\Type\AbstractType;
101 public static function fromAsn1(AbstractType $type)
126 public function toAsn1(): AbstractType
137 * @param AbstractType $type
140 protected static function validate(AbstractType $type): void
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Search/Filter/
H A DPresentFilter.php16 use FreeDSx\Asn1\Type\AbstractType;
44 public function toAsn1(): AbstractType
59 * @param AbstractType $type
64 public static function fromAsn1(AbstractType $type)
66 $type = $type instanceof IncompleteType ? (new LdapEncoder())->complete($type, AbstractType::TAG_TYPE_OCTET_STRING) : $type;
14 use FreeDSx\Asn1\Type\AbstractType; global() alias
H A DNotFilter.php16 use FreeDSx\Asn1\Type\AbstractType;
68 public function toAsn1(): AbstractType
94 * @param AbstractType $type
100 public static function fromAsn1(AbstractType $type)
102 $type = $type instanceof IncompleteType ? (new LdapEncoder())->complete($type, AbstractType::TAG_TYPE_SEQUENCE) : $type;
14 use FreeDSx\Asn1\Type\AbstractType; global() alias

123