| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/ |
| H A D | PrivateKey.php | 38 protected $publicKey; variable in phpseclib3\\Crypt\\DH\\PrivateKey 49 if (!isset($this->publicKey)) { 50 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime); 53 $key = $type::savePublicKey($this->prime, $this->base, $this->publicKey); 69 if (!isset($this->publicKey)) { 70 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime); 73 …return $type::savePrivateKey($this->prime, $this->base, $this->privateKey, $this->publicKey, $this…
|
| H A D | PublicKey.php | 37 return $type::savePublicKey($this->prime, $this->base, $this->publicKey, $options); 47 return $this->publicKey;
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
| H A D | OpenSSH.php | 69 … list($curveName, $publicKey, $privateKey, $comment) = Strings::unpackSSH2('ssis', $paddedKey); 75 'QA' => self::extractPoint("\0$publicKey", $curve), 88 list($curveName, $publicKey) = Strings::unpackSSH2('ss', $parsed['publicKey']); 92 $qa = self::extractPoint("\0" . $publicKey, $curve); 142 public static function savePublicKey(BaseCurve $curve, array $publicKey, array $options = []) argument 147 $key = Strings::packSSH2('ss', 'ssh-ed25519', $curve->encodePoint($publicKey)); 159 $points = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 182 …unction savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null,… argument 192 $pubKey = $curve->encodePoint($publicKey); 194 $publicKey = Strings::packSSH2('ss', 'ssh-ed25519', $pubKey); [all …]
|
| H A D | PKCS8.php | 169 public static function savePublicKey(BaseCurve $curve, array $publicKey, array $options = []) argument 179 $curve->encodePoint($publicKey), 188 $key = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 204 …unction savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null,… argument 222 $publicKey = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 230 'publicKey' => "\0" . $publicKey
|
| H A D | libsodium.php | 88 public static function savePublicKey(Ed25519 $curve, array $publicKey) argument 90 return $curve->encodePoint($publicKey); 103 …public static function savePrivateKey(BigInteger $privateKey, Ed25519 $curve, array $publicKey, $s… argument 114 return $secret . $curve->encodePoint($publicKey);
|
| H A D | JWK.php | 137 private static function savePublicKeyHelper(BaseCurve $curve, array $publicKey) argument 143 'x' => Strings::base64url_encode($curve->encodePoint($publicKey)) 150 'x' => Strings::base64url_encode($publicKey[0]->toBytes()), 151 'y' => Strings::base64url_encode($publicKey[1]->toBytes()) 163 public static function savePublicKey(BaseCurve $curve, array $publicKey, array $options = []) argument 165 $key = self::savePublicKeyHelper($curve, $publicKey); 181 …unction savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null,… argument 183 $key = self::savePublicKeyHelper($curve, $publicKey);
|
| H A D | MontgomeryPrivate.php | 78 public static function savePublicKey(MontgomeryCurve $curve, array $publicKey) argument 80 return strrev($publicKey[0]->toBytes()); 93 …n savePrivateKey(BigInteger $privateKey, MontgomeryCurve $curve, array $publicKey, $secret = null,… argument
|
| H A D | MontgomeryPublic.php | 67 public static function savePublicKey(MontgomeryCurve $curve, array $publicKey) argument 69 return strrev($publicKey[0]->toBytes());
|
| H A D | PuTTY.php | 95 …unction savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null,… argument 99 $public = explode(' ', OpenSSH::savePublicKey($curve, $publicKey)); 128 public static function savePublicKey(BaseCurve $curve, array $publicKey) argument 130 $public = explode(' ', OpenSSH::savePublicKey($curve, $publicKey));
|
| H A D | PKCS1.php | 173 …unction savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null,… argument 181 $publicKey = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 187 'publicKey' => "\0" . $publicKey
|
| H A D | XML.php | 374 public static function savePublicKey(BaseCurve $curve, array $publicKey, array $options = []) argument 393 '<' . $pre . 'X Value="' . $publicKey[0] . '" />' . "\r\n" . 394 '<' . $pre . 'Y Value="' . $publicKey[1] . '" />' . "\r\n" . 399 $publicKey = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 403 …'<' . $pre . 'PublicKey>' . Strings::base64_encode($publicKey) . '</' . $pre . 'PublicKey>' . "\r\…
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/ |
| H A D | PKCS8.php | 95 * @param BigInteger $publicKey 100 …igInteger $prime, BigInteger $base, BigInteger $privateKey, BigInteger $publicKey, $password = '',… argument 117 * @param BigInteger $publicKey 121 …public static function savePublicKey(BigInteger $prime, BigInteger $base, BigInteger $publicKey, a… argument 129 $key = ASN1::encodeDER($publicKey, ['type' => ASN1::TYPE_INTEGER]);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
| H A D | OpenSSH.php | 103 list($publicKey, $paddedKey) = Strings::unpackSSH2('ss', $key); 104 list($type) = Strings::unpackSSH2('s', $publicKey); 145 $publicKey = $key; 178 * @param string $publicKey 184 protected static function wrapPrivateKey($publicKey, $privateKey, $password, $options) argument 208 $key = Strings::packSSH2('sssNss', 'none', 'none', '', 1, $publicKey, $paddedKey); 216 …$key = Strings::packSSH2('sssNss', 'aes256-ctr', 'bcrypt', $kdfoptions, 1, $publicKey, $paddedKey);
|
| H A D | PKCS8.php | 543 * @param string $publicKey optional 547 … function wrapPrivateKey($key, $attr, $params, $password, $oid = null, $publicKey = '', array $opt… argument 564 if (!empty($publicKey)) { 566 $key['publicKey'] = $publicKey;
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | DH.php | 70 protected $publicKey; variable in phpseclib3\\Crypt\\DH 267 $key->publicKey = $key->base->powMod($key->privateKey, $key->prime); 286 … return $public->publicKey->powMod($private->privateKey, $private->prime)->toBytes(true); 364 $new->publicKey = $components['publicKey'];
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
| H A D | OpenSSH.php | 127 $publicKey = self::savePublicKey($n, $e, ['binary' => true]); 130 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/ |
| H A D | OpenSSH.php | 113 $publicKey = self::savePublicKey($p, $q, $g, $y, ['binary' => true]); 116 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ |
| H A D | X509.php | 153 private $publicKey; variable in phpseclib3\\File\\X509 1384 * @param string $publicKey 1391 …private function validateSignatureHelper($publicKeyAlgorithm, $publicKey, $signatureAlgorithm, $si… argument 1395 $key = RSA::loadFormat('PSS', $publicKey); 1398 $key = RSA::loadFormat('PKCS8', $publicKey); 1419 $key = EC::loadFormat('PKCS8', $publicKey); 1422 $key = EC::loadFormat('PKCS8', $publicKey); 1437 $key = DSA::loadFormat('PKCS8', $publicKey); 2096 $this->publicKey = $key; 2132 if (isset($this->publicKey)) { [all …]
|