47,7 → 47,7 |
|
if (isset($data['oid']['identifier'])) { |
foreach ($data['oid']['identifier'] as $asn1id) { |
$std = _is_standardized($oid, $asn1id); |
$std = _is_standardized($oid, $asn1id) ? 1 : 0; |
$output[$oid]['asn1id'][] = "INSERT INTO `asn1id` (oid, name, standardized, well_known) VALUES ('oid:$oid', '$asn1id', $std, 1);"; |
} |
} else { |
55,7 → 55,7 |
} |
if (isset($data['oid']['unicode-label'])) { |
foreach ($data['oid']['unicode-label'] as $iri) { |
$std = _is_long($oid); |
$std = _is_long($oid) ? 1 : 0; |
|
if (strpos($iri, '&#') !== false) { |
$iri = "from_base64('".base64_encode(html_entity_decode($iri, ENT_COMPAT | ENT_HTML401, "UTF-8"))."')"; |
137,6 → 137,12 |
$interesting_oids[] = '1.3.6.1.4.1.12798.1'; // member |
$interesting_oids[] = '1.3.6.1.4.1.37476'; // ViaThinkSoft |
$interesting_oids[] = '1.3.6.1.4.1.37476.9000'; // freeoid |
$interesting_oids[] = '1.3.6.1.4.1.37553'; // frdlweb |
$interesting_oids[] = '1.3.6.1.4.1.37553.8'; // WEID |
$interesting_oids[] = '1.3.6.1.4.1.37553.8.8'; // private |
$interesting_oids[] = '1.3.6.1.4.1.37553.8.9'; // ns |
$interesting_oids[] = '1.3.6.1.4.1.37553.8.9.17704'; // dns |
$interesting_oids[] = '1.3.6.1.4.1.37553.8.9.1439221'; // uuid |
$interesting_oids[] = '2'; // joint-iso-itu-t |
$interesting_oids[] = '2.16'; // country |
// country_getter defines the country OIDs |