Sponsored Content
Full Discussion: ASN.1 decoder
Top Forums Programming ASN.1 decoder Post 302914968 by mutley2202 on Friday 29th of August 2014 04:33:43 PM
Old 08-29-2014
ASN.1 decoder

Hi All,
I am fairly new to this so please forgive me, Currently I have an ASN.1 which I would like the ability to load this to my work server in order to enter a string of output decode and display the output.

There are methods online as shown on ASN.1 JavaScript decoder however I have some other plans with it hence why I want it on the server. Does anyone know/have a ASN.1 decoder which I can supply the ASN.1 file and the decoder do its job.

An example asn.1 is below

Code:
testCallCase  OPERATION ::= {                                                                          
        ARGUMENT
               testCallCaseArg
        RESULT
               testCallCaseRes
        ERRORS {
        CODE      local:126 }

testCallCaseArg (MoCallArg) ::= [0] {
        callingMsisdn                                       [0] ISDN-AddressString,                   
        imsi                                                     [1]    IMSI                                         OPTIONAL,
        basicServiceCode                                       basicServiceCode,
        calledNumber                                       [4] ISDN-AddressString,
        originatingMscNumber                          [5] ISDN-AddressString,
        ...}

testCallCaseArg (DivertedCallArg) ::= [2] {
        callingMsisdn                                       [0] ISDN-AddressString,                   
        imsi                                                     [1]    IMSI                                         OPTIONAL,
        basicServiceCode                                       basicServiceCode,
        forwardingMsisdn                                [4] ISDN-AddressString,
        forwardedToNumber                             [5] ISDN-AddressString,
        forwardingMscNumber                         [9] ISDN-AddressString                    OPTIONAL,
        ...}

testCallCaseRes (MoCallRes) ::= SEQUENCE [0] {
        moCallAllowedInfo                               [0] moCallAllowedInfo                                             OPTIONAL,       
        callBarredType                                     [1]    INTEGER(1 byte)                                             OPTIONAL,
        cliRestrictionOption                              [2]    INTEGER(1 byte)                                             OPTIONAL,
        pre-paySubscriber                                [3] NULL                                                                 OPTIONAL,
        moCallNotResolved                             [4] moCallNotResolved                                            OPTIONAL,
        ...}

moCallAllowedInfo ::= SEQUENCE {
        privateFeatureData                               [0] OICK-privateFeatureData                                    OPTIONAL,
        o-CSI                                                   [1]    O-CSI                                                              OPTIONAL,
        ...}

OICK-privateFeatureData ::= SEQUENCE {
        ss-status                                                     OCTET STRING(1..5),
        incategorykey                                              OCTET STRING(1..2631),
        ...}

moCallNotResolved ::= SEQUENCE {
        privateFeatureData                               [0] OICK-privateFeatureData                                    OPTIONAL,
        o-CSI                                                   [1]    O-CSI                                                              OPTIONAL,
        ...}

 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

core file decoder needed

All, Remotely logged in to the UNIX server (HP B1000 Visual Server) (Version HP-UX 10.20) by using the program Xapplauncher. This is a application runs under Exceed. (Exceed "version 6.1" is a Windows application to communicate with UNIX servers) With no pre warnings the application was... (2 Replies)
Discussion started by: pbekker
2 Replies

2. Programming

ASN.1 Decoder UNIX Code

Kindly help i need to write a code for Decode/Compile the ASN.1 which is found in javascript or C language if any got a final working Code:D (16 Replies)
Discussion started by: teefa
16 Replies

3. Solaris

ASN Binary to ASCII

Dears, I need help to convert the binary file into ASCII format. Actually we have CDRs which is generated by telecom switch at this is in ASN1 format or binary format, I need to convert those binary formatted file into ASCII format using Perl, or shell scripting. Is there any way to solve... (3 Replies)
Discussion started by: PRINCESS_RORO
3 Replies

4. UNIX for Advanced & Expert Users

Python Programming for ASN.1 file

Hi. Has anyone here got an experience doing conversion from asn1 format to a readable format so that it can be processed by Oracle? I want to load the data into a table. This is a CDR file. Attached is the pairing file. Please remove the .txt at the end. Someone said that it is possible... (1 Reply)
Discussion started by: aimy
1 Replies
TFBS::Word::Consensus(3pm)				User Contributed Perl Documentation				TFBS::Word::Consensus(3pm)

NAME
TFBS::Word - IUPAC DNA consensus word-based pattern class =head1 DESCRIPTION TFBS::Word is a base class consisting of universal constructor called by its subclasses (TFBS::Matrix::*), and word pattern manipulation methods that are independent of the word type. It is not meant to be instantiated itself. FEEDBACK
Please send bug reports and other comments to the author. AUTHOR - Boris Lenhard Boris Lenhard <Boris.Lenhard@cgb.ki.se> APPENDIX
The rest of the documentation details each of the object methods. Internal methods are preceded with an underscore. new Title : new Usage : my $pwm = TFBS::Matrix::PWM->new(%args) Function: constructor for the TFBS::Matrix::PWM object Returns : a new TFBS::Matrix::PWM object Args : # you must specify the -word argument: -word, # a strig consisting of letters in # IUPAC degenerate DNA alphabet # (any of ACGTSWKMPYBDHVN) ####### -name, # string, OPTIONAL -ID, # string, OPTIONAL -class, # string, OPTIONAL -tags # a hash reference reference, OPTIONAL search_seq Title : search_seq Usage : my $siteset = $pwm->search_seq(%args) Function: scans a nucleotide sequence with the pattern represented by the PWM Returns : a TFBS::SiteSet object Args : # you must specify either one of the following three: -file, # the name od a fasta file (single sequence) #or -seqobj # a Bio::Seq object # (more accurately, a Bio::PrimarySeqobject or a # subclass thereof) #or -seqstring # a string containing the sequence -max_mismatches, # number of allowed positions in the site that do # not match the consensus # OPTIONAL: default 0 search_aln Title : search_aln Usage : my $site_pair_set = $pwm->search_aln(%args) Function: Scans a pairwise alignment of nucleotide sequences with the pattern represented by the word: it reports only those hits that are present in equivalent positions of both sequences and exceed a specified threshold score in both, AND are found in regions of the alignment above the specified conservation cutoff value. Returns : a TFBS::SitePairSet object Args : # you must specify either one of the following three: -file, # the name of the alignment file in Clustal format #or -alignobj # a Bio::SimpleAlign object # (more accurately, a Bio::PrimarySeqobject or a # subclass thereof) #or -alignstring # a multi-line string containing the alignment # in clustal format ############# -max_mismatches, # number of allowed positions in the site that do # not match the consensus # OPTIONAL: default 0 -window, # size of the sliding window (inn nucleotides) # for calculating local conservation in the # alignment # OPTIONAL: default 50 -cutoff # conservation cutoff (%) for including the # region in the results of the pattern search # OPTIONAL: default "70%" to_PWM validate_word length perl v5.14.2 2008-01-24 TFBS::Word::Consensus(3pm)
All times are GMT -4. The time now is 10:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy