本文介绍了发送和使用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证书++
发布评论