Wednesday, January 11, 2012

ASN.1, 3GPP notice and what we can do with that. PART 1

I'd like to describe the basic principles of ASN.1 Message structure processing. I used to work with it a long time ago when I was a member of a team working with messages extracted from UMTS Radio Network Controllers (RNC). Me and my collegaues developed the desktop application that provides an information obtained from RNC in user-friendly format such as graphics, tables, some views that aggregate the info and many many more. 
 The information from RNC was represented in xml document. The document contains a lot of elements with information encrypted with ASN.1 algorythm, for example:

<evt function="Iur" name="RnsapRadLinkRestInd" changeTime="28.525"  vendorSpecific="false">
  <message protocol="Rnsap" version="0006">00124c00010d000001009a4006400093400100ffff

To understand what are we gotta do with all this stuff we need to know about 3GPP notice.
I suppose if you are reading this post you now what 3GPP means, if not, please visit

There are a lot of ASN.1 message structures defined in 3GPP notices. In the list of notices we may find ASN.1 notice for RRC messages into 25331 document (
Using the ASN.1 compiler (  we are able to convert the notice instances to the objects of the popular programming languages (C/C#/java etc); thus, we get a source code. With xml parser we are able to extract an encrypted string and pass it as a parameter for a constructor of the ASN.1 class genrated.

No comments:

Post a Comment