ot;www.example.com&quot; would match a certificate with a SAN or CN value of &quot;*.example.com&quot;, &quot;w*.example.com&quot; or &quot;*w.example.com&quot;.</p>

<p>Per section 6.4.2 of RFC 6125, <b>name</b> values representing international domain names must be given in A-label form. The <b>namelen</b> argument must be the number of characters in the name string or zero in which case the length is calculated with strlen(<b>name</b>). When <b>name</b> starts with a dot (e.g. &quot;.example.com&quot;), 