发送和使用C / C验证SSL证书++ [英] Sending and Verifying SSL certificate using c/c++
本文介绍了发送和使用C / C验证SSL证书++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
其实我工作的一个协议的安全性。我需要发送证书,并验证它的另一面。
I am actually working on a protocol security. I need to send the certificate and verify it on the other side.
现在这里是我有计划:结果
1发送证书链,就像数据结果的正常流
2.Capture它的另一边,并将其存储在一个char []缓冲区结果
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?
我需要它在C / C ++。
I need it in c/c++.
推荐答案
本博客文章的使用验证使用OpenSSL 证书存储区显示了如何验证证书的CA反对
This blog post about Verifying Using a Certificate Store using OpenSSL shows how to verify certificate against CA.
这篇关于发送和使用C / C验证SSL证书++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文