Lines Matching refs:tbsCertList

1345             case isset($this->currentCert['tbsCertList']):
1350 case !defined('FILE_X509_IGNORE_TYPE') && $this->currentCert['tbsCertList']['issuer'] === $ca['tbsCertificate']['subject']:
1351 case defined('FILE_X509_IGNORE_TYPE') && $this->getDN(self::DN_STRING, $this->currentCert['tbsCertList']['issuer']) === $this->getDN(self::DN_STRING, $ca['tbsCertificate']['subject']):
1821 $dn = isset($this->currentCert['tbsCertList']) ? $this->currentCert['tbsCertList']['issuer'] : $this->dn;
1966 case isset($this->currentCert['tbsCertList']):
1967 return $this->getDN($format, $this->currentCert['tbsCertList']['issuer']);
2010 case isset($this->currentCert['tbsCertList']):
2011 return $this->getDNProp($propName, $this->currentCert['tbsCertList']['issuer'], $withType);
2405 if (is_array($crl) && isset($crl['tbsCertList'])) {
2440 $this->mapInDNs($crl, 'tbsCertList/issuer/rdnSequence');
2441 if ($this->isSubArrayValid($crl, 'tbsCertList/crlExtensions')) {
2442 $this->mapInExtensions($crl, 'tbsCertList/crlExtensions');
2444 if ($this->isSubArrayValid($crl, 'tbsCertList/revokedCertificates')) {
2445 $rclist_ref = &$this->subArrayUnchecked($crl, 'tbsCertList/revokedCertificates');
2447 $rclist = $crl['tbsCertList']['revokedCertificates'];
2471 if (!is_array($crl) || !isset($crl['tbsCertList'])) {
2476 $filters['tbsCertList']['issuer']['rdnSequence']['value']
2478 $filters['tbsCertList']['signature']['parameters']
2483 if (empty($crl['tbsCertList']['signature']['parameters'])) {
2484 $filters['tbsCertList']['signature']['parameters']
2495 $this->mapOutDNs($crl, 'tbsCertList/issuer/rdnSequence');
2496 $this->mapOutExtensions($crl, 'tbsCertList/crlExtensions');
2497 $rclist = &$this->subArray($crl, 'tbsCertList/revokedCertificates');
2587 } elseif (isset($subject->currentCert) && is_array($subject->currentCert) && isset($subject->currentCert['tbsCertList'])) {
2860 if (isset($crl->currentCert) && is_array($crl->currentCert) && isset($crl->currentCert['tbsCertList'])) {
2862 $this->currentCert['tbsCertList']['signature'] = $signatureAlgorithm;
2866 'tbsCertList' =>
2878 $tbsCertList = &$this->currentCert['tbsCertList'];
2879 $tbsCertList['issuer'] = $issuer->dn;
2880 $tbsCertList['thisUpdate'] = $this->timeField($thisUpdate);
2883 $tbsCertList['nextUpdate'] = $this->timeField($this->endDate); // $this->setEndDate()
2885 unset($tbsCertList['nextUpdate']);
2904 $version = isset($tbsCertList['version']) ? $tbsCertList['version'] : 0;
2906 if (!empty($tbsCertList['crlExtensions'])) {
2908 } elseif (!empty($tbsCertList['revokedCertificates'])) {
2909 foreach ($tbsCertList['revokedCertificates'] as $cert) {
2917 $tbsCertList['version'] = $version;
2922 if (!empty($tbsCertList['version'])) { // At least v2.
2936 //$extensions = &$tbsCertList['crlExtensions'];
2950 if (empty($tbsCertList['revokedCertificates'])) {
2951 unset($tbsCertList['revokedCertificates']);
2954 unset($tbsCertList);
2957 // save $tbsCertList in case there are any \phpseclib3\File\ASN1\Element objects in it
2958 $tbsCertList = $this->currentCert['tbsCertList'];
2963 $result['tbsCertList'] = $tbsCertList;
3214 case isset($root['tbsCertList']):
3215 $path = 'tbsCertList/crlExtensions';
3797 if (isset($this->currentCert['tbsCertList'])) {
3798 if (is_array($rclist = &$this->subArray($this->currentCert, 'tbsCertList/revokedCertificates', true))) {
3822 if (is_array($rclist = &$this->subArray($this->currentCert, 'tbsCertList/revokedCertificates'))) {
3841 if (is_array($rclist = $this->subArray($this->currentCert, 'tbsCertList/revokedCertificates'))) {
3862 if (!isset($crl['tbsCertList'])) {
3868 if (is_array($rclist = $this->subArray($crl, 'tbsCertList/revokedCertificates'))) {
3886 if (is_array($rclist = &$this->subArray($this->currentCert, 'tbsCertList/revokedCertificates'))) {
3888 return $this->removeExtensionHelper($id, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");
3911 if (is_array($rclist = $this->subArray($crl, 'tbsCertList/revokedCertificates'))) {
3913 return $this->getExtension($id, $crl, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");
3933 if (is_array($rclist = $this->subArray($crl, 'tbsCertList/revokedCertificates'))) {
3935 return $this->getExtensions($crl, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");
3954 if (isset($this->currentCert['tbsCertList'])) {
3955 if (is_array($rclist = &$this->subArray($this->currentCert, 'tbsCertList/revokedCertificates', true))) {
3957 return $this->setExtensionHelper($id, $value, $critical, $replace, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");