Home
last modified time | relevance | path

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

12

/plugin/authgoogle/google/auth/
H A DGoogle_P12Signer.php27 private $privateKey; variable in Google_P12Signer
48 $this->privateKey = openssl_pkey_get_private($certs["pkey"]);
49 if (!$this->privateKey) {
55 if ($this->privateKey) {
56 openssl_pkey_free($this->privateKey);
65 if (!openssl_sign($data, $signature, $this->privateKey, "sha256")) {
H A DGoogle_AssertionCredentials.php28 public $privateKey; variable in Google_AssertionCredentials
50 $privateKey, argument
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Appengine/
H A DCertificateRawData.php25 public $privateKey; variable in Google\\Service\\Appengine\\CertificateRawData
34 public function setPrivateKey($privateKey) argument
36 $this->privateKey = $privateKey;
43 return $this->privateKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Compute/
H A DSslCertificateSelfManagedSslCertificate.php29 public $privateKey; variable in Google\\Service\\Compute\\SslCertificateSelfManagedSslCertificate
48 public function setPrivateKey($privateKey) argument
50 $this->privateKey = $privateKey;
57 return $this->privateKey;
H A DSslCertificate.php56 public $privateKey; variable in Google\\Service\\Compute\\SslCertificate
191 public function setPrivateKey($privateKey) argument
193 $this->privateKey = $privateKey;
200 return $this->privateKey;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DOpenSSH.php74 … list($curveName, $publicKey, $privateKey, $comment) = Strings::unpackSSH2('ssis', $paddedKey);
76 $curve->rangeCheck($privateKey);
79 'dA' => $privateKey,
188 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
191 if (!isset($privateKey->secret)) {
194 if (strlen($privateKey->secret) != 32) {
201 … $privateKey = Strings::packSSH2('sss', 'ssh-ed25519', $pubKey, $privateKey->secret . $pubKey);
203 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
211 … $privateKey = Strings::packSSH2('sssi', 'ecdsa-sha2-' . $alias, $alias, $points, $privateKey);
213 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
H A Dlibsodium.php108 …public static function savePrivateKey(BigInteger $privateKey, Ed25519 $curve, array $publicKey, $p… argument
110 if (!isset($privateKey->secret)) {
113 if (strlen($privateKey->secret) != 32) {
119 return $privateKey->secret . $curve->encodePoint($publicKey);
H A DPuTTY.php101 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
114 $private = $privateKey->toBytes();
115 if (!(strlen($privateKey->toBits()) & 7)) {
121 Strings::packSSH2('s', $privateKey->secret) :
H A DMontgomeryPrivate.php100 …public static function savePrivateKey(BigInteger $privateKey, MontgomeryCurve $curve, array $publi… argument
106 return $privateKey->toBytes();
H A DPKCS8.php215 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
225 "\x04\x20" . $privateKey->secret,
239 'privateKey' => $privateKey->toBytes(),
H A DPKCS1.php180 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
192 'privateKey' => $privateKey->toBytes(),
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Datastream/
H A DForwardSshTunnelConnectivity.php37 public $privateKey; variable in Google\\Service\\Datastream\\ForwardSshTunnelConnectivity
88 public function setPrivateKey($privateKey) argument
90 $this->privateKey = $privateKey;
97 return $this->privateKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Firebaseappcheck/
H A DGoogleFirebaseAppcheckV1betaDeviceCheckConfig.php33 public $privateKey; variable in Google\\Service\\Firebaseappcheck\\GoogleFirebaseAppcheckV1betaDeviceCheckConfig
74 public function setPrivateKey($privateKey) argument
76 $this->privateKey = $privateKey;
83 return $this->privateKey;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/
H A DPrivateKey.php36 protected $privateKey; variable in phpseclib3\\Crypt\\DH\\PrivateKey
57 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
77 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
80 …return $type::savePrivateKey($this->prime, $this->base, $this->privateKey, $this->publicKey, $this…
/plugin/authgooglesheets/vendor/google/auth/src/
H A DServiceAccountSignerTrait.php37 $privateKey = $this->auth->getSigningKey();
42 $rsa->loadKey($privateKey);
48 openssl_sign($stringToSign, $signedString, $privateKey, 'sha256WithRSAEncryption');
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DDH.php258 $key->privateKey = BigInteger::randomRange($one, $max);
259 $key->publicKey = $key->base->powMod($key->privateKey, $key->prime);
279 … return $public->publicKey->powMod($private->privateKey, $private->prime)->toBytes(true);
284 return $public->powMod($private->privateKey, $private->prime)->toBytes(true);
356 $new->privateKey = $components['privateKey'];
/plugin/letsencrypt/
H A DLescript.php264 protected function generateCSR($privateKey, array $domains) argument
297 $privateKey,
330 if(!openssl_pkey_export($res, $privateKey)) {
339 file_put_contents($outputDirectory.'/private.pem', $privateKey);
345 $privateKey = $this->readPrivateKey($this->accountKeyPath);
346 $details = openssl_pkey_get_details($privateKey);
364 openssl_sign($protected64.'.'.$payload64, $signed, $privateKey, "SHA256");
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DOpenSSH.php198 * @param string $privateKey
203 protected static function wrapPrivateKey($publicKey, $privateKey, $password, $options) argument
213 $privateKey .
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DOpenSSH.php121 $privateKey = Strings::packSSH2('si5', 'ssh-dss', $p, $q, $g, $y, $x);
123 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DOpenSSH.php135 …$privateKey = Strings::packSSH2('si6', 'ssh-rsa', $n, $e, $d, $coefficients[2], $primes[1], $prime…
137 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
/plugin/botbouncer/lib/
H A Dmollom.php61 private static $privateKey; variable in Mollom
337 if(self::$privateKey === null) throw new Exception('Private key wasn\'t set.');
353 pack("H*", sha1((str_pad(self::$privateKey, 64, chr(0x00)) ^ (str_repeat(chr(0x5c), 64))) .
354 pack("H*", sha1((str_pad(self::$privateKey, 64, chr(0x00)) ^ (str_repeat(chr(0x36), 64))) .
355 $time . ':'. $nonce .':'. self::$privateKey))))
735 self::$privateKey = (string) $key;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/
H A DPKCS8.php124 …nction savePrivateKey(BigInteger $prime, BigInteger $base, BigInteger $privateKey, BigInteger $pub… argument
132 $key = ASN1::encodeDER($privateKey, ['type' => ASN1::TYPE_INTEGER]);
/plugin/authgooglesheets/vendor/firebase/php-jwt/
H A DREADME.md74 $privateKey = <<<EOD
108 $jwt = JWT::encode($payload, $privateKey, 'RS256');
137 $privateKey = openssl_pkey_get_private(
149 $jwt = JWT::encode($payload, $privateKey, 'RS256');
153 $publicKey = openssl_pkey_get_details($privateKey)['key'];
172 $privateKey = base64_encode(sodium_crypto_sign_secretkey($keyPair));
183 $jwt = JWT::encode($payload, $privateKey, 'EdDSA');
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php179 private $privateKey; variable in phpseclib3\\File\\X509
2155 $this->privateKey = $key;
2605 if (!is_object($issuer->privateKey) || empty($issuer->dn)) {
2619 $r = PSS::load($issuer->privateKey->withPassword()->toString('PSS'));
2798 if (!is_object($this->privateKey) || empty($this->dn)) {
2803 $this->publicKey = $this->privateKey->getPublicKey();
2809 $signatureAlgorithm = self::identifySignatureAlgorithm($this->privateKey);
2853 if (!is_object($this->privateKey)) {
2858 $this->publicKey = $this->privateKey->getPublicKey();
2918 if (!is_object($issuer->privateKey) || empty($issuer->dn)) {
[all …]
/plugin/adfs/phpsaml/
H A DREADME.md203 and the `$settings['sp']['privateKey']`.
360 // Usually x509cert and privateKey of the SP are provided by files placed at
363 'privateKey' => '',
367 * If you plan to update the SP x509cert and privateKey
482 'privateKey' => ''
1236 If you plan to update the SP x509cert and privateKey you can define the new x509cert as `$settings[…

12