Home
last modified time | relevance | path

Searched refs:challenge (Results 1 – 25 of 58) sorted by relevance

123

/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Factory/
H A DDigestMD5MessageFactory.php80 $challenge = new Message();
81 $challenge->set('algorithm', 'md5-sess');
82 $challenge->set('nonce', $options['nonce'] ?? $this->generateNonce($options['nonce_size'] ?? self::NONCE_SIZE));
83 $challenge->set('qop', $this->generateAvailableQops($options));
84 $challenge->set('realm', $options['realm'] ?? $_SERVER['USERDOMAIN'] ?? gethostname());
85 $challenge->set('maxbuf', $options['maxbuf'] ?? '65536');
86 $challenge->set('charset', 'utf-8');
87 if (in_array('auth-conf', $challenge->get('qop'))) {
88 $challenge->set('cipher', $this->getAvailableCiphers($options));
91 return $challenge;
107 generateClientResponse(array $options, Message $challenge) global() argument
130 getDigestUri(array $options, Message $response, Message $challenge) global() argument
160 selectQopFromChallenge(Message $challenge, string $qop) global() argument
211 setCipherForChallenge(array $options, Message $response, Message $challenge) global() argument
251 getRealmFromChallenge(Message $challenge) global() argument
[all...]
/plugin/authradius/
H A Dmschap.php61 function ChallengeResponse($challenge, $nthash) argument
66 $resp1 = des_encrypt_ecb(substr($nthash, 0, 7), $challenge);
67 $resp2 = des_encrypt_ecb(substr($nthash, 7, 7), $challenge);
68 $resp3 = des_encrypt_ecb(substr($nthash, 14, 7), $challenge);
85 function ChallengeHash($challenge, $peerChallenge, $username) argument
87 return substr(pack('H*', hash('sha1', $peerChallenge . $challenge . $username)), 0, 8);
90 function GenerateNTResponse($challenge, $peerChallenge, $username, $password) argument
92 $challengeHash = ChallengeHash($challenge, $peerChallenge, $username);
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Mechanism/
H A DDigestMD5Mechanism.php46 public function challenge(): ChallengeInterface function in FreeDSx\\Sasl\\Mechanism\\DigestMD5Mechanism
48 $challenge = new DigestMD5Challenge();
50 return $challenge;
100 public static function computeResponse(string $password, Message $challenge, Message $response, bool $useServerMode = false): string argument
102 $a1 = self::computeA1($password, $challenge, $response);
120 $challenge->get('nonce'),
140 public static function computeA1(string $password, Message $challenge, Message $response): string argument
151 $challenge->get('nonce'),
H A DMechanismInterface.php36 * Get the challenge object for this mechanism.
38 public function challenge(): ChallengeInterface; function
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Firebaseappcheck/
H A DGoogleFirebaseAppcheckV1betaAppAttestChallengeResponse.php25 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse
34 public function setChallenge($challenge) argument
36 $this->challenge = $challenge;
43 return $this->challenge;
H A DGoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse.php25 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse
34 public function setChallenge($challenge) argument
36 $this->challenge = $challenge;
43 return $this->challenge;
H A DGoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse.php25 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
34 public function setChallenge($challenge) argument
36 $this->challenge = $challenge;
43 return $this->challenge;
H A DGoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest.php29 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest
52 public function setChallenge($challenge) argument
54 $this->challenge = $challenge;
61 return $this->challenge;
H A DGoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest.php33 public $challenge; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest
66 public function setChallenge($challenge) argument
68 $this->challenge = $challenge;
75 return $this->challenge;
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Challenge/
H A DDigestMD5Challenge.php22 * The DIGEST-MD5 challenge / response class.
56 protected $challenge; variable in FreeDSx\\Sasl\\Challenge\\DigestMD5Challenge
69 public function challenge(?string $received = null, array $options = []): SaslContext function in FreeDSx\\Sasl\\Challenge\\DigestMD5Challenge
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,
[all...]
H A DCramMD5Challenge.php22 * The CRAM-MD5 challenge / response class.
50 public function challenge(?string $received = null, array $options = []): SaslContext function in FreeDSx\\Sasl\\Challenge\\CramMD5Challenge
71 $nonce = $options['challenge'] ?? $this->generateNonce(32);
72 $challenge = new Message(['challenge' => $nonce]);
73 $this->context->setResponse($this->encoder->encode($challenge, $this->context));
74 $this->context->set('challenge', $challenge->get('challenge'));
81 if (!$received->has('challenge')) {
119 generateDigest(string $challenge, string $key) global() argument
[all...]
H A DChallengeInterface.php18 * The challenge / response interface.
25 * Generate the next response to send in the challenge. It takes two optional parameters:
30 * The SaslContext returned indicates various aspects of the state of the challenge, including the response.
34 public function challenge(?string $received = null, array $options = []): SaslContext; function
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Verifiedaccess/
H A DChallenge.php44 public function setChallenge(SignedData $challenge) argument
46 $this->challenge = $challenge;
53 return $this->challenge;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/
H A DVerifiedaccess.php42 public $challenge; variable in Google\\Service\\Verifiedaccess
63 'challenge',
67 'path' => 'v1/challenge',
71 'path' => 'v1/challenge:verify',
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Encoder/
H A DCramMD5Encoder.php55 if (!$message->has('challenge')) {
56 throw new SaslEncodingException('The server challenge message must contain a "challenge".');
58 $challenge = $message->get('challenge');
60 return '<' . $challenge . '>';
87 protected function decodeServerChallenge(string $challenge): Message argument
89 if (!preg_match('/^<.*>$/', $challenge)) {
90 throw new SaslEncodingException('The server challenge is malformed.');
93 return new Message(['challenge'
[all...]
/plugin/swiftmail/Swift/Authenticator/
H A DCRAMMD5.php34 $challenge = base64_decode($encoded_challenge);
35 $response = base64_encode($user . " " . self::generateCRAMMD5Hash($pass, $challenge));
57 public static function generateCRAMMD5Hash($password, $challenge) argument
68 $inner = pack('H32', md5($k_ipad.$challenge));
/plugin/authgooglesheets/vendor/google/apiclient-services/src/IdentityToolkit/
H A DRelyingparty.php45 public $challenge; variable in Google\\Service\\IdentityToolkit\\Relyingparty
156 public function setChallenge($challenge) argument
158 $this->challenge = $challenge;
165 return $this->challenge;
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/ClientProtocolHandler/
H A DClientSaslBindHandler.php161 $challenge = $mech->challenge();
165 $context = $challenge->challenge($saslResponse->getSaslCredentials(), $request->getOptions());
178 $context = $challenge->challenge($saslResponse->getSaslCredentials(), $request->getOptions());
/plugin/groupmail/
H A Drecaptchalib.php147 * @param string $challenge
152 function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array(… argument
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
176 'challenge' => $challenge,
/plugin/recaptcha/lib/
H A Drecaptchalib.php147 * @param string $challenge
152 function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array(… argument
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
176 'challenge' => $challenge,
/plugin/contactmodern/
H A Drecaptchalib.php147 * @param string $challenge
152 function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array(… argument
165 …if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
176 'challenge' => $challenge,
/plugin/webdav/vendor/sabre/dav/lib/DAV/Auth/
H A DPlugin.php167 $this->challenge($request, $response);
232 function challenge(RequestInterface $request, ResponseInterface $response) { function in Sabre\\DAV\\Auth\\Plugin
235 $backend->challenge($request, $response);
/plugin/letsencrypt/
H A DLescript.php91 $directory = $this->webRootDir . '/.well-known/acme-challenge';
95 … throw new \RuntimeException("Couldn't create directory to expose challenge: ${tokenPath}");
105 …$payload = $challenge['token'] . '.' . Base64UrlSafeEncoder::encode(hash('sha256', json_encode($he…
126 $challenge['uri'],
129 "type" => $this->challenge,
131 "token" => $challenge['token']
/plugin/webdav/vendor/sabre/dav/lib/DAV/Auth/Backend/
H A DBackendInterface.php68 function challenge(RequestInterface $request, ResponseInterface $response); function
/plugin/davcal/vendor/sabre/dav/lib/DAV/Auth/Backend/
H A DBackendInterface.php68 function challenge(RequestInterface $request, ResponseInterface $response); function

123