Commit Graph

25 Commits

Author SHA1 Message Date
hploetz 56e9027ec8 More useful OID display for the case when the exact OID is not known
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@239 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-10 00:01:53 +00:00
hploetz 9a1a0ccdce sre is deprecated in python 2.5
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@238 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-09 19:31:05 +00:00
hploetz fd7bcf04a1 OID to cleartext
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@237 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-09 12:10:27 +00:00
hploetz 9d071e7451 helper function to search through TLV trees. (TODO: Create proper class for TLV data)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@215 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-05 02:33:13 +00:00
hploetz 3c2a32efe4 UTF8
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@169 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-23 14:51:00 +00:00
hploetz ba321e10ab Leave context when encountering a structure that is not application specific or universal
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@164 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-14 14:41:43 +00:00
hploetz 2eac1f6b44 Fix SFI handling
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@159 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-13 02:24:24 +00:00
hploetz 58505948ea allow 00 and ff filler bytes to be returned optionally
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@147 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-26 05:09:30 +00:00
hploetz 124c2c3b60 implement pack()
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@142 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-23 15:02:23 +00:00
hploetz aa56530279 implement unpack(data, with_marks)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@141 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-23 14:40:58 +00:00
hploetz 6759203dbf Fix multi-byte tags in combination with multi-byte lengths
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@110 f711b948-2313-0410-aaa9-d29f33439f0b
2006-08-06 03:47:58 +00:00
hploetz bc89e9c262 better boolean decoding
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@109 f711b948-2313-0410-aaa9-d29f33439f0b
2006-08-06 03:12:05 +00:00
hploetz ee71cb7289 decode asn.1 bit string and enumerated
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@105 f711b948-2313-0410-aaa9-d29f33439f0b
2006-07-21 19:36:53 +00:00
hploetz 54c53d262c Make it possible to override tags
Replace the "= object()" with a proper class and explanation


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@93 f711b948-2313-0410-aaa9-d29f33439f0b
2006-06-16 23:14:14 +00:00
hploetz 2112e830fd fix file descriptor byte decoding and typos
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@89 f711b948-2313-0410-aaa9-d29f33439f0b
2006-06-16 03:21:58 +00:00
hploetz d84aab3904 wrong comment fixed
LCS decoding


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@88 f711b948-2313-0410-aaa9-d29f33439f0b
2006-06-14 11:30:59 +00:00
hploetz ea0b40ed08 better context handling (?)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@87 f711b948-2313-0410-aaa9-d29f33439f0b
2006-06-14 11:00:42 +00:00
hploetz b1f2a56881 ls -l (still ugly)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@75 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-24 07:58:55 +00:00
hploetz ac08ac1ff8 fix decoding of multi-byte tags
move parse_tlv to generic card


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@69 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-22 01:04:32 +00:00
hploetz 1d3b76657f parsing advances
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@66 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-21 12:14:12 +00:00
hploetz 0f9a390305 more BER decoding
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@65 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-20 10:07:59 +00:00
hploetz 64414ee037 better parsing of unknown TLV structures
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@63 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-20 04:38:04 +00:00
hploetz ba185c175a git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@61 f711b948-2313-0410-aaa9-d29f33439f0b 2006-05-20 03:52:53 +00:00
hploetz 60c80e35c7 nicer TLV parsing, (more ugly code)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@59 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-19 02:24:48 +00:00
hploetz 53742b2705 TLV utilities
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@55 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 20:21:51 +00:00