<?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 — ASN1 Encoding and Decoding with wolfssl]]></title>
		<link>https://www.wolfssl.com/forums/topic1851-asn1-encoding-and-decoding-with-wolfssl.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1851.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in ASN1 Encoding and Decoding with wolfssl.]]></description>
		<lastBuildDate>Wed, 16 Mar 2022 13:47:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: ASN1 Encoding and Decoding with wolfssl]]></title>
			<link>https://www.wolfssl.com/forums/post6510.html#p6510</link>
			<description><![CDATA[<p>Hello Lars,</p><p>That is an interesting use case. The library actually has a new ASN parser that can be enabled using <br /></p><div class="codebox"><pre><code>./configure --enable-asn=template</code></pre></div><p>There are other options that can be enabled with the defines documented <br /> in <a href="https://github.com/wolfSSL/wolfssl/blob/master/wolfcrypt/src/asn.c">https://github.com/wolfSSL/wolfssl/blob … /src/asn.c</a></p><div class="codebox"><pre><code> * WOLFSSL_ASN_TEMPLATE: Encoding and decoding using a template.
 * WOLFSSL_DEBUG_ASN_TEMPLATE: Enables debugging output when using ASN.1
    templates.
 * WOLFSSL_ASN_TEMPLATE_TYPE_CHECK: Use ASN functions to better test compiler
    type issues for testing
 * CRLDP_VALIDATE_DATA: For ASN template only, validates the reason data</code></pre></div><p>Mostly the ASN1 handling in the library is in the context of certificate handling, but maybe you&#039;ll find this extension callback example useful:<br /><a href="https://github.com/wolfSSL/wolfssl-examples/blob/master/certgen/custom_ext_callback.c">https://github.com/wolfSSL/wolfssl-exam … callback.c</a></p><p>Let us know if there are questions.</p><p>Thanks,<br />Eric @ wolfSSL Support</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Wed, 16 Mar 2022 13:47:32 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6510.html#p6510</guid>
		</item>
		<item>
			<title><![CDATA[ASN1 Encoding and Decoding with wolfssl]]></title>
			<link>https://www.wolfssl.com/forums/post6509.html#p6509</link>
			<description><![CDATA[<p>Hello,</p><p>I am developing a communication interface which transmits asn1 encoded messages. For some other things i already use the wolfSSL and now im wondering if the wolfSSL supports asn1 encoding and decoding. So that it would be possible to encode a given asn1 structure in a bit stream and then deocde it again?</p><p>Thanks for the help!</p>]]></description>
			<author><![CDATA[null@example.com (Lars_3097)]]></author>
			<pubDate>Wed, 16 Mar 2022 13:20:09 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6509.html#p6509</guid>
		</item>
	</channel>
</rss>
