Home
last modified time | relevance | path

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

12

/plugin/gtime/gtlib/asn1/x509/
H A DX509Certificate.php40 private $cert; variable in X509Certificate
77 if ($this->cert !== null && $this->cert !== false) {
78 openssl_x509_free($this->cert);
125 if ($this->cert === null || $this->cert === false) {
130 $this->pkey = openssl_pkey_get_public($this->cert);
145 if ($this->cert === null || $this->cert === false) {
150 $this->data = openssl_x509_parse($this->cert);
166 if ($this->cert === null || $this->cert === false) {
171 $this->pkey = openssl_pkey_get_public($this->cert);
190 if ($this->cert === null || $this->cert === false) {
[all …]
/plugin/adfs/
H A Dhelper.php37 $cert = $this->getConf('certificate');
38 $cert = wordwrap($cert, 65, "\n", true);
39 $cert = trim($cert);
40 if (!preg_match('/^-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----$/s', $cert)) {
41 $cert = "-----BEGIN CERTIFICATE-----\n$cert\n-----END CERTIFICATE-----";
72 'x509cert' => $cert,
/plugin/authclientcert/
H A Dauth.php53 $cert = $_SERVER[$header_name];
54 if (empty($cert)) {
97 protected function _formatCert($cert) { argument
100 if (1 === preg_match($pattern, $cert, $matches)) {
101 $cert = $matches[1];
103 $cert = str_replace($replaceCharacters, '', $cert);
108 protected function _extractUserInfoFromCert($cert) { argument
109 $cert = $this->_formatCert($cert);
110 if (empty($cert)) {
114 $_SESSION['SSL_CLIENT_CERT'] = $cert;
[all …]
/plugin/authsmartcard/auth/
H A Dindex.php18 $cert = $_SERVER['SSL_CLIENT_CERT']; variable
22 if (1 === preg_match($pattern, $cert, $matches)) {
23 $cert = $matches[1]; variable
28 $cert = str_replace($replaceCharacters, '', $cert); variable
31 $wrapped = wordwrap($cert, 64, "\n", true);
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudRedis/
H A DTlsCertificate.php25 public $cert; variable in Google\\Service\\CloudRedis\\TlsCertificate
46 public function setCert($cert) argument
48 $this->cert = $cert;
55 return $this->cert;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/SQLAdmin/
H A DSslCert.php25 public $cert; variable in Google\\Service\\SQLAdmin\\SslCert
62 public function setCert($cert) argument
64 $this->cert = $cert;
71 return $this->cert;
/plugin/adfs/phpsaml/lib/Saml2/
H A DSettings.php700 $cert = $this->getSPcert();
731 $cert = null;
742 return $cert;
753 $cert = null;
764 return $cert;
865 $cert = $this->getSPcert();
866 if (!empty($cert)) {
869 $cert,
878 $certMetadata = $cert;
1117 public function setIdPCert($cert) argument
[all …]
H A DMetadata.php179 * @param string $cert x509 cert
187 …public static function signMetadata($metadata, $key, $cert, $signAlgorithm = XMLSecurityKey::RSA_S… argument
189 … return OneLogin_Saml2_Utils::addSign($metadata, $key, $cert, $signAlgorithm, $digestAlgorithm);
197 * @param string $cert x509 cert
204 public static function addX509KeyDescriptors($metadata, $cert, $wantsEncrypted = true) argument
218 $formatedCert = OneLogin_Saml2_Utils::formatCert($cert, false);
H A DUtils.php211 * @param string $cert A x509 unformated cert
217 public static function formatCert($cert, $heads = true) argument
219 $x509cert = str_replace(array("\x0D", "\r", "\n"), "", $cert);
1049 * @param string|null $cert IdP Public cert to encrypt the nameID
1056 public static function generateNameId($value, $spnq, $format = null, $cert = null, $nq = null) argument
1075 if (!empty($cert)) {
1077 $seckey->loadKey($cert);
1329 * @param string $cert The public
1337 …public static function addSign($xml, $key, $cert, $signAlgorithm = XMLSecurityKey::RSA_SHA1, $dige… argument
H A DLogoutRequest.php65 $cert = null;
70 $cert = $idpData['x509certMulti']['encryption'][0];
72 $cert = $idpData['x509cert'];
102 $cert,
/plugin/quickstats/GEOIP/vendor/maxmind/web-service-common/src/WebService/
H A DClient.php437 $cert = CaBundle::getSystemCaRootBundlePath();
439 // Check if the cert is inside a phar. If so, we need to copy the cert
441 if (substr($cert, 0, 7) === 'phar://') {
449 if (!copy($cert, $newCert)) {
451 "Could not copy $cert to $newCert: "
464 $cert = $newCert;
466 if (!file_exists($cert)) {
467 throw new \RuntimeException("CA cert does not exist at $cert");
[all...]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php469 * @param string $cert
476 if (is_array($cert) && isset($cert['tbsCertificate'])) {
490 return $cert;
498 $cert = $newcert;
543 * @param array $cert
550 if (!is_array($cert) || !isset($cert['tbsCertificate'])) {
600 $cert = ASN1::encodeDER($cert, Maps\Certificate::MAP);
604 return $cert;
997 * @param string $cert
1008 $cert = $this->loadX509($cert);
[all …]
/plugin/forcessllogin/
H A Daction.php61 if( $this->getConf('cert')) {
64 .str_replace( '{{name}}', $this->getConf('cert'), $this->getLang('certinfo') )
67 … $form->addElement('<p>'.$this->getLang('certinfo')." ".$this->getConf('cert').'</p>'.NL ); }}
/plugin/authgooglesheets/vendor/google/auth/src/
H A DCredentialsLoader.php273 throw new UnexpectedValueException('Invalid client cert source JSON');
277 'cert source requires "cert_provider_command"'
282 'cert source expects "cert_provider_command" to be an array'
/plugin/authgooglesheets/vendor/google/apiclient/src/AccessToken/
H A DVerify.php101 foreach ($certs as $cert) {
104 $publicKey = $this->getPublicKey($cert);
230 private function getPublicKey($cert) argument
233 $modulus = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['n']), 256);
234 $exponent = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['e']), 256);
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Handler/
H A DCurlFactory.php443 $cert = $options['cert'];
444 if (is_array($cert)) {
445 $conf[CURLOPT_SSLCERTPASSWD] = $cert[1];
446 $cert = $cert[0];
448 if (!file_exists($cert)) {
450 "SSL certificate not found: {$cert}"
453 $conf[CURLOPT_SSLCERT] = $cert;
/plugin/adfs/phpsaml/extlib/xmlseclibs/
H A DCHANGELOG.txt41 - Drop failing extract-win-cert test (Thijs Kinkhorst). (Thijs Kinkhorst)
90 - Add options parameter to the add cert methods.
91 - Add optional issuerSerial creation with cert
108 XMLSecurityKey::getRawThumbprint($cert))
141 - Add getX509Certificate method to retrieve the x509 cert used for Key.
H A Dxmlseclibs.php235 public static function getRawThumbprint($cert) { argument
237 $arCert = explode("\n", $cert);
1157 static function get509XCert($cert, $isPEMFormat=true) { argument
1158 $certs = XMLSecurityDSig::staticGet509XCerts($cert, $isPEMFormat);
1192 …static function staticAdd509Cert($parentRef, $cert, $isPEMFormat=true, $isURL=false, $xpath=null, … argument
1194 $cert = file_get_contents($cert);
1203 $certs = XMLSecurityDSig::staticGet509XCerts($cert, $isPEMFormat);
1271 public function add509Cert($cert, $isPEMFormat=true, $isURL=false, $options=null) { argument
1273 self::staticAdd509Cert($this->sigNode, $cert, $isPEMFormat, $isURL, $xpath, $options);
/plugin/quickstats/GEOIP/vendor/composer/ca-bundle/src/
H A DCaBundle.php92 '/etc/ssl/cert.pem', // OpenBSD
93 '/usr/local/etc/ssl/cert.pem', // FreeBSD 10.x
94 '/usr/local/etc/openssl/cert.pem', // OS X homebrew, openssl package
255 $cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU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F3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K';
263 $script = '<'."?php\n".sprintf($script, $cert);
/plugin/gtime/gtlib/tsp/
H A DGTVerifier.php338 $cert = new X509Certificate($certificate);
342 $params = $cert->getParameters();
355 $hash2 = X509Certificate::getPublicKeyHash($cert->getPublicKey());
/plugin/quickstats/GEOIP/vendor/maxmind/web-service-common/
H A DCHANGELOG.md33 * Fix typo in code to copy cert to temp directory.
50 * Updated included cert bundle.
/plugin/gemini/
H A Dcli.php310 $cert = openssl_csr_sign($csr, null, $privkey, $days, $config, 0);
311 openssl_x509_export($cert, $out['public']);
/plugin/autotweet/
H A DOAuth.php185 $cert = $this->fetch_private_cert($request);
188 $privatekeyid = openssl_get_privatekey($cert);
205 $cert = $this->fetch_public_cert($request);
208 $publickeyid = openssl_get_publickey($cert);
/plugin/xymon/xymon-script/
H A Ddokuwiki.rb116 object_to_decorate.cert = certificate
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/
H A DClientBuilder.php525 * @param string $cert The name of a file containing a PEM formatted certificate.
528 public function setSSLCert(string $cert, string $password = null): ClientBuilder argument
530 $this->sslCert = [$cert, $password];
598 $sslOptions['cert'] = $this->sslCert;

12