<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — PKCS7 to X509 conversion.]]></title>
		<link>https://www.wolfssl.com/forums/topic1665-pkcs7-to-x509-conversion.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1665.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in PKCS7 to X509 conversion..]]></description>
		<lastBuildDate>Wed, 13 Jan 2021 17:32:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: PKCS7 to X509 conversion.]]></title>
			<link>https://www.wolfssl.com/forums/post5721.html#p5721</link>
			<description><![CDATA[<p>Hi,</p><p>Yes, wolfCrypt PKCS#7 API can be used to decode a p7b certificate and extract out an X.509 certificate.</p><p>You will want to use wc_PKCS7_Init() to initialize a PKCS7 structure, then use wc_PKCS7_VerifySignedData() to decode the p7b certificate.&nbsp; wc_PKCS7_VerifySignedData() will place decoded X.509 DER-encoded certificates into the pkcs7-&gt;cert array, with the size of each stored in the pkcs7-&gt;certSz array.</p><p>The following GitHub Issue has more details on API usage:</p><p><a href="https://github.com/wolfSSL/wolfssl/issues/3638">https://github.com/wolfSSL/wolfssl/issues/3638</a></p><p>Can you share more details about the project you are looking to use wolfCrypt in?</p><p>Thanks,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Wed, 13 Jan 2021 17:32:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5721.html#p5721</guid>
		</item>
		<item>
			<title><![CDATA[PKCS7 to X509 conversion.]]></title>
			<link>https://www.wolfssl.com/forums/post5713.html#p5713</link>
			<description><![CDATA[<p>Hi, <br />Is there any wolfssl API calls or procedures for converting parsed PKCS7 certificate to X.509 certificate.</p>]]></description>
			<author><![CDATA[null@example.com (lijin.tv)]]></author>
			<pubDate>Wed, 13 Jan 2021 03:19:32 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5713.html#p5713</guid>
		</item>
	</channel>
</rss>
