User Profile
Collapse
-
Parse x509 certificate without openssl in C/C++
I'm writing a C++ library that needs to parse x509 certificate. I don't want this library to depend on a heavy library like OpenSSL. Do you know a C/C++ lightweight library that can parse x509 certificates without using OpenSSL or any of its wrappers? If it can also edit/create x509 certificates it'd be even greater. I also need this library to be cross-platform, mainly Windows, Linux and Mac OS -
You didn't mention what programming language you're using. But if C++ fits you, you can use PcapPlusPlus - it has both pcap reading and packet printing (quite similar to Wireshark) features. See the following code example:
...Code:// open the pcap file PcapFileReaderDevice pcapReader("/your/pcap/file/path.pcap"); pcapReader.open(); RawPacket rawPacket; // go over all packet in file while (pcapReader.getNextPacket(rawPacket)) -
-
You can use PcapPlusPlus. It has exactly the capabilities you need and it's multi-platform (you didn't mention which platform you need it to work on)Leave a comment:
No activity results to display
Show More
Leave a comment: