|
|
Re: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
Favoured: 0
|
|
|
TOPIC: Re:ASN1 Library in the Repository
|
|
|
|
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
|
|
|
|
|
|
|
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
|
|
|
The administrator has disabled public write access.
|
|
|
|
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 ?
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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?
|
|
|
|
|
|
|
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
|
|
|
The administrator has disabled public write access.
|
|
|
|
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.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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<myMessage> Message;
stringstream ostrm;
asn_encode<ber_taglen> 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?
|
|
|
|
|
|
|
Andreas Haberstroh
Ethernet (n) Device used to catch the Etherbunny
|
|
|
The administrator has disabled public write access.
|
|
|
|
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.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
|