Home
last modified time | relevance | path

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

123

/plugin/gtime/gtlib/asn1/x509/
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) {
126 $this->cert = openssl_x509_read($this->encodePEM());
130 $this->pkey = openssl_pkey_get_public($this->cert);
145 if ($this->cert === null || $this->cert === false) {
146 $this->cert = openssl_x509_read($this->encodePEM());
150 $this->data = openssl_x509_parse($this->cert);
166 if ($this->cert === null || $this->cert === false) {
[all …]
/plugin/adfs/
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/saml/
Dhelper.php38 $cert = $this->getConf('certificate');
39 $cert = wordwrap($cert, 65, "\n", true);
40 $cert = trim($cert);
41 if (!preg_match('/^-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----$/s', $cert)) {
42 $cert = "-----BEGIN CERTIFICATE-----\n$cert\n-----END CERTIFICATE-----";
81 'x509cert' => $cert,
/plugin/authclientcert/
Dauth.php53 $cert = $_SERVER[$header_name];
54 if (empty($cert)) {
58 $certUserInfo = $this->_extractUserInfoFromCert($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);
105 … return "-----BEGIN CERTIFICATE-----".PHP_EOL.$cert.PHP_EOL."-----END CERTIFICATE-----".PHP_EOL;
108 protected function _extractUserInfoFromCert($cert) { argument
109 $cert = $this->_formatCert($cert);
[all …]
/plugin/authsmartcard/auth/
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/
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/adfs/phpsaml/lib/Saml2/
DSettings.php700 $cert = $this->getSPcert();
701 return (!empty($key) && !empty($cert));
731 $cert = null;
734 $cert = $this->_sp['x509cert'];
739 $cert = file_get_contents($certFile);
742 return $cert;
753 $cert = null;
756 $cert = $this->_sp['x509certNew'];
761 $cert = file_get_contents($certFile);
764 return $cert;
[all …]
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);
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
DLogoutRequest.php65 $cert = null;
70 $cert = $idpData['x509certMulti']['encryption'][0];
72 $cert = $idpData['x509cert'];
102 $cert,
/plugin/saml/phpsaml/lib/Saml2/
DSettings.php700 $cert = $this->getSPcert();
701 return (!empty($key) && !empty($cert));
731 $cert = null;
734 $cert = $this->_sp['x509cert'];
739 $cert = file_get_contents($certFile);
742 return $cert;
753 $cert = null;
756 $cert = $this->_sp['x509certNew'];
761 $cert = file_get_contents($certFile);
764 return $cert;
[all …]
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);
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
DLogoutRequest.php65 $cert = null;
70 $cert = $idpData['x509certMulti']['encryption'][0];
72 $cert = $idpData['x509cert'];
102 $cert,
/plugin/authgooglesheets/vendor/google/apiclient-services/src/SQLAdmin/
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/quickstats/GEOIP/vendor/maxmind/web-service-common/src/WebService/
DClient.php437 $cert = CaBundle::getSystemCaRootBundlePath();
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");
470 return $cert;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/
DX509.php469 * @param string $cert
474 public function loadX509($cert, $mode = self::FORMAT_AUTO_DETECT) argument
476 if (is_array($cert) && isset($cert['tbsCertificate'])) {
479 $this->dn = $cert['tbsCertificate']['subject'];
483 $this->currentCert = $cert;
490 return $cert;
494 $newcert = ASN1::extractBER($cert);
495 if ($mode == self::FORMAT_PEM && $cert == $newcert) {
498 $cert = $newcert;
501 if ($cert === false) {
[all …]
/plugin/forcessllogin/
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/apiclient/src/AccessToken/
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/google/auth/src/
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/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/Handler/
DCurlFactory.php484 $cert = $options['cert'];
485 if (\is_array($cert)) {
486 $conf[\CURLOPT_SSLCERTPASSWD] = $cert[1];
487 $cert = $cert[0];
489 if (!\file_exists($cert)) {
490 throw new \InvalidArgumentException("SSL certificate not found: {$cert}");
494 $ext = pathinfo($cert, \PATHINFO_EXTENSION);
498 $conf[\CURLOPT_SSLCERT] = $cert;
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Handler/
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/
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.
/plugin/saml/phpsaml/extlib/xmlseclibs/
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.
/plugin/quickstats/GEOIP/vendor/composer/ca-bundle/src/
DCaBundle.php255 …$cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTc…
263 $script = '<'."?php\n".sprintf($script, $cert);

123