Subversion Repositories oidplus

Rev

Rev 1439 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1439 Rev 1463
Line 175... Line 175...
175
                $tmp = str_replace(explode(' ', $tmp, 2)[0], '<a href="http://oid-info.com/faq.htm#iri" target="_blank">'.explode(' ', $tmp, 2)[0].'</a>', $tmp);
175
                $tmp = str_replace(explode(' ', $tmp, 2)[0], '<a href="http://oid-info.com/faq.htm#iri" target="_blank">'.explode(' ', $tmp, 2)[0].'</a>', $tmp);
176
                $tech_info[$tmp] = $this->getIriNotation();
176
                $tech_info[$tmp] = $this->getIriNotation();
177
 
177
 
178
                $tmp = _L('WEID notation');
178
                $tmp = _L('WEID notation');
179
                $tmp = str_replace(explode(' ', $tmp, 2)[0], '<a href="https://weid.info/" target="_blank">'.explode(' ', $tmp, 2)[0].'</a>', $tmp);
179
                $tmp = str_replace(explode(' ', $tmp, 2)[0], '<a href="https://weid.info/" target="_blank">'.explode(' ', $tmp, 2)[0].'</a>', $tmp);
180
                $tech_info[$tmp] = $this->getWeidNotation();
180
                $tech_info[$tmp] = $this->getWeidNotation(true);
181
 
181
 
182
                $tmp = _L('DER encoding');
182
                $tmp = _L('DER encoding');
183
                $tmp = str_replace(explode(' ', $tmp, 2)[0], '<a href="https://misc.daniel-marschall.de/asn.1/oid-converter/online.php" target="_blank">'.explode(' ', $tmp, 2)[0].'</a>', $tmp);
183
                $tmp = str_replace(explode(' ', $tmp, 2)[0], '<a href="https://misc.daniel-marschall.de/asn.1/oid-converter/online.php" target="_blank">'.explode(' ', $tmp, 2)[0].'</a>', $tmp);
184
                $tech_info[$tmp] = str_replace(' ', ':', \OidDerConverter::hexarrayToStr(\OidDerConverter::oidToDER($this->nodeId(false))));
184
                $tech_info[$tmp] = str_replace(' ', ':', \OidDerConverter::hexarrayToStr(\OidDerConverter::oidToDER($this->nodeId(false))));
185
 
185
 
Line 626... Line 626...
626
         */
626
         */
627
        public function getAltIds(): array {
627
        public function getAltIds(): array {
628
                if ($this->isRoot()) return array();
628
                if ($this->isRoot()) return array();
629
                $ids = parent::getAltIds();
629
                $ids = parent::getAltIds();
630
 
630
 
-
 
631
                $ids[] = new OIDplusAltId('weid', explode(':',$this->getWeidNotation(false),2)[1], _L('WEID notation'), '', 'https://weid.info');
-
 
632
 
631
                // R74n "Multiplane", see https://r74n.com/multiplane/
633
                // R74n "Multiplane", see https://r74n.com/multiplane/
632
                // Vendor space:
634
                // Vendor space:
633
                // [0x2aabb] = 1.3.6.1.4.1.61117.1.[0x2aa00].[0xbb]
635
                // [0x2aabb] = 1.3.6.1.4.1.61117.1.[0x2aa00].[0xbb]
634
                // Every other space:
636
                // Every other space:
635
                // [0xcaabb] = 1.3.6.1.4.1.61117.1.[0xcaabb]
637
                // [0xcaabb] = 1.3.6.1.4.1.61117.1.[0xcaabb]