|
|
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
Favoured: 0
|
|
|
TOPIC: encode contex-specific data?
|
|
|
|
encode contex-specific data? 6 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.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:encode contex-specific data? 6 Months, 2 Weeks ago
|
Karma: 0
|
|
What kind of data are you trying to encode?
Can you give me an example?
|
|
|
|
|
|
|
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:encode contex-specific data? 6 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
}
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:encode contex-specific data? 6 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.
|
|
|
|
|
|
|
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:encode contex-specific data? 6 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 }
}
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:encode contex-specific data? 6 Months, 2 Weeks ago
|
Karma: 0
|
|
okay, give me a bit and I'll give you an example of how to do this.
|
|
|
|
|
|
|
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
|