Rev 1433 | Rev 1440 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1433 | Rev 1436 | ||
---|---|---|---|
Line 1333... | Line 1333... | ||
1333 | 1333 | ||
1334 | $objParent = OIDplusObject::parse($parent); |
1334 | $objParent = OIDplusObject::parse($parent); |
1335 | if (!$objParent) return ''; |
1335 | if (!$objParent) return ''; |
1336 | $parentNS = $objParent::ns(); |
1336 | $parentNS = $objParent::ns(); |
1337 | 1337 | ||
1338 | // http://oid-info.com/cgi-bin/display?a=list-by-category&category=Not%20allocating%20identifiers |
1338 | // http://oid-info.com/cgi-bin/display?a=list-by-category&category=Not%20allocating%20identifiers (15 Nov 2023) |
1339 | $no_asn1 = array( |
1339 | $no_asn1 = array( |
- | 1340 | 'oid:0.2.228', |
|
1340 | 'oid:1.3.6.1.4.1', |
1341 | 'oid:1.3.6.1.4.1', |
1341 | 'oid:1.3.6.1.4.1.37476.9000', |
1342 | 'oid:1.3.6.1.4.1.37476.9000', |
1342 | 'oid:1.3.6.1.4.1.37553.8.8', |
1343 | 'oid:1.3.6.1.4.1.37553.8.8', |
1343 | 'oid:2.16.276.1', |
1344 | 'oid:2.16.276.1', |
- | 1345 | 'oid:2.16.756', |
|
- | 1346 | 'oid:2.16.756.1', |
|
- | 1347 | 'oid:2.16.756.5' |
|
1344 | //'oid:2.25', // according to Olivier, it is OK that UUID owners define their own ASN.1 ID, since the ASN.1 ID is not required to be unique |
1348 | //'oid:2.25', // according to Olivier, it is OK that UUID owners define their own ASN.1 ID, since the ASN.1 ID is not required to be unique |
1345 | //'oid:1.2.840.113556.1.8000.2554' // Adhoc (GUID/UUID-based) customer use. It is probably the same case as the UUID OIDs, after all, these are UUIDs, too. |
1349 | //'oid:1.2.840.113556.1.8000.2554', // Adhoc (GUID/UUID-based) customer use. It is probably the same case as the UUID OIDs, after all, these are UUIDs, too. |
- | 1350 | //'oid:1.3.6.1.4.1.54392.1', // Another UUID-to-OID method |
|
- | 1351 | //'oid:1.3.6.1.4.1.54392.2', // Another UUID-to-OID method |
|
- | 1352 | //'oid:1.3.6.1.4.1.54392.3', // Another UUID-to-OID method |
|
1346 | ); |
1353 | ); |
1347 | 1354 | ||
1348 | // http://oid-info.com/cgi-bin/display?a=list-by-category&category=Not%20allocating%20Unicode%20labels |
1355 | // http://oid-info.com/cgi-bin/display?a=list-by-category&category=Not%20allocating%20Unicode%20labels (15 Nov 2023) |
1349 | $no_iri = array( |
1356 | $no_iri = array( |
- | 1357 | 'oid:0.2.228', |
|
- | 1358 | 'oid:1.2.36', |
|
1350 | 'oid:1.2.250.1', |
1359 | 'oid:1.2.250.1', |
- | 1360 | 'oid:1.3', |
|
1351 | 'oid:1.3.6.1.4.1', |
1361 | 'oid:1.3.6.1.4.1', |
1352 | 'oid:1.3.6.1.4.1.37476.9000', |
1362 | 'oid:1.3.6.1.4.1.37476.9000', |
1353 | 'oid:1.3.6.1.4.1.37553.8.8', |
1363 | 'oid:1.3.6.1.4.1.37553.8.8', |
1354 | 'oid:2.16.276.1', |
1364 | 'oid:2.16.276.1', |
- | 1365 | 'oid:2.16.756', |
|
- | 1366 | 'oid:2.16.756.1', |
|
- | 1367 | 'oid:2.16.756.5', |
|
1355 | 'oid:2.25' |
1368 | 'oid:2.25' |
1356 | ); |
1369 | ); |
1357 | 1370 | ||
1358 | $accepts_asn1 = ($parentNS == 'oid') && (!in_array($objParent->nodeId(), $no_asn1)) && (!is_uuid_oid($objParent->nodeId(),true)); |
1371 | $accepts_asn1 = ($parentNS == 'oid') && (!in_array($objParent->nodeId(), $no_asn1)) && (!is_uuid_oid($objParent->nodeId(),true)); |
1359 | $accepts_iri = ($parentNS == 'oid') && (!in_array($objParent->nodeId(), $no_iri)) && (!is_uuid_oid($objParent->nodeId(),true)); |
1372 | $accepts_iri = ($parentNS == 'oid') && (!in_array($objParent->nodeId(), $no_iri)) && (!is_uuid_oid($objParent->nodeId(),true)); |