Home
last modified time | relevance | path

Searched refs:publicKey (Results 1 – 25 of 38) sorted by relevance

12

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DOpenSSH.php80 'QA' => self::extractPoint("\0$publicKey", $curve),
93 list($curveName, $publicKey) = Strings::unpackSSH2('ss', $parsed['publicKey']);
97 $qa = self::extractPoint("\0" . $publicKey, $curve);
153 $key = Strings::packSSH2('ss', 'ssh-ed25519', $curve->encodePoint($publicKey));
165 $points = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes();
198 $pubKey = $curve->encodePoint($publicKey);
200 $publicKey = Strings::packSSH2('ss', 'ssh-ed25519', $pubKey);
203 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
208 $points = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes();
209 $publicKey = self::savePublicKey($curve, $publicKey, ['binary' => true]);
[all …]
H A DPKCS8.php181 public static function savePublicKey(BaseCurve $curve, array $publicKey, array $options = []) argument
191 $curve->encodePoint($publicKey),
199 $key = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes();
215 …unction savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $password = '',… argument
233 $publicKey = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes();
241 'publicKey' => "\0" . $publicKey
H A Dlibsodium.php93 public static function savePublicKey(Ed25519 $curve, array $publicKey) argument
95 return $curve->encodePoint($publicKey);
108 …public static function savePrivateKey(BigInteger $privateKey, Ed25519 $curve, array $publicKey, $p… argument
119 return $privateKey->secret . $curve->encodePoint($publicKey);
H A DMontgomeryPrivate.php85 public static function savePublicKey(MontgomeryCurve $curve, array $publicKey) argument
87 return strrev($publicKey[0]->toBytes());
100 …on savePrivateKey(BigInteger $privateKey, MontgomeryCurve $curve, array $publicKey, $password = '') argument
H A DPuTTY.php101 …unction savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $password = fal… argument
105 $public = explode(' ', OpenSSH::savePublicKey($curve, $publicKey));
135 public static function savePublicKey(BaseCurve $curve, array $publicKey) argument
137 $public = explode(' ', OpenSSH::savePublicKey($curve, $publicKey));
H A DPKCS1.php180 …unction savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $password = '',… argument
188 $publicKey = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes();
194 'publicKey' => "\0" . $publicKey
H A DMontgomeryPublic.php74 public static function savePublicKey(MontgomeryCurve $curve, array $publicKey) argument
76 return strrev($publicKey[0]->toBytes());
H A DXML.php380 public static function savePublicKey(BaseCurve $curve, array $publicKey, array $options = []) argument
399 '<' . $pre . 'X Value="' . $publicKey[0] . '" />' . "\r\n" .
400 '<' . $pre . 'Y Value="' . $publicKey[1] . '" />' . "\r\n" .
405 $publicKey = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes();
409 … '<' . $pre . 'PublicKey>' . Base64::encode($publicKey) . '</' . $pre . 'PublicKey>' . "\r\n" .
/plugin/authgoogle/google/auth/
H A DGoogle_PemVerifier.php24 private $publicKey; variable in Google_PemVerifier
38 $this->publicKey = openssl_x509_read($pem);
39 if (!$this->publicKey) {
45 if ($this->publicKey) {
46 openssl_x509_free($this->publicKey);
60 $status = openssl_verify($data, $signature, $this->publicKey, "sha256");
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/
H A DPrivateKey.php44 protected $publicKey; variable in phpseclib3\\Crypt\\DH\\PrivateKey
56 if (!isset($this->publicKey)) {
57 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
60 $key = $type::savePublicKey($this->prime, $this->base, $this->publicKey);
76 if (!isset($this->publicKey)) {
77 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
80 …return $type::savePrivateKey($this->prime, $this->base, $this->privateKey, $this->publicKey, $this…
H A DPublicKey.php41 return $type::savePublicKey($this->prime, $this->base, $this->publicKey, $options);
51 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/SQLAdmin/
H A DSslCertsCreateEphemeralRequest.php33 public $publicKey; variable in Google\\Service\\SQLAdmin\\SslCertsCreateEphemeralRequest
52 public function setPublicKey($publicKey) argument
54 $this->publicKey = $publicKey;
61 return $this->publicKey;
H A DGenerateEphemeralCertRequest.php33 public $publicKey; variable in Google\\Service\\SQLAdmin\\GenerateEphemeralCertRequest
60 public function setPublicKey($publicKey) argument
62 $this->publicKey = $publicKey;
69 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dataproc/
H A DInstanceReference.php37 public $publicKey; variable in Google\\Service\\Dataproc\\InstanceReference
84 public function setPublicKey($publicKey) argument
86 $this->publicKey = $publicKey;
93 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/ContainerAnalysis/
H A DBuildSignature.php24 public $publicKey; variable in Google\\Service\\ContainerAnalysis\\BuildSignature
43 public function setPublicKey($publicKey) argument
45 $this->publicKey = $publicKey;
49 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudIot/
H A DDeviceCredential.php46 public function setPublicKey(PublicKeyCredential $publicKey) argument
48 $this->publicKey = $publicKey;
55 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CertificateAuthorityService/
H A DCertificateConfig.php32 public function setPublicKey(PublicKey $publicKey) argument
34 $this->publicKey = $publicKey;
41 return $this->publicKey;
H A DCertificateDescription.php103 public function setPublicKey(PublicKey $publicKey) argument
105 $this->publicKey = $publicKey;
112 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Apigee/
H A DGoogleCloudApigeeV1CertInfo.php42 public $publicKey; variable in Google\\Service\\Apigee\\GoogleCloudApigeeV1CertInfo
127 public function setPublicKey($publicKey) argument
129 $this->publicKey = $publicKey;
136 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dns/
H A DDnsKey.php60 public $publicKey; variable in Google\\Service\\Dns\\DnsKey
195 public function setPublicKey($publicKey) argument
197 $this->publicKey = $publicKey;
204 return $this->publicKey;
/plugin/gtime/gtlib/tsp/
H A DGTVerifier.php38 * @param resource $publicKey openssl public key to use for verification
41 …ic static function verifyWithSignature(CMSContentInfo $content, GTDataHash $dataHash, $publicKey) { argument
72 $result->update(GTVerifier::verifyCertificate($certificate, $historyTime, $publicKey));
78 $result->update(GTVerifier::verifyPkSignature($timeSignature, $publicKey));
319 * @param resource $publicKey
322 private static function verifyCertificate($certificate, $historyTime, $publicKey) { argument
334 if (empty($publicKey)) {
354 $hash1 = X509Certificate::getPublicKeyHash($publicKey);
370 * @param resource $publicKey
373 private static function verifyPkSignature(GTTimeSignature $timeSignature, $publicKey) { argument
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DOpenSSH.php125 list($publicKey, $paddedKey) = Strings::unpackSSH2('ss', $key);
126 list($type) = Strings::unpackSSH2('s', $publicKey);
161 $publicKey = $key;
197 * @param string $publicKey
203 protected static function wrapPrivateKey($publicKey, $privateKey, $password, $options) argument
227 $key = Strings::packSSH2('sssNss', 'none', 'none', '', 1, $publicKey, $paddedKey);
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudKMS/
H A DImportJob.php174 public function setPublicKey(WrappingPublicKey $publicKey) argument
176 $this->publicKey = $publicKey;
183 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/auth/src/
H A DOAuth2.php408 $resp = $this->jwtDecode($idToken, $publicKey, $allowed_algs);
1446 * @param Key|Key[]|string|string[] $publicKey
1450 private function jwtDecode($idToken, $publicKey, $allowedAlgs) argument
1469 * @param Key|Key[]|string|string[] $publicKey
1473 private function getFirebaseJwtKeys($publicKey, $allowedAlgs) argument
1476 if ($publicKey instanceof Key) {
1477 return [$publicKey];
1483 foreach ((array) $publicKey as $kid => $pubKey) {
1512 if (is_array($publicKey)) {
1515 foreach ($publicKey as $kid => $pubKey) {
[all …]
/plugin/authgooglesheets/vendor/firebase/php-jwt/src/
H A DJWK.php102 $publicKey = \openssl_pkey_get_public($pem);
103 if (false === $publicKey) {
108 return new Key($publicKey, $jwk['alg']);

12