removed cert:int usage in examples, and replaced it with xsd:int. Also changed the presentation
of each cert:hex number to show that the non hex characters are not important.
--- a/spec/index-respec.html Mon Nov 14 13:32:03 2011 +0100
+++ b/spec/index-respec.html Mon Nov 14 15:48:52 2011 +0100
@@ -614,7 +614,7 @@
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 ;
+ rsa:public_exponent 65537 ;
] .
</pre>
</p>
@@ -627,6 +627,7 @@
<pre>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
@@ -644,27 +645,27 @@
<dl>
<dt>Modulus (hexadecimal)</dt>
<dd property="rsa:modulus" datatype="cert:hex">
- 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
+ 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
</dd>
<dt>Exponent (decimal)</dt>
- <dd property="rsa:public_exponent" datatype="cert:int">65537</dd>
+ <dd property="rsa:public_exponent" datatype="xsd:int">65537</dd>
</dl>
</div>
</div>
@@ -701,32 +702,33 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<foaf:Person rdf:about="https://joe.example/profile#me">
<foaf:name>Joe</foaf:name>
<cert:key>
<rsa:RSAPublicKey>
<rsa:modulus rdf:datatype="http://www.w3.org/ns/auth/cert#hex">
- 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
- </rsa:modulus>
- <rsa:public_exponent rdf:datatype="http://www.w3.org/ns/auth/cert#int">65537</rsa:public_exponent>
+ 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
+ </rsa-modulus>
+ <rsa:public_exponent rdf:datatype="xsd:int">65537</rsa:public_exponent>
</rsa:RSAPublicKey>
</cert:key>
</foaf:Person>