User Profile

Collapse

Profile Sidebar

Collapse
seladb
seladb
Last Activity: Mar 23 '16, 07:00 AM
Joined: Jan 25 '16
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • seladb
    started a topic Parse x509 certificate without openssl in C/C++
    in C

    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
    See more | Go to post

  • 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))
    ...
    See more | Go to post

    Leave a comment:


  • seladb
    replied to packet generation
    in C
    You might consider using PcapPlusPlus for packet generation and manipulation
    See more | Go to post

    Leave a comment:


  • seladb
    replied to is there packet generator in c/c++ ?
    in C
    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)
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...