Commit 3f12bc06 authored by Lev Walkin's avatar Lev Walkin

TAP3

parent 7ce46633
......@@ -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
......
......@@ -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
......@@ -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:
......@@ -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.
This diff is collapsed.
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
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment