Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
3f12bc06
Commit
3f12bc06
authored
Mar 10, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TAP3
parent
7ce46633
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
795 additions
and
7 deletions
+795
-7
ChangeLog
ChangeLog
+1
-0
examples/Makefile.am
examples/Makefile.am
+8
-2
examples/Makefile.in
examples/Makefile.in
+8
-3
examples/README
examples/README
+3
-2
examples/sample.source.TAP3/Makefile
examples/sample.source.TAP3/Makefile
+708
-0
examples/sample.source.TAP3/README
examples/sample.source.TAP3/README
+55
-0
examples/sample.source.TAP3/config.h
examples/sample.source.TAP3/config.h
+12
-0
No files found.
ChangeLog
View file @
3f12bc06
...
...
@@ -14,6 +14,7 @@
(Test case 74) (Severity: low, Security impact: none)
* XMLValueList generation fixed for CHOICE type.
(Severity: medium, Security impact: none)
* Added the GSM TAP3 decoder into ./examples/sample.source.TAP3
0.9.11: 2005-Mar-04
...
...
examples/Makefile.am
View file @
3f12bc06
...
...
@@ -15,8 +15,14 @@ EXTRA_DIST = rfc*.txt \
sample.source.PKIX1/README
\
sample.source.PKIX1/config.h
\
sample.source.PKIX1/Makefile
\
sample.source.PKIX1/regenerate.Makefile
CLEANFILES
=
*
.asn1
sample.source.PKIX1/regenerate.Makefile
\
sample.source.TAP3/README
\
sample.source.TAP3/config.h
\
sample.source.TAP3/Makefile
\
sample.source.TAP3/regenerate.Makefile
CLEANFILES
=
$(ASN1_FILES_1)
clean-local
:
cd
sample.source.PKIX1
&&
make distclean
cd
sample.source.TAP3
&&
make distclean
examples/Makefile.in
View file @
3f12bc06
...
...
@@ -170,9 +170,13 @@ EXTRA_DIST = rfc*.txt \
sample.source.PKIX1/README
\
sample.source.PKIX1/config.h
\
sample.source.PKIX1/Makefile
\
sample.source.PKIX1/regenerate.Makefile
sample.source.PKIX1/regenerate.Makefile
\
sample.source.TAP3/README
\
sample.source.TAP3/config.h
\
sample.source.TAP3/Makefile
\
sample.source.TAP3/regenerate.Makefile
CLEANFILES
=
*
.asn1
CLEANFILES
=
$(ASN1_FILES_1)
all
:
all-am
.SUFFIXES
:
...
...
@@ -242,7 +246,7 @@ CTAGS:
distdir
:
$(DISTFILES)
$(mkdir_p)
$(distdir)
/sample.source.PKIX1
$(mkdir_p)
$(distdir)
/sample.source.PKIX1
$(distdir)
/sample.source.TAP3
@
srcdirstrip
=
`
echo
"
$(srcdir)
"
|
sed
's|.|.|g'
`
;
\
topsrcdirstrip
=
`
echo
"
$(top_srcdir)
"
|
sed
's|.|.|g'
`
;
\
list
=
'
$(DISTFILES)
'
;
for
file
in
$$
list
;
do
\
...
...
@@ -366,6 +370,7 @@ $(ASN1_FILES_1): crfc2asn1.pl $(ASN1_SOURCE_1)
clean-local
:
cd
sample.source.PKIX1
&&
make distclean
cd
sample.source.TAP3
&&
make distclean
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT
:
examples/README
View file @
3f12bc06
...
...
@@ -9,5 +9,6 @@ To compile the files using asn1c, try
../asn1c/asn1c -P rfc3280-*.asn1
The ./sample.source.PKIX1 directory contains the X.509 Certificate decoder.
1. The ./sample.source.PKIX1 directory contains the X.509 Certificate decoder.
2. The ./sample.source.TAP3 directory contains the GSM TAP3 decoder. Please
read the README file in that directory first.
examples/sample.source.TAP3/Makefile
0 → 100644
View file @
3f12bc06
This diff is collapsed.
Click to expand it.
examples/sample.source.TAP3/README
0 → 100644
View file @
3f12bc06
GENERAL INFORMATION
===================
The GSM TAP3 (Transferred Account Procedure, Version 3) decoder.
Invoking `make` will compile the ASN.1 specifications from the
../tap3.asn1 file.
THERE IS NO tap3.asn1 FILE THERE YET!
OBTAINING THE TAP3 SPECIFICATION
================================
To obtain the TAP3 ASN.1 specification, you should go to
http://www.gsmworld.com/using/billing/tap3_legal.html
and agree with their licensing terms by clicking the "I ACCEPT" button.
A .ZIP file with several Microsoft Word .DOC files will download shortly.
You should extract the TAP-0311 ASN.1 module from one of these .DOC files
and save it as the ../tap3.asn1 file. The ../tap3.asn1 file should start with
the following line
"TAP-0311 DEFINITIONS IMPLICIT TAGS ::="
and end with the "END" token.
Be careful not to copy any non-ASN.1 preambles from that .DOC file.
After obtaining the tap3.asn1, type `make` in the directory containing
this README file.
tap3dump USAGE
==============
The tap3dump utility may be used to dump the contents of the BER-encoded
TAP3 data record file:
./tap3dump -x tapfile.der # Print as XML (BASIC-XER)
If necessary, a straightforward modification of the
../../skeletons/asn-decoder-template.c
will allow you to build a converter from the XML (XER) TAP3 format
back into binary (BER).
The full list of recognized command line options may be obtained with
> ./tap3dump -h
Usage: ./tap3dump [options] <data.ber> ...
Where options are:
-b <size> Set the i/o buffer size (default is 8192)
-c Check ASN.1 constraints after decoding
-d Enable debugging (-dd is even better)
-n <num> Process files <num> times
-s <size> Set the stack usage limit
-p Print out the decoded contents
-x Print out as XML
examples/sample.source.TAP3/config.h
0 → 100644
View file @
3f12bc06
extern
int
opt_debug
;
#define ASN_DEBUG(fmt, args...) do { \
if(opt_debug < 2) break; \
fprintf(stderr, fmt, ##args); \
fprintf(stderr, " (%s:%d)\n", \
__FILE__, __LINE__); \
} while(0)
/* Which type is the PDU; for ../../skeletons/asn-decoder-template.c */
#define asn_DEF asn_DEF_DataInterChange
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment