Home arrow Forums
Tuesday, 06 January 2009  
Latest Forums
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Re:encode contex-specific data? (0 viewing) 
Warning: Invalid argument supplied for foreach() in /home/ibusy.com/public_html/components/com_fireboard/template/default/fb_pathway.php on line 140
Go to bottom Post Reply Favoured: 0
TOPIC: Re:encode contex-specific data?
#22
vasconce1o (User)
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Birthdate:
encode contex-specific data? 7 Months, 2 Weeks ago Karma: 0  
Hi, i am trying to encode a context-specific data, but i dont know how do that, I try with context_cons_t, but I cant do it work.
What shuld I do?

thanks in advance.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#23
softwareace (Admin)
Admin
Posts: 15
graph
User Offline Click here to see the profile of this user
Birthdate:
Re:encode contex-specific data? 7 Months, 2 Weeks ago Karma: 0  
What kind of data are you trying to encode?

Can you give me an example?
 
Report to moderator   Logged Logged  
 
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
  The administrator has disabled public write access.
#24
vasconce1o (User)
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Birthdate:
Re:encode contex-specific data? 7 Months, 2 Weeks ago Karma: 0  
I want to encode this:

Notification ::= SEQUENCE
{
domainID [0] OBJECT IDENTIFIER (hi1OperationID) OPTIONAL,

lawfulInterceptionIdentifier [1] lawfulInterceptionIdentifier,

communicationIdentifier [2] CommunicationIdentifier OPTIONAL,

timeStamp [3] TimeStamp,

national-HI1-ASN1parameters [5] National-HI1-ASN1parameters OPTIO
}
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#25
softwareace (Admin)
Admin
Posts: 15
graph
User Offline Click here to see the profile of this user
Birthdate:
Re:encode contex-specific data? 7 Months, 2 Weeks ago Karma: 0  
If you read the docs, particularly the page:

libs/asn1/doc/html/asn1/todo.html

You will notice that the OPTIONAL keyword is not yet supported.
 
Report to moderator   Logged Logged  
 
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
  The administrator has disabled public write access.
#26
vasconce1o (User)
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Birthdate:
Re:encode contex-specific data? 7 Months, 2 Weeks ago Karma: 0  
Yes, I knew that the library dont support the OPTIONAL concept, but I want to encode an specific context data, so that I can ecpecifier the the tag and class, for example:

A-possible-type ::= SET {
integer [0] CHOICE {
a [0] INTEGER,
b [1] INTEGER },
boolean [1] CHOICE {
a [0] BOOLEAN,
b [1] BOOLEAN }
}
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#27
softwareace (Admin)
Admin
Posts: 15
graph
User Offline Click here to see the profile of this user
Birthdate:
Re:encode contex-specific data? 7 Months, 2 Weeks ago Karma: 0  
okay, give me a bit and I'll give you an example of how to do this.
 
Report to moderator   Logged Logged  
 
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Top