<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://esecutech.com/wiki/index.php?action=history&amp;feed=atom&amp;title=UniToken_API_Reference</id>
	<title>UniToken API Reference - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://esecutech.com/wiki/index.php?action=history&amp;feed=atom&amp;title=UniToken_API_Reference"/>
	<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;action=history"/>
	<updated>2026-10-24T10:47:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1060&amp;oldid=prev</id>
		<title>Bao at 05:35, 23 August 2016</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1060&amp;oldid=prev"/>
		<updated>2016-08-23T05:35:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;amp;diff=1060&amp;amp;oldid=1059&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Bao</name></author>
	</entry>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1059&amp;oldid=prev</id>
		<title>Bao at 05:33, 23 August 2016</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1059&amp;oldid=prev"/>
		<updated>2016-08-23T05:33:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;amp;diff=1059&amp;amp;oldid=1058&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Bao</name></author>
	</entry>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1058&amp;oldid=prev</id>
		<title>Bao: Major rework of tables, everything</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1058&amp;oldid=prev"/>
		<updated>2016-08-23T05:30:49Z</updated>

		<summary type="html">&lt;p&gt;Major rework of tables, everything&lt;/p&gt;
&lt;a href=&quot;https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;amp;diff=1058&amp;amp;oldid=1057&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Bao</name></author>
	</entry>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1057&amp;oldid=prev</id>
		<title>Joseph at 06:21, 31 July 2012</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1057&amp;oldid=prev"/>
		<updated>2012-07-31T06:21:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:21, 31 July 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;UniToken_APIs&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;UniToken_API&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Joseph</name></author>
	</entry>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1056&amp;oldid=prev</id>
		<title>Joseph at 01:48, 21 May 2012</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1056&amp;oldid=prev"/>
		<updated>2012-05-21T01:48:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:48, 21 May 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[category:UniToken_APIs]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Joseph</name></author>
	</entry>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1055&amp;oldid=prev</id>
		<title>Joseph at 01:17, 1 May 2012</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1055&amp;oldid=prev"/>
		<updated>2012-05-01T01:17:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:17, 1 May 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;UT_RV UT_API UT_Initialize()  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;UT_RV UT_API UT_Initialize()  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;To initialize the UniToken. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It &lt;/del&gt;should be called before &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;all &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;other functions except &lt;/del&gt;UT_GetLibraryVersion.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;To initialize the UniToken. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This &lt;/ins&gt;should be called before &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;any other function, with &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;exception &lt;/ins&gt;UT_GetLibraryVersion.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Parameters&amp;lt;/b&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Parameters&amp;lt;/b&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;n/a  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;n/a  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l87&quot;&gt;Line 87:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 87:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;UT_RV UT_API UT_GetTokenList(UT_SLOT_ID* lpSlotID, unsigned long* lpTokenCount)  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;UT_RV UT_API UT_GetTokenList(UT_SLOT_ID* lpSlotID, unsigned long* lpTokenCount)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;To get the list of Slot ID and the number of Slot ID.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;To get the list of Slot ID and the number of Slot ID.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Parameters&amp;lt;/b&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Parameters&amp;lt;/b&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l132&quot;&gt;Line 132:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 132:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_OpenDevice  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_OpenDevice  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;UT_RV UT_API UT_OpenDevice( &amp;lt;br /&amp;gt;UT_SLOT_ID SlotID, &amp;lt;br /&amp;gt; UT_HANDLE* lputHandle &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;To open the device in the specified slot.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;SlotID [in] the specified slot &amp;lt;br /&amp;gt;lputHandle [out] device handle &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_SLOT_ID_INVALUD Invalid slot ID &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;SlotID should be retrieved from UT_GetTokenList instead manually entered. &amp;lt;br /&amp;gt;Therefore, this function cannot be called before UT_GetTokenList. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;UT_RV UT_API UT_OpenDevice( &amp;lt;br /&amp;gt;UT_SLOT_ID SlotID, &amp;lt;br /&amp;gt; UT_HANDLE* lputHandle &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;To open the device in the specified slot.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/p&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;table width=&quot;200&quot; cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;0&quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;tr&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;td&lt;/ins&gt;&amp;gt; PARAMETERS&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/td&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;td&amp;gt; &lt;/ins&gt;DESCRIPTION &amp;lt;br /&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;tr&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;td&lt;/ins&gt;&amp;gt; SlotID&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/td&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;td&amp;gt; &lt;/ins&gt;[in] the specified slot&amp;lt;br /&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;tr&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;td&lt;/ins&gt;&amp;gt; lputHandle&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/td&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;td&amp;gt; &lt;/ins&gt;[out] device handle&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;p&amp;gt;&amp;amp;#160;&lt;/ins&gt;&amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_SLOT_ID_INVALUD Invalid slot ID &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;SlotID should be retrieved from UT_GetTokenList instead manually entered. &amp;lt;br /&amp;gt;Therefore, this function cannot be called before UT_GetTokenList. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;See the sample of UT_GetTokenList.&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;See the sample of UT_GetTokenList.&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l441&quot;&gt;Line 441:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 460:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_FS_CloseFile  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_FS_CloseFile  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_FS_CloseFile( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; void* lpReserve &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To close a file.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in]device handle &amp;lt;br /&amp;gt;lpReserve reserved for further usage &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_FS_NO_OPEN No open file &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To call the function, it is required that the current permission be higher than or at &amp;lt;br /&amp;gt;the same level with the one of writing the file. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;ret = UT_FS_CloseFile(utHandle,NULL);&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_FS_CloseFile( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; void* lpReserve &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To close a file.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in]device handle &amp;lt;br /&amp;gt;lpReserve reserved for further usage &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_FS_NO_OPEN No open file &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To call the function, it is required that the current permission be higher than or at &amp;lt;br /&amp;gt;the same level with the one of writing the file. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;ret = UT_FS_CloseFile(utHandle,NULL);&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;a _fcknotitle=&quot;true&quot; href=&quot;Category:UniToken_APIs&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;UniToken_APIs&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;p&amp;gt;&amp;amp;lt;&lt;/ins&gt;a _fcknotitle=&quot;true&quot; href=&quot;Category:UniToken_APIs&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;gt;&lt;/ins&gt;UniToken_APIs&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;lt;/a&amp;amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;p&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Joseph</name></author>
	</entry>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1054&amp;oldid=prev</id>
		<title>Joseph at 01:13, 1 May 2012</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1054&amp;oldid=prev"/>
		<updated>2012-05-01T01:13:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:13, 1 May 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l308&quot;&gt;Line 308:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 308:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAPubKeyEncrypt  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAPubKeyEncrypt  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_RSAPubKeyEncrypt( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; KEY_HANDLE PubKeyHandle, &amp;lt;br /&amp;gt; unsigned char* lpData, &amp;lt;br /&amp;gt; unsigned long DataLength, &amp;lt;br /&amp;gt; unsigned char* lpEncryptedData, &amp;lt;br /&amp;gt; unsigned long* lpEncryptedDataLength &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To encrypt data with RSA public key.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in] device handle &amp;lt;br /&amp;gt;PubKeyHandle [in] public key handle &amp;lt;br /&amp;gt;lpData [in] plain text &amp;lt;br /&amp;gt;DataLength [in]length of plain text &amp;lt;br /&amp;gt;lpEncryptedData [out] cipher text &amp;lt;br /&amp;gt;lpEncryptedDataLength [out] length of cipher text &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Notes: &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;DataLength can be RSA_DATA_LEN_1024_BIT or SA_DATA_LEN_2048_BIT &amp;lt;br /&amp;gt; &amp;lt;b&amp;gt;&amp;lt;br /&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_KEY_HANDLE_INVALID Invalid key handle &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;The handle of public key should be &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gotten by &lt;/del&gt;UT_RSAGetPubKeyByPriKey &amp;lt;br /&amp;gt;instead &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of &lt;/del&gt;manually &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;input&lt;/del&gt;. A 1024-bit RSA public key can only encrypt 1024-bit &amp;lt;br /&amp;gt;data. It is also true for 2048-bit RSA public keys. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;KEY_HANDLE PubKeyHandle; &amp;lt;br /&amp;gt;unsigned char Data[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned char EncryptedData[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned long EncryptedDataLength; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;ret = UT_RSAPubKeyEncrypt( &amp;lt;br /&amp;gt;utHandle, &amp;lt;br /&amp;gt;PubKeyHandle, &amp;lt;br /&amp;gt;Data, &amp;lt;br /&amp;gt; RSA_DATA_LEN_1024_BIT, &amp;lt;br /&amp;gt; EncryptedData, &amp;lt;br /&amp;gt;&amp;amp;amp;EncryptedDataLength &amp;lt;br /&amp;gt;);&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_RSAPubKeyEncrypt( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; KEY_HANDLE PubKeyHandle, &amp;lt;br /&amp;gt; unsigned char* lpData, &amp;lt;br /&amp;gt; unsigned long DataLength, &amp;lt;br /&amp;gt; unsigned char* lpEncryptedData, &amp;lt;br /&amp;gt; unsigned long* lpEncryptedDataLength &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To encrypt data with RSA public key.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in] device handle &amp;lt;br /&amp;gt;PubKeyHandle [in] public key handle &amp;lt;br /&amp;gt;lpData [in] plain text &amp;lt;br /&amp;gt;DataLength [in]length of plain text &amp;lt;br /&amp;gt;lpEncryptedData [out] cipher text &amp;lt;br /&amp;gt;lpEncryptedDataLength [out] length of cipher text &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Notes: &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;DataLength can be RSA_DATA_LEN_1024_BIT or SA_DATA_LEN_2048_BIT &amp;lt;br /&amp;gt; &amp;lt;b&amp;gt;&amp;lt;br /&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_KEY_HANDLE_INVALID Invalid key handle &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;The handle of public key should be &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;retrieved with &lt;/ins&gt;UT_RSAGetPubKeyByPriKey &amp;lt;br /&amp;gt;instead manually &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;entered&lt;/ins&gt;. A 1024-bit RSA public key can only encrypt 1024-bit &amp;lt;br /&amp;gt;data. It is also true for 2048-bit RSA public keys. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;KEY_HANDLE PubKeyHandle; &amp;lt;br /&amp;gt;unsigned char Data[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned char EncryptedData[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned long EncryptedDataLength; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;ret = UT_RSAPubKeyEncrypt( &amp;lt;br /&amp;gt;utHandle, &amp;lt;br /&amp;gt;PubKeyHandle, &amp;lt;br /&amp;gt;Data, &amp;lt;br /&amp;gt; RSA_DATA_LEN_1024_BIT, &amp;lt;br /&amp;gt; EncryptedData, &amp;lt;br /&amp;gt;&amp;amp;amp;EncryptedDataLength &amp;lt;br /&amp;gt;);&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAPriKeyDecrypt  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAPriKeyDecrypt  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_RSAPriKeyDecrypt( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; KEY_HANDLE PriKeyHandle, &amp;lt;br /&amp;gt; unsigned char* lpEncryptedData, &amp;lt;br /&amp;gt; unsigned long EncryptedDataLength, &amp;lt;br /&amp;gt; unsigned char* lpData, &amp;lt;br /&amp;gt; unsigned long* lpDataLength &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To decrypt data with RSA private key.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in] device handle &amp;lt;br /&amp;gt;PriKeyHandle [in] private key handle &amp;lt;br /&amp;gt;lpEncryptedData [in] cipher text &amp;lt;br /&amp;gt;EncryptedDataLength [in]length of cipher text &amp;lt;br /&amp;gt;lpData [out] plaintext &amp;lt;br /&amp;gt;lpDataLength [out] length of plain text &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Notes: &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;DataLength can be RSA_DATA_LEN_1024_BIT or SA_DATA_LEN_2048_BIT &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_KEY_HANDLE_INVALID Invalid key handle &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;The handle of private key should be &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gotten by &lt;/del&gt;RSAGetPriKeyByPubKey instead &amp;lt;br /&amp;gt;of manually input. A 1024-bit RSA private key can only decrypt 1024-bit data. It &amp;lt;br /&amp;gt;is also true for 2048-bit RSA private keys. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;KEY_HANDLE PriKeyHandle; &amp;lt;br /&amp;gt;unsigned char Data[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned char EncryptedData[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned long DataLength; &amp;lt;br /&amp;gt;ret = UT_RSAPriKeyDecrypt( &amp;lt;br /&amp;gt;utHandle, &amp;lt;br /&amp;gt;PriKeyHandle, &amp;lt;br /&amp;gt; EncryptedData, &amp;lt;br /&amp;gt; RSA_DATA_LEN_1024_BIT,Data, &amp;lt;br /&amp;gt; &amp;amp;amp;DataLength &amp;lt;br /&amp;gt;);&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_RSAPriKeyDecrypt( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; KEY_HANDLE PriKeyHandle, &amp;lt;br /&amp;gt; unsigned char* lpEncryptedData, &amp;lt;br /&amp;gt; unsigned long EncryptedDataLength, &amp;lt;br /&amp;gt; unsigned char* lpData, &amp;lt;br /&amp;gt; unsigned long* lpDataLength &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To decrypt data with RSA private key.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in] device handle &amp;lt;br /&amp;gt;PriKeyHandle [in] private key handle &amp;lt;br /&amp;gt;lpEncryptedData [in] cipher text &amp;lt;br /&amp;gt;EncryptedDataLength [in]length of cipher text &amp;lt;br /&amp;gt;lpData [out] plaintext &amp;lt;br /&amp;gt;lpDataLength [out] length of plain text &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Notes: &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;DataLength can be RSA_DATA_LEN_1024_BIT or SA_DATA_LEN_2048_BIT &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_KEY_HANDLE_INVALID Invalid key handle &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;The handle of private key should be &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;retrieved with &lt;/ins&gt;RSAGetPriKeyByPubKey instead &amp;lt;br /&amp;gt;of manually input. A 1024-bit RSA private key can only decrypt 1024-bit data. It &amp;lt;br /&amp;gt;is also true for 2048-bit RSA private keys. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;KEY_HANDLE PriKeyHandle; &amp;lt;br /&amp;gt;unsigned char Data[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned char EncryptedData[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned long DataLength; &amp;lt;br /&amp;gt;ret = UT_RSAPriKeyDecrypt( &amp;lt;br /&amp;gt;utHandle, &amp;lt;br /&amp;gt;PriKeyHandle, &amp;lt;br /&amp;gt; EncryptedData, &amp;lt;br /&amp;gt; RSA_DATA_LEN_1024_BIT,Data, &amp;lt;br /&amp;gt; &amp;amp;amp;DataLength &amp;lt;br /&amp;gt;);&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAPriKeyEncrypt  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAPriKeyEncrypt  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_RSAPriKeyEncrypt( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; KEY_HANDLE PriKeyHandle, &amp;lt;br /&amp;gt; unsigned char* lpData, &amp;lt;br /&amp;gt; unsigned long DataLength, &amp;lt;br /&amp;gt; unsigned char* lpEncryptedData, &amp;lt;br /&amp;gt; unsigned long* lpEncryptedDataLength &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To encrypt data with RSA private key.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in] device handle &amp;lt;br /&amp;gt;PriKeyHandle [in] private key handle &amp;lt;br /&amp;gt;lpData [in] plain text &amp;lt;br /&amp;gt;DataLength [in]length of plain text &amp;lt;br /&amp;gt;lpEncryptedData [out] cipher text &amp;lt;br /&amp;gt;lpEncryptedDataLength [out] length of cipher text &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Notes: &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;DataLength can be RSA_DATA_LEN_1024_BIT or SA_DATA_LEN_2048_BIT &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_KEY_HANDLE_INVALID Invalid key handle &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;The handle of private key should be &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gotten by &lt;/del&gt;UT_RSAGetPriKeyByPubKey &amp;lt;br /&amp;gt;instead &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of &lt;/del&gt;manually &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;input&lt;/del&gt;. A 1024-bit RSA private key can only encrypt 1024-bit &amp;lt;br /&amp;gt;data. It is also true for 2048-bit RSA private keys. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;KEY_HANDLE PriKeyHandle; &amp;lt;br /&amp;gt;unsigned char Data[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned char EncryptedData[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned long EncryptedDataLength; &amp;lt;br /&amp;gt;ret = UT_RSAPriKeyEncrypt( &amp;lt;br /&amp;gt;utHandle, &amp;lt;br /&amp;gt;PriKeyHandle,Data, &amp;lt;br /&amp;gt; RSA_DATA_LEN_1024_BIT, &amp;lt;br /&amp;gt;EncryptedData, &amp;lt;br /&amp;gt; &amp;amp;amp;EncryptedDataLength &amp;lt;br /&amp;gt;);&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_RSAPriKeyEncrypt( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; KEY_HANDLE PriKeyHandle, &amp;lt;br /&amp;gt; unsigned char* lpData, &amp;lt;br /&amp;gt; unsigned long DataLength, &amp;lt;br /&amp;gt; unsigned char* lpEncryptedData, &amp;lt;br /&amp;gt; unsigned long* lpEncryptedDataLength &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To encrypt data with RSA private key.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in] device handle &amp;lt;br /&amp;gt;PriKeyHandle [in] private key handle &amp;lt;br /&amp;gt;lpData [in] plain text &amp;lt;br /&amp;gt;DataLength [in]length of plain text &amp;lt;br /&amp;gt;lpEncryptedData [out] cipher text &amp;lt;br /&amp;gt;lpEncryptedDataLength [out] length of cipher text &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Notes: &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;DataLength can be RSA_DATA_LEN_1024_BIT or SA_DATA_LEN_2048_BIT &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_KEY_HANDLE_INVALID Invalid key handle &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;The handle of private key should be &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;retrieved with &lt;/ins&gt;UT_RSAGetPriKeyByPubKey &amp;lt;br /&amp;gt;instead manually &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;entered&lt;/ins&gt;. A 1024-bit RSA private key can only encrypt 1024-bit &amp;lt;br /&amp;gt;data. It is also true for 2048-bit RSA private keys. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;KEY_HANDLE PriKeyHandle; &amp;lt;br /&amp;gt;unsigned char Data[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned char EncryptedData[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned long EncryptedDataLength; &amp;lt;br /&amp;gt;ret = UT_RSAPriKeyEncrypt( &amp;lt;br /&amp;gt;utHandle, &amp;lt;br /&amp;gt;PriKeyHandle,Data, &amp;lt;br /&amp;gt; RSA_DATA_LEN_1024_BIT, &amp;lt;br /&amp;gt;EncryptedData, &amp;lt;br /&amp;gt; &amp;amp;amp;EncryptedDataLength &amp;lt;br /&amp;gt;);&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAPubKeyDecrypt  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAPubKeyDecrypt  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_RSAPubKeyDecrypt( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; KEY_HANDLE PubKeyHandle, &amp;lt;br /&amp;gt; unsigned char* lpEncryptedData, &amp;lt;br /&amp;gt; unsigned long EncryptedDataLength, &amp;lt;br /&amp;gt; unsigned char* lpData, &amp;lt;br /&amp;gt; unsigned long* lpDataLength &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To decrypt data with RSA public key.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in] device handle &amp;lt;br /&amp;gt;PubKeyHandle [in] public key handle &amp;lt;br /&amp;gt;lpEncryptedData [in] cipher text &amp;lt;br /&amp;gt;EncryptedDataLength [in]length of cipher text &amp;lt;br /&amp;gt;lpData [out] plain text &amp;lt;br /&amp;gt;lpDataLength [out] length of plain text &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_KEY_HANDLE_INVALID Invalid key handle &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;The handle of public key should be &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gotten by &lt;/del&gt;UT_RSAGetPubKeyByPriKey &amp;lt;br /&amp;gt;instead &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of &lt;/del&gt;manually &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;input&lt;/del&gt;. A 1024-bit RSA public key can only decrypt 1024-bit &amp;lt;br /&amp;gt;data. It is also true for 2048-bit RSA public keys. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;KEY_HANDLE PubKeyHandle; &amp;lt;br /&amp;gt;unsigned char Data[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned char EncryptedData[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned long DataLength; &amp;lt;br /&amp;gt;ret = UT_RSAPubKeyDecrypt( &amp;lt;br /&amp;gt;utHandle, &amp;lt;br /&amp;gt;PubKeyHandle, &amp;lt;br /&amp;gt;EncryptedData, &amp;lt;br /&amp;gt; RSA_DATA_LEN_1024_BIT, &amp;lt;br /&amp;gt;Data, &amp;lt;br /&amp;gt; &amp;amp;amp;DataLength &amp;lt;br /&amp;gt; );&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Prototype &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV UT_API UT_RSAPubKeyDecrypt( &amp;lt;br /&amp;gt;UT_HANDLE utHandle, &amp;lt;br /&amp;gt; KEY_HANDLE PubKeyHandle, &amp;lt;br /&amp;gt; unsigned char* lpEncryptedData, &amp;lt;br /&amp;gt; unsigned long EncryptedDataLength, &amp;lt;br /&amp;gt; unsigned char* lpData, &amp;lt;br /&amp;gt; unsigned long* lpDataLength &amp;lt;br /&amp;gt; ) &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Description &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;To decrypt data with RSA public key.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Parameters &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;PARAMETERS DESCRIPTION &amp;lt;br /&amp;gt;utHandle [in] device handle &amp;lt;br /&amp;gt;PubKeyHandle [in] public key handle &amp;lt;br /&amp;gt;lpEncryptedData [in] cipher text &amp;lt;br /&amp;gt;EncryptedDataLength [in]length of cipher text &amp;lt;br /&amp;gt;lpData [out] plain text &amp;lt;br /&amp;gt;lpDataLength [out] length of plain text &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Returned Value &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;RETURNED VALUE DESCRIPTION &amp;lt;br /&amp;gt;UT_OK Successful operation &amp;lt;br /&amp;gt;UT_NOT_INITIALIZE Library not initialized &amp;lt;br /&amp;gt;UT_ARGUMENTS_BAD Invalid argument &amp;lt;br /&amp;gt;UT_TOKEN_HANDLE_INVALID Invalid token handle &amp;lt;br /&amp;gt;UT_NO_PERMISSION No permission &amp;lt;br /&amp;gt;UT_KEY_HANDLE_INVALID Invalid key handle &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Usage Note &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;The handle of public key should be &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;retrieved with &lt;/ins&gt;UT_RSAGetPubKeyByPriKey &amp;lt;br /&amp;gt;instead manually &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;entered&lt;/ins&gt;. A 1024-bit RSA public key can only decrypt 1024-bit &amp;lt;br /&amp;gt;data. It is also true for 2048-bit RSA public keys. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Sample &amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;UT_RV ret; &amp;lt;br /&amp;gt;UT_HANDLE utHandle; &amp;lt;br /&amp;gt;KEY_HANDLE PubKeyHandle; &amp;lt;br /&amp;gt;unsigned char Data[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned char EncryptedData[RSA_DATA_LEN_1024_BIT]; &amp;lt;br /&amp;gt;unsigned long DataLength; &amp;lt;br /&amp;gt;ret = UT_RSAPubKeyDecrypt( &amp;lt;br /&amp;gt;utHandle, &amp;lt;br /&amp;gt;PubKeyHandle, &amp;lt;br /&amp;gt;EncryptedData, &amp;lt;br /&amp;gt; RSA_DATA_LEN_1024_BIT, &amp;lt;br /&amp;gt;Data, &amp;lt;br /&amp;gt; &amp;amp;amp;DataLength &amp;lt;br /&amp;gt; );&amp;lt;br /&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAGetKeyPairCount  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt; UT_RSAGetKeyPairCount  &amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Joseph</name></author>
	</entry>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1053&amp;oldid=prev</id>
		<title>Joseph at 01:10, 1 May 2012</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1053&amp;oldid=prev"/>
		<updated>2012-05-01T01:10:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;amp;diff=1053&amp;amp;oldid=1052&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Joseph</name></author>
	</entry>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1052&amp;oldid=prev</id>
		<title>Damien at 06:40, 12 April 2012</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1052&amp;oldid=prev"/>
		<updated>2012-04-12T06:40:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;amp;diff=1052&amp;amp;oldid=1051&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Damien</name></author>
	</entry>
	<entry>
		<id>https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1051&amp;oldid=prev</id>
		<title>Damien at 05:51, 12 April 2012</title>
		<link rel="alternate" type="text/html" href="https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;diff=1051&amp;oldid=prev"/>
		<updated>2012-04-12T05:51:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://esecutech.com/wiki/index.php?title=UniToken_API_Reference&amp;amp;diff=1051&amp;amp;oldid=1050&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Damien</name></author>
	</entry>
</feed>