Home
last modified time | relevance | path

Searched refs:privateKey (Results 1 – 14 of 14) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/
DPrivateKey.php31 protected $privateKey; variable in phpseclib3\\Crypt\\DH\\PrivateKey
50 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
70 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
73 …return $type::savePrivateKey($this->prime, $this->base, $this->privateKey, $this->publicKey, $this…
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
DOpenSSH.php69 … list($curveName, $publicKey, $privateKey, $comment) = Strings::unpackSSH2('ssis', $paddedKey);
71 $curve->rangeCheck($privateKey);
74 'dA' => $privateKey,
174 * @param BigInteger $privateKey
182 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
195 $privateKey = Strings::packSSH2('sss', 'ssh-ed25519', $pubKey, $secret . $pubKey);
197 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
205 … $privateKey = Strings::packSSH2('sssi', 'ecdsa-sha2-' . $alias, $alias, $points, $privateKey);
207 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
DMontgomeryPrivate.php86 * @param BigInteger $privateKey
93 …public static function savePrivateKey(BigInteger $privateKey, MontgomeryCurve $curve, array $publi… argument
99 return $privateKey->toBytes();
DPuTTY.php87 * @param BigInteger $privateKey
95 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
108 $private = $privateKey->toBytes();
109 if (!(strlen($privateKey->toBits()) & 7)) {
Dlibsodium.php96 * @param BigInteger $privateKey
103 …public static function savePrivateKey(BigInteger $privateKey, Ed25519 $curve, array $publicKey, $s… argument
DJWK.php173 * @param BigInteger $privateKey
181 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
184 $key['d'] = $curve instanceof TwistedEdwardsCurve ? $secret : $privateKey->toBytes();
DPKCS1.php165 * @param BigInteger $privateKey
173 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
185 'privateKey' => $privateKey->toBytes(),
DPKCS8.php196 * @param BigInteger $privateKey
204 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
228 'privateKey' => $privateKey->toBytes(),
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/
DPKCS8.php94 * @param BigInteger $privateKey
100 …nction savePrivateKey(BigInteger $prime, BigInteger $base, BigInteger $privateKey, BigInteger $pub… argument
108 $key = ASN1::encodeDER($privateKey, ['type' => ASN1::TYPE_INTEGER]);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
DDH.php266 $key->privateKey = BigInteger::randomRange($one, $max);
267 $key->publicKey = $key->base->powMod($key->privateKey, $key->prime);
286 … return $public->publicKey->powMod($private->privateKey, $private->prime)->toBytes(true);
291 return $public->powMod($private->privateKey, $private->prime)->toBytes(true);
361 $new->privateKey = $components['privateKey'];
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
DOpenSSH.php114 $privateKey = Strings::packSSH2('si5', 'ssh-dss', $p, $q, $g, $y, $x);
116 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
DOpenSSH.php128 …$privateKey = Strings::packSSH2('si6', 'ssh-rsa', $n, $e, $d, $coefficients[2], $primes[1], $prime…
130 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
DOpenSSH.php179 * @param string $privateKey
184 protected static function wrapPrivateKey($publicKey, $privateKey, $password, $options) argument
190 $privateKey .
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
DX509.php160 private $privateKey; variable in phpseclib3\\File\\X509
2108 $this->privateKey = $key;
2546 if (!is_object($issuer->privateKey) || empty($issuer->dn)) {
2556 $signatureAlgorithm = self::identifySignatureAlgorithm($issuer->privateKey);
2712 …$this->currentCert['signature'] = $result['signature'] = "\0" . $issuer->privateKey->sign($this->s…
2728 if (!is_object($this->privateKey) || empty($this->dn)) {
2733 $this->publicKey = $this->privateKey->getPublicKey();
2739 $signatureAlgorithm = self::identifySignatureAlgorithm($this->privateKey);
2767 …$this->currentCert['signature'] = $result['signature'] = "\0" . $this->privateKey->sign($this->sig…
2783 if (!is_object($this->privateKey)) {
[all …]