| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/ |
| H A D | PrivateKey.php | 31 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/ |
| H A D | OpenSSH.php | 69 … list($curveName, $publicKey, $privateKey, $comment) = Strings::unpackSSH2('ssis', $paddedKey); 71 $curve->rangeCheck($privateKey); 74 'dA' => $privateKey, 177 * @param BigInteger $privateKey 185 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument 198 $privateKey = Strings::packSSH2('sss', 'ssh-ed25519', $pubKey, $secret . $pubKey); 200 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options); 208 … $privateKey = Strings::packSSH2('sssi', 'ecdsa-sha2-' . $alias, $alias, $points, $privateKey); 210 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
|
| H A D | MontgomeryPrivate.php | 86 * @param BigInteger $privateKey 93 …public static function savePrivateKey(BigInteger $privateKey, MontgomeryCurve $curve, array $publi… argument 99 return str_pad($privateKey->toBytes(), $curve::SIZE, "\0", STR_PAD_RIGHT);
|
| H A D | PuTTY.php | 87 * @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)) {
|
| H A D | PKCS8.php | 174 $privateKey = (string) $key['privateKey']; 175 if (substr($privateKey, 0, 2) != $expected) { 182 $components['dA'] = new BigInteger(substr($privateKey, 2), 256); 246 * @param BigInteger $privateKey 254 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument 260 …ASN1::TYPE_OCTET_STRING) . ASN1::encodeLength($curve::SIZE) . str_pad($privateKey->toBytes(), $cur… 284 'privateKey' => $privateKey->toBytes(),
|
| H A D | libsodium.php | 96 * @param BigInteger $privateKey 103 …public static function savePrivateKey(BigInteger $privateKey, Ed25519 $curve, array $publicKey, $s… argument
|
| H A D | JWK.php | 173 * @param BigInteger $privateKey 181 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument 184 $key['d'] = $curve instanceof TwistedEdwardsCurve ? $secret : $privateKey->toBytes();
|
| H A D | PKCS1.php | 165 * @param BigInteger $privateKey 173 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument 185 'privateKey' => $privateKey->toBytes(),
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/ |
| H A D | PKCS8.php | 94 * @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/ |
| H A D | DH.php | 272 $key->privateKey = BigInteger::randomRange($one, $max); 273 $key->publicKey = $key->base->powMod($key->privateKey, $key->prime); 292 … return $public->publicKey->powMod($private->privateKey, $private->prime)->toBytes(true); 297 return $public->powMod($private->privateKey, $private->prime)->toBytes(true); 397 $new->privateKey = $components['privateKey'];
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
| H A D | OpenSSH.php | 128 …$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/DSA/Formats/Keys/ |
| H A D | OpenSSH.php | 114 $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/Common/Formats/Keys/ |
| H A D | OpenSSH.php | 179 * @param string $privateKey 184 protected static function wrapPrivateKey($publicKey, $privateKey, $password, $options) argument 190 $privateKey .
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ |
| H A D | X509.php | 160 private $privateKey; variable in phpseclib3\\File\\X509 2114 $this->privateKey = $key; 2552 if (!is_object($issuer->privateKey) || empty($issuer->dn)) { 2562 $signatureAlgorithm = self::identifySignatureAlgorithm($issuer->privateKey); 2718 …$this->currentCert['signature'] = $result['signature'] = "\0" . $issuer->privateKey->sign($this->s… 2734 if (!is_object($this->privateKey) || empty($this->dn)) { 2739 $this->publicKey = $this->privateKey->getPublicKey(); 2745 $signatureAlgorithm = self::identifySignatureAlgorithm($this->privateKey); 2773 …$this->currentCert['signature'] = $result['signature'] = "\0" . $this->privateKey->sign($this->sig… 2789 if (!is_object($this->privateKey)) { [all …]
|