School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,154 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,960 people online right now. Registration is fast and FREE... Join Now!



ASN1 Library for C++

ASN1 Library for C++ Rate Topic: -----

#1 HoSpiTaL_gHoSt  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 1
  • Joined: 20-April 09


Dream Kudos: 0

Posted 20 April 2009 - 04:56 AM

Hello everyone,

I'm looking for an ASN1 library in C++. I've already found libtasn1 from http://www.t2-projec...s/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):

			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
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

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

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month