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