C++ School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a C++ Expert!

Join 306,822 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,759 people online right now. Registration is fast and FREE... Join Now!




ASN1 Library for C++

 

ASN1 Library for C++

HoSpiTaL_gHoSt

20 Apr, 2009 - 04:56 AM
Post #1

New D.I.C Head
*

Joined: 20 Apr, 2009
Posts: 1

Hello everyone,

I'm looking for an ASN1 library in C++. I've already found libtasn1 from http://www.t2-project.org/packages/libtasn1.html, but I'm not sure if it has the functionality I need.

I've already written a program in Java that uses the ASN1 functions from Bouncy Castle ( http://www.bouncycastle.org/java.html ) and it's that kind of functionality I need in C++.

So I need to be able to do things like this (this code is in Java and uses Bouncy Castle):

CODE

            v = new ASN1EncodableVector();
            v.add(new DERObjectIdentifier(encryptionAlgorithm));
            v.add(new DERNull());
            signerinfo.add(new DERSequence(v));

            signerinfo.add(new DEROctetString(calcDigest));

            DERConstructedSet digestAlgorithms = new DERConstructedSet();
            digestAlgorithms.addObject(new DERSequence(algos));


Does anybody know a library for C++ with these kinds of functionalities?

Thanks in advance!
Stephanie

User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic

Time is now: 11/20/09 10:29PM

Live C++ Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month