test_support.htm
7.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./test_support_files/filelist.xml">
<title>test support</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>pramila</o:Author>
<o:Template>Normal</o:Template>
<o:LastAuthor>pramila</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>11626</o:TotalTime>
<o:Created>2003-08-23T17:24:00Z</o:Created>
<o:LastSaved>2003-08-23T17:24:00Z</o:LastSaved>
<o:Pages>2</o:Pages>
<o:Words>231</o:Words>
<o:Characters>1318</o:Characters>
<o:Company>RouteFree</o:Company>
<o:Lines>10</o:Lines>
<o:Paragraphs>2</o:Paragraphs>
<o:CharactersWithSpaces>1618</o:CharactersWithSpaces>
<o:Version>9.2720</o:Version>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
h1
{mso-style-next:Normal;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
mso-outline-level:1;
font-size:12.0pt;
font-family:"Times New Roman";
mso-font-kerning:0pt;}
h3
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
mso-outline-level:3;
font-size:13.0pt;
font-family:Arial;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1052"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal> </p>
<h1>General Utilities for Testing</h1>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal> </p>
<p class=MsoNormal><b>RSALIB:<o:p></o:p></b></p>
<p class=MsoNormal>library for cert creation and general RSA functionality:</p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
<p class=MsoNormal><b>Utility Functions:<o:p></o:p></b></p>
<p class=MsoNormal> </p>
<p class=MsoNormal>(RSA )-> saveKeyData() -> keydata file /* takes newly
generated RSA structure to save data in file with name of server */</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>keydata file -> readKeyData() -> (RSA *) /* reads in
key data to RSA structure to perform sign operation, returns name of server*/</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>key data file, data<span style="mso-spacerun: yes">
</span>-> signData() -> sign<span style="mso-spacerun: yes"> </span>/*
reads in key data, data, creates RSA structure and signs */</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>(RSA )-> validate() -> true or false<span
style="mso-spacerun: yes"> </span>/* reads in key data and generates random
data, signs and verifies validate key pair </p>
<p class=MsoNormal style='margin-left:2.0in;text-indent:.5in'>and verify
operation */</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>keydata file -> createCustomCert() -> cert file /* for
inclusion in cert.sys or sysapp package */</p>
<p class=MsoNormal> </p>
<p class=MsoNormal><b> <o:p></o:p></b></p>
<p class=MsoNormal><b>include librsaX86 and look in lib/librsa/util.h<o:p></o:p></b></p>
<p class=MsoNormal><b><![if !supportEmptyParas]> <![endif]><o:p></o:p></b></p>
<p class=MsoNormal><b><![if !supportEmptyParas]> <![endif]><o:p></o:p></b></p>
<p class=MsoNormal><b>Certsgen:<o:p></o:p></b></p>
<p class=MsoNormal><b> <o:p></o:p></b></p>
<p class=MsoNormal>creates a whole set of consistent certs, signed, using
RSALIB.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>certsgen takes a list of subject names in order and create
certs and store everything in cert.sys.</p>
<p class=MsoNormal>The key files (with names ) are stored in .key files</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Format of cmds.txt</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>root key file</p>
<p class=MsoNormal>number of chains</p>
<p class=MsoNormal>subject-name signer-name</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>output is in cert.sys </p>
<p class=MsoNormal>see a checked in cmds.txt file for example.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal> </p>
<p class=MsoNormal>make keydata files save both private and public key info, so
it can be input to sysapp bundle creation, eliminate *.bin files.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>_________________________________________________________________________________________</p>
<p class=MsoNormal style='margin-left:.5in'> </p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in'><b>Crlgen:<o:p></o:p></b></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in'><b><![if !supportEmptyParas]> <![endif]><o:p></o:p></b></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in'>creates a crl.sys
file based on inputs from a .dat file and .key files generated from certsgen</p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in'>The format of
.dat file is in an example .dat file checked in tools/crls/</p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in'>It supports
creation of multiple crls from input .key files (from certsgen) and appends
them to crl.sys</p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'> </p>
<p class=MsoNormal style='margin-left:.5in'> </p>
<p class=MsoNormal style='margin-left:.5in'> </p>
<p class=MsoNormal style='margin-left:.5in'> </p>
</div>
</body>
</html>