<?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 — Export public key to ecc_key structure]]></title>
		<link>https://www.wolfssl.com/forums/topic1043-export-public-key-to-ecckey-structure.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1043.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Export public key to ecc_key structure.]]></description>
		<lastBuildDate>Thu, 18 Oct 2018 23:01:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Export public key to ecc_key structure]]></title>
			<link>https://www.wolfssl.com/forums/post4247.html#p4247</link>
			<description><![CDATA[<p>Hi kporenta,</p><p>In order to determine if this is the issue that you are truly experiencing, could you please share a test application that we are able to compile so we can reproduce the issue for testing purposes? Additionally, would you be able to share the openssl command you are using?</p><p>Thank you!</p>]]></description>
			<author><![CDATA[null@example.com (alex.abrahamson)]]></author>
			<pubDate>Thu, 18 Oct 2018 23:01:59 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4247.html#p4247</guid>
		</item>
		<item>
			<title><![CDATA[Re: Export public key to ecc_key structure]]></title>
			<link>https://www.wolfssl.com/forums/post4246.html#p4246</link>
			<description><![CDATA[<p>Hi Mr. WolfSSL,</p><p>I&#039;m experiencing same issue using wolfSSL version 3.15.3.</p><p>Has been this issue already fix or not?</p><p>Thank you for help, Klemen</p>]]></description>
			<author><![CDATA[null@example.com (kporenta)]]></author>
			<pubDate>Wed, 17 Oct 2018 14:36:39 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4246.html#p4246</guid>
		</item>
		<item>
			<title><![CDATA[Re: Export public key to ecc_key structure]]></title>
			<link>https://www.wolfssl.com/forums/post3396.html#p3396</link>
			<description><![CDATA[<p>Hi huba,</p><p>Thank you for bringing me up to date on what wolfSSL version you are developing with.</p><p>Our records show that 2N purchased a Commercial License from wolfSSL July 31, 2011 and maintained Technical Support and Maintenance until the expiry of July 31 2012.</p><p>If you are using version 3.11.0 in your development for the&nbsp; wolfSSL Commercial Licensed Application then 2N will need to enter into an active Support/Maintenance agreement to be able to deploy newer releases of wolfSSL and to receive formal Technical Support.</p><p>It is my understanding that our Business Director, Rod Weaver has reached out to the 2N team on multiple occasions but has not received a formal response on this topic.</p><p>Are you the new key contact at 2N?</p><br /><p>Best Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Thu, 20 Jul 2017 18:39:27 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3396.html#p3396</guid>
		</item>
		<item>
			<title><![CDATA[Re: Export public key to ecc_key structure]]></title>
			<link>https://www.wolfssl.com/forums/post3390.html#p3390</link>
			<description><![CDATA[<p>Hi Kaleb,</p><p>we upgraded WolfSSL from 3.6.8 to 3.11.0 few weeks ago.</p>]]></description>
			<author><![CDATA[null@example.com (huba)]]></author>
			<pubDate>Wed, 19 Jul 2017 07:07:44 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3390.html#p3390</guid>
		</item>
		<item>
			<title><![CDATA[Re: Export public key to ecc_key structure]]></title>
			<link>https://www.wolfssl.com/forums/post3385.html#p3385</link>
			<description><![CDATA[<p>Hi huba,</p><p>Thank you for providing those details. Could you tell me which version of wolfSSL you are working with?</p><p>Also if possible could you share a brief overview of the project you are working on for qualifying purposes. </p><br /><p>Thanks,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Tue, 18 Jul 2017 18:48:46 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3385.html#p3385</guid>
		</item>
		<item>
			<title><![CDATA[Re: Export public key to ecc_key structure]]></title>
			<link>https://www.wolfssl.com/forums/post3382.html#p3382</link>
			<description><![CDATA[<p>Hi Kaleb,</p><p>in attachement is part of script which generates ecc certificates [encrypted].<br />This script generates CA pk/cert, client private key, client signing request and sign signing request with CA.</p><p>1) Extract the archive to /tmp folder and run ./ecc.sh.<br />2) Fill password for CA, except FQN parameter you can enter default values (have to be unique), ..., and agree sign.<br />3) In /tmp folder you can find certificates in DER format.</p>]]></description>
			<author><![CDATA[null@example.com (huba)]]></author>
			<pubDate>Tue, 18 Jul 2017 06:37:25 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3382.html#p3382</guid>
		</item>
		<item>
			<title><![CDATA[Re: Export public key to ecc_key structure]]></title>
			<link>https://www.wolfssl.com/forums/post3379.html#p3379</link>
			<description><![CDATA[<p>Hi huba,</p><p>Could you include the openssl command used to generate the certificate so we can re-create a test-case on our end for confirmation?</p><br /><p>Warm Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Mon, 17 Jul 2017 16:35:18 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3379.html#p3379</guid>
		</item>
		<item>
			<title><![CDATA[Export public key to ecc_key structure]]></title>
			<link>https://www.wolfssl.com/forums/post3376.html#p3376</link>
			<description><![CDATA[<p>I have generated ECC key pair signed by CA with openssl tool in DER format.<br />I tried load public key to ecc_key structure but wc_EccPublicKeyDecode() returns ASN_OBJECT_ID_E.</p><p>Here is part of code:<br /></p><div class="codebox"><pre><code>// cert_der_ptr = 3082029C 30820243 A003020102 ...

int idx;
ecc_key pubk;

wc_ecc_init( &amp;pubk );

idx = 0;
ret = wc_EccPublicKeyDecode( cert_der_ptr, &amp;idx, &amp;pubk, cert_der_size );
// here: ret == ASN_OBJECT_ID_E

// wc_EccPublicKeyDecode() expects two sequences and ObjectId but ObjectId is not on that possition:
// { GetSequence, GetSequence, SkipObjectId -&gt; GetASNObjectId { b = 0xA0, b != ASN_OBJECT_ID -&gt; return ASN_OBJECT_ID; } }</code></pre></div><p>Here you can find decoded ASN.1 DER certificate:</p><p><a href="https://lapo.it/asn1js/#3082029C30820243A003020102020102300A06082A8648CE3D04030430819C310B3009060355040613024352311730150603550408130E437A6563682052657075626C6963310F300D060355040713065072616775653121301F060355040A1318324E2074656C65636F6D756E69636174696F6E20612E732E310C300A060355040B1403522644311430120603550403130B6563632E6D79326E2E637A311C301A06092A864886F70D010901160D737570706F727440326E2E637A301E170D3137303631343130303733315A170D3138303631343130303733315A3081A3310B3009060355040613024352311730150603550408130E437A6563682052657075626C6963310F300D060355040713065072616775653121301F060355040A1318324E2074656C65636F6D756E69636174696F6E20612E732E310C300A060355040B1403522644311B301906035504031312636C69656E742E6563632E6D79326E2E637A311C301A06092A864886F70D010901160D737570706F727440326E2E637A3059301306072A8648CE3D020106082A8648CE3D03010703420004EDC9FEEDB03407D9309D06E5F345E6AA892956E925ABB849D33A8AC32720E5D1E2BB83474CD0F468292B2104D4F90133983AE7DAA72EBAE061305049E4397B9AA36D306B30090603551D1304023000301106096086480186F8420101040403020780300B0603551D0F0404030205A030130603551D25040C300A06082B06010505070302302906096086480186F842010D041C161A4F70656E53534C20436C69656E74204365727469666963617465300A06082A8648CE3D04030403470030440220480B33E72762718C91DBE0BE53DF619ED79A2318CBCD42671C2CC5FBA6F0F3D90220304F9EBAC3FF6A43A6B433DA38E583B7CE85B06BAA7848134EBE2390D63DBED7">https://lapo.it/asn1js/#3082029C3082024 … 90D63DBED7</a></p><p>Is it bug, unsupported DER format or something other wrong?</p>]]></description>
			<author><![CDATA[null@example.com (huba)]]></author>
			<pubDate>Mon, 17 Jul 2017 12:06:17 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post3376.html#p3376</guid>
		</item>
	</channel>
</rss>
