<?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 — OpenSSL compatibility]]></title>
		<link>https://www.wolfssl.com/forums/topic443-openssl-compatibility.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic443.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in OpenSSL compatibility.]]></description>
		<lastBuildDate>Wed, 30 Oct 2013 08:17:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: OpenSSL compatibility]]></title>
			<link>https://www.wolfssl.com/forums/post1419.html#p1419</link>
			<description><![CDATA[<p>Thanks Chrisc for the detailed response. Let me re-check how can i proceed to integrate wolfSSL embedded SSL in my application instead of OpenSSL.</p>]]></description>
			<author><![CDATA[null@example.com (mrnikhilagrawal)]]></author>
			<pubDate>Wed, 30 Oct 2013 08:17:52 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1419.html#p1419</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenSSL compatibility]]></title>
			<link>https://www.wolfssl.com/forums/post1417.html#p1417</link>
			<description><![CDATA[<p>Hi,</p><p>wolfSSL&#039;s OpenSSL compatibility layer was designed to make porting into existing OpenSSL applications easier, but is far from complete.&nbsp; It maps roughly the most-used 300 OpenSSL functions to the native wolfSSL API, where OpenSSL has over 4,000 in total.</p><p>It sounds like the functions you have listed are related to certificate generation.&nbsp; For an example of how wolfSSL does certificate generation, see ./ctaocrypt/test/test.c, specifically the code inside of the #ifdef WOLFSSL_CERT_GEN define of rsa_test().</p><div class="quotebox"><blockquote><p>a. SSL_get_privatekey</p></blockquote></div><p>wolfSSL doesn&#039;t currently support this function.&nbsp; For certificate generation, wolfSSL uses an RsaKey structure, which contains a RSA private key.&nbsp; A private key buffer (in DER format) can be loaded into an RsaKey structure using the RsaPrivateKeyDecode() function.</p><div class="quotebox"><blockquote><p>b. X509_set_version</p></blockquote></div><p>In OpenSSL, this function lets the application set the X.509 certificate version to use.&nbsp; wolfSSL embedded SSL only supports X.509 V3 certificate generation.&nbsp; As such, this function is not needed with wolfSSL.</p><div class="quotebox"><blockquote><p>c. X509_set_serialNumber</p></blockquote></div><p>When doing certificate generation with wolfSSL, the serial number can be set directly by the user when filling in the &quot;Cert&quot; structure.</p><div class="quotebox"><blockquote><p>d. X509_NAME_add_entry_by_txt</p></blockquote></div><p>Like the previous function, certificate fields can be set directly by the user when filling in the &quot;Cert&quot; structure.</p><div class="quotebox"><blockquote><p>e. X509_sign</p></blockquote></div><p>wolfSSL&#039;s equivalent to X509_sign() would be the SignCert() function, with usage shown in rsa_test() of test.c.</p><p>Best Regards,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Mon, 28 Oct 2013 19:20:03 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1417.html#p1417</guid>
		</item>
		<item>
			<title><![CDATA[OpenSSL compatibility]]></title>
			<link>https://www.wolfssl.com/forums/post1410.html#p1410</link>
			<description><![CDATA[<p>I have my SSL Accelerator project working with OpenSSL. I am trying to replace OpenSSL by wolfSSL for POC purpose. I am facing problem which replacing OpenSSL API for which I don&#039;t find any respective API in wolfSSL. Following are few API example which I am not able to replace<br />a. SSL_get_privatekey<br />b. X509_set_version<br />c. X509_set_serialNumber<br />d. X509_NAME_add_entry_by_txt<br />e. X509_sign<br />and similarly many more</p><p>though i have successfully replaced wolfSSL_CTX_new, wolfSSLv23_server_method, wolfSSL_CTX_use_PrivateKey_file, wolfSSL_BIO etc.</p><p>Please suggest how to proceed for completely replacing OpenSSL API</p>]]></description>
			<author><![CDATA[null@example.com (mrnikhilagrawal)]]></author>
			<pubDate>Fri, 25 Oct 2013 06:59:48 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1410.html#p1410</guid>
		</item>
	</channel>
</rss>
