Rev 40 | Rev 42 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 40 | Rev 41 | ||
---|---|---|---|
Line 685... | Line 685... | ||
685 | // Category 'E' |
685 | // Category 'E' |
686 | // AID = 'E8' + OID + PIX (OID is DER encoding without type and length) |
686 | // AID = 'E8' + OID + PIX (OID is DER encoding without type and length) |
687 | if ("$category" === "E") { |
687 | if ("$category" === "E") { |
688 | $out[] = array("$category", "Category $category: Standard"); |
688 | $out[] = array("$category", "Category $category: Standard"); |
689 | 689 | ||
690 | $std_scheme = substr($aid,1,1); |
690 | $std_schema = substr($aid,1,1); |
691 | if ($std_scheme == '8') { |
691 | if ($std_schema == '8') { |
692 | $out[] = array(" $std_scheme", "Standard identified by OID"); |
692 | $out[] = array(" $std_schema", "Standard identified by OID"); |
693 | 693 | ||
694 | $data = substr($aid,2); |
694 | $data = substr($aid,2); |
695 | try { |
695 | try { |
696 | $interpretations = _aid_e8_interpretations($aid); |
696 | $interpretations = _aid_e8_interpretations($aid); |
697 | foreach ($interpretations as $ii => $interpretation) { |
697 | foreach ($interpretations as $ii => $interpretation) { |
Line 713... | Line 713... | ||
713 | } |
713 | } |
714 | } catch (Exception $e) { |
714 | } catch (Exception $e) { |
715 | $out[] = array(" $data", "ERROR: ".$e->getMessage()); |
715 | $out[] = array(" $data", "ERROR: ".$e->getMessage()); |
716 | 716 | ||
717 | } |
717 | } |
718 | } else { |
718 | } else if ($std_schema != '') { |
719 | // E0..E7, E9..EF are RFU |
719 | // E0..E7, E9..EF are RFU |
720 | $unknown = substr($aid,1); |
720 | $unknown = substr($aid,1); |
721 | $out[] = array(" $unknown", "ILLEGAL USAGE / RESERVED"); |
721 | $out[] = array(" $unknown", "ILLEGAL USAGE / RESERVED"); |
722 | } |
722 | } |
723 | 723 |