Lines Matching refs:privatekey
2643 * @param \phpseclib3\Crypt\Common\PrivateKey $privatekey
2647 private function privatekey_login($username, PrivateKey $privatekey)
2649 $publickey = $privatekey->getPublicKey();
2652 $privatekey = $privatekey->withPadding(RSA::SIGNATURE_PKCS1);
2673 $privatekey = $privatekey->withSignatureFormat('SSH2');
2674 $curveName = $privatekey->getCurve();
2699 $privatekey = $privatekey->withSignatureFormat('SSH2');
2728 return $this->privatekey_login($username, $privatekey);
2747 $privatekey = $privatekey->withHash($hash);
2748 $signature = $privatekey->sign(Strings::packSSH2('s', $this->session_id) . $packet);