Home
last modified time | relevance | path

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

12

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
DOpenSSH.php74 … list($curveName, $publicKey, $privateKey, $comment) = Strings::unpackSSH2('ssis', $paddedKey);
80 'QA' => self::extractPoint("\0$publicKey", $curve),
93 list($curveName, $publicKey) = Strings::unpackSSH2('ss', $parsed['publicKey']);
97 $qa = self::extractPoint("\0" . $publicKey, $curve);
148 public static function savePublicKey(BaseCurve $curve, array $publicKey, array $options = []) argument
153 $key = Strings::packSSH2('ss', 'ssh-ed25519', $curve->encodePoint($publicKey));
165 $points = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes();
188 …unction savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $password = '',… argument
198 $pubKey = $curve->encodePoint($publicKey);
200 $publicKey = Strings::packSSH2('ss', 'ssh-ed25519', $pubKey);
[all …]
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
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);
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
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));
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
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/
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/
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…
DPublicKey.php41 return $type::savePublicKey($this->prime, $this->base, $this->publicKey, $options);
51 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/SQLAdmin/
DSslCertsCreateEphemeralRequest.php33 public $publicKey; variable in Google\\Service\\SQLAdmin\\SslCertsCreateEphemeralRequest
52 public function setPublicKey($publicKey) argument
54 $this->publicKey = $publicKey;
61 return $this->publicKey;
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/ContainerAnalysis/
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/Dataproc/
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/CloudIot/
DDeviceCredential.php46 public function setPublicKey(PublicKeyCredential $publicKey) argument
48 $this->publicKey = $publicKey;
55 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Apigee/
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/CertificateAuthorityService/
DCertificateConfig.php32 public function setPublicKey(PublicKey $publicKey) argument
34 $this->publicKey = $publicKey;
41 return $this->publicKey;
DCertificateDescription.php103 public function setPublicKey(PublicKey $publicKey) argument
105 $this->publicKey = $publicKey;
112 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dns/
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/
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/
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/
DImportJob.php174 public function setPublicKey(WrappingPublicKey $publicKey) argument
176 $this->publicKey = $publicKey;
183 return $this->publicKey;
/plugin/authgooglesheets/vendor/google/auth/src/
DOAuth2.php388 * @param string|Key|Key[] $publicKey The public key to use to authenticate the token
401 public function verifyIdToken($publicKey = null, $allowed_algs = array()) argument
408 $resp = $this->jwtDecode($idToken, $publicKey, $allowed_algs);
1446 * @param Key|Key[]|string|string[] $publicKey
1450 private function jwtDecode($idToken, $publicKey, $allowedAlgs) argument
1452 $keys = $this->getFirebaseJwtKeys($publicKey, $allowedAlgs);
1469 * @param Key|Key[]|string|string[] $publicKey
1473 private function getFirebaseJwtKeys($publicKey, $allowedAlgs) argument
1476 if ($publicKey instanceof Key) {
1477 return [$publicKey];
[all …]
/plugin/authgooglesheets/vendor/firebase/php-jwt/src/
DJWK.php102 $publicKey = \openssl_pkey_get_public($pem);
103 if (false === $publicKey) {
108 return new Key($publicKey, $jwk['alg']);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/
DX509.php171 private $publicKey; variable in phpseclib3\\File\\X509
1426 * @param string $publicKey
1434 …private function validateSignatureHelper($publicKeyAlgorithm, $publicKey, $signatureAlgorithm, $si… argument
1438 $key = RSA::loadFormat('PSS', $publicKey);
1441 $key = RSA::loadFormat('PKCS8', $publicKey);
1460 $key = EC::loadFormat('PKCS8', $publicKey);
1463 $key = EC::loadFormat('PKCS8', $publicKey);
1478 $key = DSA::loadFormat('PKCS8', $publicKey);
2142 $this->publicKey = $key;
2181 if (isset($this->publicKey)) {
[all …]

12