p>

<h2 id="UI_METHOD-and-pass-phrases">UI_METHOD and pass phrases</h2>

<p>The <b>OSS_STORE</b> API does nothing to enforce any specific format or encoding on the pass phrase that the <b>UI_METHOD</b> provides. However, the pass phrase is expected to be UTF-8 encoded. The result of any other encoding is undefined.</p>

<h1 id="EXAMPLES">EXAMPLES</h1>

<h2 id="A-generic-call">A generic call</h2>

<pre><code>#include &lt;openssl/ui.h&gt; /* for UI_get_default_method */
#include &lt;openssl/store.h&gt;

OSSL_