Home
last modified time | relevance | path

Searched refs:Asn1 (Results 1 – 25 of 114) sorted by relevance

12345

/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/
H A DAsn1.php11 namespace FreeDSx\Asn1;
14 use FreeDSx\Asn1\Type\AbstractTimeType;
15 use FreeDSx\Asn1\Type\AbstractType;
16 use FreeDSx\Asn1\Type\BitStringType;
17 use FreeDSx\Asn1\Type\BmpStringType;
18 use FreeDSx\Asn1\Type\BooleanType;
19 use FreeDSx\Asn1\Type\CharacterStringType;
20 use FreeDSx\Asn1\Type\EnumeratedType;
21 use FreeDSx\Asn1\Type\GeneralizedTimeType;
22 use FreeDSx\Asn1\Type\GeneralStringType;
[all …]
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Control/
H A DPwdPolicyResponseControl.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\IncompleteType;
19 use FreeDSx\Asn1\Type\SequenceType;
104 $response = Asn1::sequence();
111 $warning = Asn1::context(0, Asn1::sequence(
112 Asn1::context(0, Asn1::integer($this->timeBeforeExpiration))
116 $warning = Asn1::context(0, Asn1::sequence(
[all …]
H A DPagingControl.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\IntegerType;
19 use FreeDSx\Asn1\Type\OctetStringType;
20 use FreeDSx\Asn1\Type\SequenceType;
126 $this->controlValue = Asn1::sequence(
127 Asn1::integer($this->size),
128 Asn1::octetString($this->cookie)
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/Request/
H A DModifyRequest.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Type\AbstractType;
16 use FreeDSx\Asn1\Type\EnumeratedType;
17 use FreeDSx\Asn1\Type\OctetStringType;
18 use FreeDSx\Asn1\Type\SequenceType;
19 use FreeDSx\Asn1\Type\SetType;
133 $changes = Asn1::sequenceOf();
136 $changeSeq = Asn1::sequence(Asn1::enumerated($change->getType()));
138 $changeSeq->addChild(Asn1::sequence(
139 Asn1::octetString($change->getAttribute()->getDescription()),
[all …]
H A DAddRequest.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Type\AbstractType;
16 use FreeDSx\Asn1\Type\OctetStringType;
17 use FreeDSx\Asn1\Type\SequenceType;
18 use FreeDSx\Asn1\Type\SetType;
136 $attributeList = Asn1::sequenceOf();
140 $attr = Asn1::sequence(Asn1::octetString($attribute->getDescription()));
142 $attrValues = Asn1::setOf(...array_map(function ($value) {
143 return Asn1::octetString($value);
149 return Asn1::application(self::APP_TAG, Asn1::sequence(
[all …]
H A DPasswordModifyRequest.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\SequenceType;
123 $this->requestValue = Asn1::sequence();
126 $this->requestValue->addChild(Asn1::context(0, Asn1::octetString($this->userIdentity)));
129 $this->requestValue->addChild(Asn1::context(1, Asn1::octetString($this->oldPassword)));
132 $this->requestValue->addChild(Asn1::context(2, Asn1::octetString($this->newPassword)));
H A DModifyDnRequest.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Type\AbstractType;
16 use FreeDSx\Asn1\Type\BooleanType;
17 use FreeDSx\Asn1\Type\IncompleteType;
18 use FreeDSx\Asn1\Type\OctetStringType;
19 use FreeDSx\Asn1\Type\SequenceType;
188 $asn1 = Asn1::application(self::APP_TAG, Asn1::sequence(
189 Asn1::octetString($this->dn->toString()),
191 Asn1::octetString($this->newRdn->toString()),
192 Asn1::boolean($this->deleteOldRdn)
[all …]
H A DCancelRequest.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\IntegerType;
19 use FreeDSx\Asn1\Type\SequenceType;
71 $this->requestValue = Asn1::sequence(Asn1::integer($this->messageId));
H A DBindRequest.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Type\AbstractType;
16 use FreeDSx\Asn1\Type\IntegerType;
17 use FreeDSx\Asn1\Type\OctetStringType;
18 use FreeDSx\Asn1\Type\SequenceType;
90 return Asn1::application(self::APP_TAG, Asn1::sequence(
91 Asn1::integer($this->version),
92 Asn1::octetString($this->username),
H A DCompareRequest.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Type\AbstractType;
17 use FreeDSx\Asn1\Type\OctetStringType;
18 use FreeDSx\Asn1\Type\SequenceType;
121 return Asn1::application(self::APP_TAG, Asn1::sequence(
122 Asn1::octetString($this->dn->toString()),
123 Asn1::universal(AbstractType::TAG_TYPE_SEQUENCE, $this->filter->toAsn1())
H A DExtendedRequest.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\SequenceType;
121 $asn1 = Asn1::sequence(Asn1::context(0, Asn1::octetString($this->requestName)));
131 $asn1->addChild(Asn1::context(1, Asn1::octetString($value)));
134 return Asn1::application(self::APP_TAG, $asn1);
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/Response/
H A DSearchResultEntry.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Type\AbstractType;
16 use FreeDSx\Asn1\Type\OctetStringType;
17 use FreeDSx\Asn1\Type\SequenceType;
101 $asn1 = Asn1::application(self::TAG_NUMBER, Asn1::sequence());
103 $partialAttributes = Asn1::sequenceOf();
105 $partialAttributes->addChild(Asn1::sequence(
106 Asn1::octetString($attribute->getDescription()),
107 Asn1::setOf(...array_map(function ($v) {
108 return Asn1::octetString($v);
[all …]
H A DIntermediateResponse.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Type\AbstractType;
16 use FreeDSx\Asn1\Type\SequenceType;
98 $response = Asn1::sequence();
101 $response->addChild(Asn1::context(0, Asn1::octetString($this->responseName)));
104 $response->addChild(Asn1::context(1, Asn1::octetString($this->responseValue)));
107 return Asn1::application(self::TAG_NUMBER, $response);
H A DPasswordModifyResponse.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\SequenceType;
61 …$this->responseValue = Asn1::sequence(Asn1::context(0, Asn1::octetString($this->generatedPassword)…
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Control/Sorting/
H A DSortingControl.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\IncompleteType;
19 use FreeDSx\Asn1\Type\OctetStringType;
20 use FreeDSx\Asn1\Type\SequenceType;
139 $this->controlValue = Asn1::sequenceOf();
142 $child = Asn1::sequence(Asn1::octetString($sortKey->getAttribute()));
144 $child->addChild(Asn1::context(0, Asn1::octetString($sortKey->getOrderingRule())));
[all …]
H A DSortingResponseControl.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\EnumeratedType;
19 use FreeDSx\Asn1\Type\SequenceType;
122 $this->controlValue = Asn1::sequence(Asn1::enumerated($this->result));
124 $this->controlValue->addChild(Asn1::context(0, Asn1::octetString($this->attribute)));
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Search/Filter/
H A DMatchingRuleFilter.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Type\AbstractType;
17 use FreeDSx\Asn1\Type\BooleanType;
18 use FreeDSx\Asn1\Type\IncompleteType;
19 use FreeDSx\Asn1\Type\OctetStringType;
20 use FreeDSx\Asn1\Type\SequenceType;
156 $matchingRule = Asn1::context(self::CHOICE_TAG, Asn1::sequence());
159 $matchingRule->addChild(Asn1::context(1, Asn1::octetString($this->matchingRule)));
162 $matchingRule->addChild(Asn1::context(2, Asn1::octetString($this->attribute)));
[all …]
H A DAttributeValueAssertionTrait.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Type\AbstractType;
17 use FreeDSx\Asn1\Type\IncompleteType;
18 use FreeDSx\Asn1\Type\OctetStringType;
19 use FreeDSx\Asn1\Type\SequenceType;
73 return Asn1::context(self::CHOICE_TAG, Asn1::sequence(
74 Asn1::octetString($this->attribute),
75 Asn1::octetString($this->value)
H A DSubstringFilter.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Type\AbstractType;
17 use FreeDSx\Asn1\Type\IncompleteType;
18 use FreeDSx\Asn1\Type\OctetStringType;
19 use FreeDSx\Asn1\Type\SequenceType;
150 $substrings = Asn1::sequenceOf();
153 $substrings->addChild(Asn1::context(0, Asn1::octetString($this->startsWith)));
157 $substrings->addChild(Asn1::context(1, Asn1::octetString($contain)));
161 $substrings->addChild(Asn1::context(2, Asn1::octetString($this->endsWith)));
[all …]
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Control/Vlv/
H A DVlvResponseControl.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\EnumeratedType;
19 use FreeDSx\Asn1\Type\IntegerType;
20 use FreeDSx\Asn1\Type\OctetStringType;
21 use FreeDSx\Asn1\Type\SequenceType;
128 $this->controlValue = Asn1::sequence(
129 Asn1::integer((int) $this->offset),
[all …]
H A DVlvControl.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Type\AbstractType;
170 $this->controlValue = Asn1::sequence(
171 Asn1::integer($this->before),
172 Asn1::integer($this->after)
178 $this->controlValue->addChild(Asn1::context(1, $this->filter->toAsn1()));
180 $this->controlValue->addChild(Asn1::context(0, Asn1::sequence(
181 Asn1::integer((int) $this->offset),
182 Asn1::integer((int) $this->count)
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Control/Ad/
H A DDirSyncResponseControl.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\IntegerType;
19 use FreeDSx\Asn1\Type\OctetStringType;
20 use FreeDSx\Asn1\Type\SequenceType;
137 $this->controlValue = Asn1::sequence(
138 Asn1::integer($this->moreResults),
139 Asn1::integer($this->unused),
[all …]
H A DDirSyncRequestControl.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\IntegerType;
19 use FreeDSx\Asn1\Type\OctetStringType;
20 use FreeDSx\Asn1\Type\SequenceType;
188 $this->controlValue = Asn1::sequence(
189 Asn1::integer($this->flags),
190 Asn1::integer($this->maxBytes),
[all …]
H A DPolicyHintsControl.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Exception\PartialPduException;
17 use FreeDSx\Asn1\Type\AbstractType;
18 use FreeDSx\Asn1\Type\IntegerType;
19 use FreeDSx\Asn1\Type\SequenceType;
73 $this->controlValue = Asn1::sequence(Asn1::integer($this->isEnabled ? 1 : 0));
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Operation/
H A DLdapResult.php14 use FreeDSx\Asn1\Asn1; alias
15 use FreeDSx\Asn1\Exception\EncoderException;
16 use FreeDSx\Asn1\Type\AbstractType;
17 use FreeDSx\Asn1\Type\IncompleteType;
18 use FreeDSx\Asn1\Type\SequenceType;
159 $result = Asn1::sequence(
160 Asn1::enumerated($this->resultCode),
161 Asn1::octetString($this->dn),
162 Asn1::octetString($this->diagnosticMessage)
165 $result->addChild(Asn1::context(3, Asn1::sequence(...array_map(function ($v) {
[all …]

12345