Lines Matching defs:challenge
22 * The DIGEST-MD5 challenge / response class.
56 protected $challenge;
69 public function challenge(?string $received = null, array $options = []): SaslContext
196 # The client sent a response without us sending a challenge...
197 if ($this->challenge === null) {
210 if (!in_array($qop, $this->challenge->get('qop'), true)) {
214 if (!in_array($cipher, $this->challenge->get('cipher'), true)) {
222 if ($received->get('nonce') !== $this->challenge->get('nonce')) {
228 $expected = DigestMD5Mechanism::computeResponse($password, $this->challenge, $received);
233 $response = DigestMD5Mechanism::computeResponse($password, $this->challenge, $received, true);
237 $this->context->set('a1', hex2bin(DigestMD5Mechanism::computeA1($password, $this->challenge, $received)));
258 $this->challenge = $this->factory->create(
262 return $this->challenge;