rsa
15.7 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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
version="XHTML+RDFa 1.0" typeof="owl:Ontology" about="http://www.w3.org/ns/auth/rsa#">
<head>
<title>The RSA Ontology Specification</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<style type="text/css">
@import url("http://www.w3.org/StyleSheets/TR/W3C-ED");
</style>
</head>
<body>
<h1><span property="dc:title" about="http://www.w3.org/ns/auth/rsa#">The RSA Ontology</span> <span property="owl:versionInfo" about="http://www.w3.org/ns/auth/rsa#">1.0</span></h1>
<h2>Namespace Document <span property="dc:created" about="http://www.w3.org/ns/auth/rsa#" content="2008-11-13" datatype="xsd:date">13 November 2008</span></h2>
<dl>
<dt>This version:</dt>
<dd><a href="http://www.w3.org/ns/auth/rsa#">http://www.w3.org/ns/auth/rsa#</a> (<a href="http://www.w3.org/ns/auth/rsa.n3">N3</a>, <a href="http://www.w3.org/ns/auth/rsa.rdf">RDF/XML</a>)</dd>
<dt>Latest version:</dt>
<dd><a href="http://www.w3.org/ns/auth/rsa#">http://www.w3.org/ns/auth/rsa#</a> (<a href="http://www.w3.org/ns/auth/rsa.n3">N3</a>, <a href="http://www.w3.org/ns/auth/rsa.rdf">RDF/XML</a>)</dd>
<dt>Authors:</dt>
<dd><a href="http://bblfish.net/">Henry Story</a> </dd>
</dl>
<p class="copyright"><a rel="license" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010-2011 <span rel="dcterms:publisher"><span typeof="foaf:Organization"><a rel="foaf:homepage" property="foaf:name" content="World Wide Web Consotrium" href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup></span></span> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p>
<hr />
<h2 id="sec-status">Abstract</h2>
<p about="http://www.w3.org/ns/auth/rsa#" property="rdfs:comment">Ontology for the RSA public private keys.</p>
<div class="status">
<h2>Status of This Document</h2>
<p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</em></p>
This document is produced from work by the
<a href="http://www.w3.org/2005/Incubator/webid/">W3C WebID Incubator Group</a>.
This is an internal draft document and may not even end up being officially
published. It may also be updated, replaced or obsoleted by other documents
at any time. It is inappropriate to cite this document as other than
work in progress.
The source code for this document is available at the following
URI: <a href="https://dvcs.w3.org/hg/WebID">https://dvcs.w3.org/hg/WebID</a>
<p>This document was published by the <a about="http://www.w3.org/ns/auth/rsa#" rel="rdfs:seeAlso" href="http://www.w3.org/2005/Incubator/webid/">WebID XG</a> as an Editor's Draft. If you wish to make comments regarding this document, please send them to <a href="mailto:public-xg-webid@w3.org">public-xg-webid@w3.org</a> (<a href="mailto:public-xg-webid-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-xg-webid/">archives</a>). All feedback is welcome.</p><p>Publication as a Editor's Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.</p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/44350/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.
</p>
<h2 id="sec-toc">Table of Contents</h2>
<ul>
<li><a href="#sec-glance">The RSA Ontology at a glance</a></li>
<li><a href="#sec-example">Examples</a></li>
<li><a href="#sec-crossref">Cross-reference for classes and properties</a></li>
<li><a href="#sec-ack">Acknowledgments</a></li>
</ul>
<a id="sec-glance"></a>
<h2 id="glance">The Ontology at a glance</h2>
<p>An a-z index of <em>RSA Ontology</em> terms, by class (categories or types) and by property.</p>
<div class="azlist">
<p>Classes: | <a href="#RSAKey">RSAKey</a> | <a href="#RSAPrivateKey">RSAPrivateKey</a> | <a href="#RSAPublicKey">RSAPublicKey</a> |
</p>
<p>Properties: | <a href="#modulus">modulus</a> | <a href="#private_exponent">private_exponent</a> | <a href="#public_exponent">public_exponent</a> |
</p>
</div>
<div style="clear: left;"></div>
<div style="clear: left;"></div>
<!-- ================================================================== -->
<p>
The evolution of the <em>RSA Ontology</em> is best considered in terms of the
stability of individual vocabulary terms, rather than the
specification as a whole. As terms stabilise in usage and
documentation, they progress through the categories
'<strong>unstable</strong>', '<strong>testing</strong>' and
'<strong>stable</strong>'. Older terms are marked '<strong>archaic</strong>' which allows the possibility of older forms to become modern again.</p><!--STATUSINFO-->
</div>
<h2 id="sec-example">Examples</h2>
<pre> @prefix cert: <http://www.w3.org/ns/auth/cert#> .
@prefix rsa: <http://www.w3.org/ns/auth/rsa#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix : <https://joe.example/profile#> .
:me a foaf:Person;
foaf:name "Joe" .
cert:key [ a rsa:RSAPublicKey;
rsa:modulus """
00:cb:24:ed:85:d6:4d:79:4b:69:c7:01:c1:86:ac:
c0:59:50:1e:85:60:00:f6:61:c9:32:04:d8:38:0e:
07:19:1c:5c:8b:36:8d:2a:c3:2a:42:8a:cb:97:03:
98:66:43:68:dc:2a:86:73:20:22:0f:75:5e:99:ca:
2e:ec:da:e6:2e:8d:15:fb:58:e1:b7:6a:e5:9c:b7:
ac:e8:83:83:94:d5:9e:72:50:b4:49:17:6e:51:a4:
94:95:1a:1c:36:6c:62:17:d8:76:8d:68:2d:de:78:
dd:4d:55:e6:13:f8:83:9c:f2:75:d4:c8:40:37:43:
e7:86:26:01:f3:c4:9a:63:66:e1:2b:b8:f4:98:26:
2c:3c:77:de:19:bc:e4:0b:32:f8:9a:e6:2c:37:80:
f5:b6:27:5b:e3:37:e2:b3:15:3a:e2:ba:72:a9:97:
5a:e7:1a:b7:24:64:94:97:06:6b:66:0f:cf:77:4b:
75:43:d9:80:95:2d:2e:85:86:20:0e:da:41:58:b0:
14:e7:54:65:d9:1e:cf:93:ef:c7:ac:17:0c:11:fc:
72:46:fc:6d:ed:79:c3:77:80:00:0a:c4:e0:79:f6:
71:fd:4f:20:7a:d7:70:80:9e:0e:2d:7b:0e:f5:49:
3b:ef:e7:35:44:d8:e1:be:3d:dd:b5:24:55:c6:13:
91:a1"""^^cert:hex;
rsa:public_exponent "65537"^^cert:int;
] .
</pre>
<h2 id="sec-crossref">Cross-reference for Cert classes and properties</h2>
<p>The <em>RSA Ontology</em> introduces the following classes and properties. There is a link at the
top of this document to the RDF/XML and RDF/N3 versions.</p>
<!-- the following is the script-generated list of classes and properties -->
<!-- this is the a-z listing -->
<div class="azlist">
<p>Classes: | <a href="#RSAKey">RSAKey</a> | <a href="#RSAPrivateKey">RSAPrivateKey</a> | <a href="#RSAPublicKey">RSAPublicKey</a> |
</p>
<p>Properties: | <a href="#modulus">modulus</a> | <a href="#private_exponent">private_exponent</a> | <a href="#public_exponent">public_exponent</a> |
</p>
</div>
<!-- and this is the bulk of the vocab descriptions -->
<div class="termlist">
<div class='termdetails'><br />
<h3>Classes</h3>
<div class="specterm" id="RSAKey" about="http://www.w3.org/ns/auth/rsa#RSAKey" typeof="owl:Class">
<h4>Class: rsa:RSAKey</h4>
<em property="rdfs:label" >RSA Key</em> - <span property="rdfs:comment" >
The union of the public and private components of an RSAKey.
Usually those pieces are not kept together
</span> <br />
<dl>
<dt>Status:</dt>
<dd property="vs:term_status" >unstable</dd>
<dt>Properties include:</dt>
<dd><a href="#modulus">rsa:modulus</a></dd>
<dt>Sub class of</dt>
<dd><span rel="rdfs:subClassOf" href="http://www.w3.org/ns/auth/cert#Key"><a href="http://www.w3.org/ns/auth/cert#Key">cert:Key</a></span></dd> <dt>Has sub class</dt>
<dd><a href="#RSAPublicKey">rsa:RSAPublicKey</a>
</dd>
<dd><a href="#RSAPrivateKey">rsa:RSAPrivateKey</a>
</dd><dt>OWL Class</dt>
</dl>
<p style="float: right; font-size: small;">[<a href="#RSAKey">#</a>] <!-- RSAKey --> [<a href="#glance">back to top</a>]</p>
<br/>
</div><div class="specterm" id="RSAPrivateKey" about="http://www.w3.org/ns/auth/rsa#RSAPrivateKey" typeof="owl:Class">
<h4>Class: rsa:RSAPrivateKey</h4>
<em property="rdfs:label" >RSA Private Key</em> - <span property="rdfs:comment" >
A Private Key in the RSA framework
</span> <br />
<dl>
<dt>Status:</dt>
<dd property="vs:term_status" >unstable</dd>
<dt>Properties include:</dt>
<dd><a href="#private_exponent">rsa:private_exponent</a></dd>
<dt>Sub class of</dt>
<dd><span rel="rdfs:subClassOf" href="http://www.w3.org/ns/auth/rsa#RSAKey"><a href="#RSAKey">rsa:RSAKey</a></span></dd><dt>OWL Class</dt>
</dl>
<p style="float: right; font-size: small;">[<a href="#RSAPrivateKey">#</a>] <!-- RSAPrivateKey --> [<a href="#glance">back to top</a>]</p>
<br/>
</div><div class="specterm" id="RSAPublicKey" about="http://www.w3.org/ns/auth/rsa#RSAPublicKey" typeof="owl:Class">
<h4>Class: rsa:RSAPublicKey</h4>
<em property="rdfs:label" >RSA Public Key</em> - <span property="rdfs:comment" >
The RSA public key. Padded message m are encrypted by applying the function
modulus(power(m,exponent),modulus)
</span> <br />
<dl>
<dt>Status:</dt>
<dd property="vs:term_status" >unstable</dd>
<dt>Properties include:</dt>
<dd><a href="#public_exponent">rsa:public_exponent</a></dd>
<dt>Sub class of</dt>
<dd><span rel="rdfs:subClassOf" href="http://www.w3.org/ns/auth/rsa#RSAKey"><a href="#RSAKey">rsa:RSAKey</a></span></dd><dt>OWL Class</dt>
</dl>
<p style="float: right; font-size: small;">[<a href="#RSAPublicKey">#</a>] <!-- RSAPublicKey --> [<a href="#glance">back to top</a>]</p>
<br/>
</div>
<h3>Properties</h3>
<div class="specterm" id="modulus" about="http://www.w3.org/ns/auth/rsa#modulus" typeof="owl:DatatypeProperty">
<h4>Property: rsa:modulus</h4>
<em property="rdfs:label" >modulus</em> - <span property="rdfs:comment" >
The modulus of an RSA public and private key.
This is defined as n = p*q
</span> <br />
<dl>
<dt>Status:</dt>
<dd property="vs:term_status" >unstable</dd>
<dt>Domain:</dt>
<dd><span rel="rdfs:domain" href="http://www.w3.org/ns/auth/rsa#RSAKey"><a href="#RSAKey">rsa:RSAKey</a></span>
</dd>
<dt>Range:</dt>
<dd><span rel="rdfs:range" href="http://www.w3.org/ns/auth/cert#int"><a href="http://www.w3.org/ns/auth/cert#int">cert:int</a></span>
</dd><dt>Datatype Property</dt>
</dl>
<p style="float: right; font-size: small;">[<a href="#modulus">#</a>] <!-- modulus --> [<a href="#glance">back to top</a>]</p>
<br/>
</div><div class="specterm" id="private_exponent" about="http://www.w3.org/ns/auth/rsa#private_exponent" typeof="owl:DatatypeProperty">
<h4>Property: rsa:private_exponent</h4>
<em property="rdfs:label" >private</em> - <span property="rdfs:comment" >
The exponent used to decrypt the message
calculated as
public_exponent*private_exponent = 1 modulo totient(p*q)
The private exponent is often named 'd'
</span> <br />
<dl>
<dt>Status:</dt>
<dd property="vs:term_status" >unstable</dd>
<dt>Domain:</dt>
<dd><span rel="rdfs:domain" href="http://www.w3.org/ns/auth/rsa#RSAPrivateKey"><a href="#RSAPrivateKey">rsa:RSAPrivateKey</a></span>
</dd>
<dt>Range:</dt>
<dd><span rel="rdfs:range" href="http://www.w3.org/ns/auth/cert#int"><a href="http://www.w3.org/ns/auth/cert#int">cert:int</a></span>
</dd><dt>Datatype Property</dt>
</dl>
<p style="float: right; font-size: small;">[<a href="#private_exponent">#</a>] <!-- private_exponent --> [<a href="#glance">back to top</a>]</p>
<br/>
</div><div class="specterm" id="public_exponent" about="http://www.w3.org/ns/auth/rsa#public_exponent" typeof="owl:DatatypeProperty">
<h4>Property: rsa:public_exponent</h4>
<em property="rdfs:label" >public_exponent</em> - <span property="rdfs:comment" >
The exponent used to encrypt the message. Number chosen between
1 and the totient(p*q). Often named 'e' .
</span> <br />
<dl>
<dt>Status:</dt>
<dd property="vs:term_status" >unstable</dd>
<dt>Domain:</dt>
<dd><span rel="rdfs:domain" href="http://www.w3.org/ns/auth/rsa#RSAPublicKey"><a href="#RSAPublicKey">rsa:RSAPublicKey</a></span>
</dd>
<dt>Range:</dt>
<dd><span rel="rdfs:range" href="http://www.w3.org/ns/auth/cert#int"><a href="http://www.w3.org/ns/auth/cert#int">cert:int</a></span>
</dd><dt>Datatype Property</dt>
</dl>
<p style="float: right; font-size: small;">[<a href="#public_exponent">#</a>] <!-- public_exponent --> [<a href="#glance">back to top</a>]</p>
<br/>
</div>
</div>
</div>
<!-- other ns classes -->
<h3>Other vocabularies terms</h3>
<ul>
<li class="specterm" id="PrivateKey" about="http://www.w3.org/ns/auth/cert#PrivateKey" typeof="owl:Class"><em property="rdfs:label" content="Private Key"><a href="http://www.w3.org/ns/auth/cert.html#PrivateKey">Private Key</a></em></li>
<li class="specterm" id="PublicKey" about="http://www.w3.org/ns/auth/cert#PublicKey" typeof="owl:Class"><em property="rdfs:label" content="Public Key"><a href="http://www.w3.org/ns/auth/cert.html#PublicKey">Public Key</a></em></li>
</ul>
<h2 id="sec-ack">Acknowledgments</h2>
<p>The following people have been instrumental in providing thoughts, feedback,
reviews, criticism and input in the creation of this specification:</p>
<ul>
<li>Tim Berners-Lee</li>
<li>Sarven Capadisli</li>
<li>Melvin Carvalho</li>
<li>Michael Hausenblas</li>
<li>Kingsley Idehen</li>
<li>Ian Jacobi</li>
<li>Nathan Rixham</li>
<li>Seth Russell</li>
<li>Jeff Sayre</li>
<li>Manu Sporny</li>
<li>Toby Inkster</li>
<li>Bruno Harbulot</li>
<li>Reto Bachmann-Gmür</li>
<li>Sergio Fernandez</li>
<li><a href="http://ii.uwb.edu.pl/~dtomaszuk/">Dominik Tomaszuk</a> (<a href="http://ii.uwb.edu.pl/">University of Bialystok</a>)</li>
</ul>
</body>
</html>