I am actually working on a protocol security. I need to send the certificate and verify it on the other side.
Now here is what I have planned:
1 Send the certificate chain just like a normal stream of data
2.Capture it on the other side and store it in a char[] buffer
Now, how to verify the certificate from this char[]buffer and extract the needed parameters?
I need it in c/c++.