Lines Matching refs:publicKeyAndChallenge
1337 case isset($this->currentCert['publicKeyAndChallenge']):
1339 $this->currentCert['publicKeyAndChallenge']['spki']['algorithm']['algorithm'],
1340 $this->currentCert['publicKeyAndChallenge']['spki']['subjectPublicKey'],
2145 'publicKeyAndChallenge/spki'
2304 if (is_array($spkac) && isset($spkac['publicKeyAndChallenge'])) {
2343 $key = $spkac['publicKeyAndChallenge']['spki'];
2345 $spkac['publicKeyAndChallenge']['spki']['subjectPublicKey'] =
2368 if (!is_array($spkac) || !isset($spkac['publicKeyAndChallenge'])) {
2372 $algorithm = $this->subArray($spkac, 'publicKeyAndChallenge/spki/algorithm/algorithm');
2375 case is_object($spkac['publicKeyAndChallenge']['spki']['subjectPublicKey']):
2378 $spkac['publicKeyAndChallenge']['spki'] = new Element(
2379 base64_decode(preg_replace('#-.+-|[\r\n]#', '', $spkac['publicKeyAndChallenge']['spki']['subjectPublicKey']))
2801 if (isset($this->currentCert) && is_array($this->currentCert) && isset($this->currentCert['publicKeyAndChallenge'])) {
2803 $this->currentCert['publicKeyAndChallenge']['spki'] = $publicKey;
2806 $this->currentCert['publicKeyAndChallenge']['challenge'] = $this->challenge & str_repeat("\x7F", strlen($this->challenge));
2810 'publicKeyAndChallenge' =>
2826 // save $publicKeyAndChallenge in case there are any \phpseclib3\File\ASN1\Element objects in it
2827 $publicKeyAndChallenge = $this->currentCert['publicKeyAndChallenge'];
2832 $result['publicKeyAndChallenge'] = $publicKeyAndChallenge;