Home arrow Forums
Friday, 05 December 2008  
Latest Forums
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
ASN1 Library in the Repository (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: ASN1 Library in the Repository
#5
softwareace (Admin)
Admin
Posts: 15
graph
User Offline Click here to see the profile of this user
Birthdate:
ASN1 Library in the Repository 9 Months ago Karma: 0  
The first release of Boost.ASN1 is available in the Download remository.

The library IS free, however, you must be registered to download.<br><br>Post edited by: softwareace, at: 2008/03/10 18:35
 
Report to moderator   Logged Logged  
 
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
  The administrator has disabled public write access.
#6
vasconce1o (User)
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Birthdate:
Re:ASN1 Library in the Repository 8 Months ago Karma: 0  
Hi,I am new working with asn1, so when I saw this library to c + +, and I still fascinated, I want to start working with her. From there one of the things that concerns me is how to specify a size of a type asn1, for example what kind of asn1 i most to choose to encode a c++ char of size n ?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7
softwareace (Admin)
Admin
Posts: 15
graph
User Offline Click here to see the profile of this user
Birthdate:
Re:ASN1 Library in the Repository 8 Months ago Karma: 0  
I'm sorry, I don't quite understand your question. What exactly are you trying to do?
Can you spell it out in c++ or ASN1 notation?
 
Report to moderator   Logged Logged  
 
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
  The administrator has disabled public write access.
#8
vasconce1o (User)
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Birthdate:
Re:ASN1 Library in the Repository 8 Months ago Karma: 0  
I want to encode a unsigned char a[n] to optimize the use of memory.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#9
softwareace (Admin)
Admin
Posts: 15
graph
User Offline Click here to see the profile of this user
Birthdate:
Re:ASN1 Library in the Repository 8 Months ago Karma: 0  
And you want to transmit that encoded string somewhere?

-----

struct myMessage
{
octectstring_t theString;
};
sequence&lt;myMessage&gt; Message;

stringstream ostrm;
asn_encode&lt;ber_taglen&gt; encoder(ostrm);
encoder.execute(Message);

-----

Now, you can do something with ostrm. It is an ASN1 encoded byte string that you can transmit to another computer.

Is this what you are trying to do?
 
Report to moderator   Logged Logged  
 
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
  The administrator has disabled public write access.
#10
vasconce1o (User)
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Birthdate:
Re:ASN1 Library in the Repository 7 Months, 4 Weeks ago Karma: 0  
First, Thank you so much for your help.

And yes, I am doing something like that, but I also want to save and see the BER, because when I change the stringstream by a fstream and then I saved it what I saw is a text and not the BER.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Top