Lines Matching refs:algorithm

513             case !($algorithm = $this->subArray($cert, 'tbsCertificate/subjectPublicKeyInfo/algorithm/algorithm')):
522 if ($algorithm == 'rsaEncryption') {
533 $filters['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['parameters'] = $type_utf8_string;
1323 $signingCert['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['algorithm'],
1325 $this->currentCert['signatureAlgorithm']['algorithm'],
1331 $this->currentCert['certificationRequestInfo']['subjectPKInfo']['algorithm']['algorithm'],
1333 $this->currentCert['signatureAlgorithm']['algorithm'],
1339 $this->currentCert['publicKeyAndChallenge']['spki']['algorithm']['algorithm'],
1341 $this->currentCert['signatureAlgorithm']['algorithm'],
1371 $signingCert['tbsCertificate']['subjectPublicKeyInfo']['algorithm']['algorithm'],
1373 $this->currentCert['signatureAlgorithm']['algorithm'],
1393 * @throws \phpseclib3\Exception\UnsupportedAlgorithmException if the algorithm is unsupported
1419 throw new UnsupportedAlgorithmException('Signature algorithm unsupported');
1438 throw new UnsupportedAlgorithmException('Signature algorithm unsupported');
1451 throw new UnsupportedAlgorithmException('Signature algorithm unsupported');
1455 throw new UnsupportedAlgorithmException('Public key algorithm unsupported');
2160 switch ($keyinfo['algorithm']['algorithm']) {
2264 case !($algorithm = $this->subArray($csr, 'certificationRequestInfo/subjectPKInfo/algorithm/algorithm')):
2372 $algorithm = $this->subArray($spkac, 'publicKeyAndChallenge/spki/algorithm/algorithm');
2374 case !$algorithm:
2972 * Identify signature algorithm from key settings
2975 * @throws \phpseclib3\Exception\UnsupportedAlgorithmException if the algorithm is unsupported
2984 'algorithm' => 'id-RSASSA-PSS',
2996 return ['algorithm' => $key->getHash() . 'WithRSAEncryption'];
3006 return ['algorithm' => 'id-dsa-with-' . $key->getHash()];
3015 return ['algorithm' => 'id-' . $key->getCurve()];
3023 return ['algorithm' => 'ecdsa-with-' . strtoupper($key->getHash())];