<?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 — command wc_SetCustomExtension]]></title>
		<link>https://www.wolfssl.com/forums/topic1909-command-wcsetcustomextension.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1909.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in command wc_SetCustomExtension.]]></description>
		<lastBuildDate>Tue, 06 Sep 2022 13:53:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: command wc_SetCustomExtension]]></title>
			<link>https://www.wolfssl.com/forums/post6735.html#p6735</link>
			<description><![CDATA[<p>Yes, i&#039;m using this flags.</p>]]></description>
			<author><![CDATA[null@example.com (luizg473)]]></author>
			<pubDate>Tue, 06 Sep 2022 13:53:26 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6735.html#p6735</guid>
		</item>
		<item>
			<title><![CDATA[Re: command wc_SetCustomExtension]]></title>
			<link>https://www.wolfssl.com/forums/post6731.html#p6731</link>
			<description><![CDATA[<p>Please confirm which build options you are using and that you&#039;re on our latest release (5.5.0) or master.</p><p>Try adding the options from this configure line and let me know if it helps: ./configure --enable-certgen --enable-asn=template CFLAGS=&quot;-DWOLFSSL_CUSTOM_OID -DHAVE_OID_ENCODING&quot;</p>]]></description>
			<author><![CDATA[null@example.com (kareem_wolfssl)]]></author>
			<pubDate>Fri, 02 Sep 2022 22:20:01 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6731.html#p6731</guid>
		</item>
		<item>
			<title><![CDATA[command wc_SetCustomExtension]]></title>
			<link>https://www.wolfssl.com/forums/post6730.html#p6730</link>
			<description><![CDATA[<p>I&#039;m working with creating certificates and using the wc_SetCustomExtension function to assign the values of certificate restrictions (keyUsageExtended, keyUsage) when I need to decode the generated certificate wolfssl can&#039;t get the settings that were assigned.</p><p>We are using wc_SetCustomExtension because we were able to assign some constraints as critical.</p><p>we use this command in a root certificate</p><p>int ret;<br />ret = wc_SetCustomExtension(&amp;newCert, 1 , &quot;2.5.29.37&quot;,&quot;2.23.145.1.1&quot;, 12);</p><p>out: <br />....<br />X509v3 Extended Key Usage: critical<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2.23.145.1.1<br />....</p><p>We were able to generate the certificate with wc_SetCustomExtension but we couldn&#039;t decode it from .der</p>]]></description>
			<author><![CDATA[null@example.com (luizg473)]]></author>
			<pubDate>Fri, 02 Sep 2022 22:07:19 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6730.html#p6730</guid>
		</item>
	</channel>
</rss>
