1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
|
3 | <X3D xmlns:ds='http://www.w3.org/2000/09/xmldsig#' profile='Immersive' version='3.2' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.2.xsd'> |
4 | <head> |
5 | <meta name='title' content='HelloWorldDecrypted.x3d'/> |
6 | <meta name='description' content='Simple X3D example for XML encryption for security; actual encrypted result is in XML file HelloWorldEncryptionResult.xml'/> |
7 | <meta name='reference' content='HelloWorldEncryptionResult.xml'/> |
8 | <meta name='created' content='2 July 2008'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='creator' content='Don Brutzman, Mike Bailey'/> |
11 | <meta name='info' content='default attribute values removed after decryption'/> |
12 | <meta name='reference' content='X3dSecurityReadMe.html'/> |
13 | <meta name='reference' content='keystore/SelectSigningSecretKey.png'/> |
14 | <meta name='reference' content='keystore/SecretKey_key.b64'/> |
15 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/HelloWorld.x3d'/> |
16 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldEncryptionInput.x3d'/> |
17 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldEncryptionResult.xml'/> |
18 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldDecrypted.x3d'/> |
19 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
20 | <meta name='subject' content='X3D security, XML encryption, secret key'/> |
21 | <meta name='license' content='../license.html'/> |
22 | </head> |
23 | <Scene> |
24 | <!-- Example scene to illustrate X3D tags and attributes. --> |
25 | <WorldInfo title='HelloWorldDecrypted.x3d'/> |
26 | <Group> |
27 | <Viewpoint centerOfRotation='0 -1 0' description='Hello world!' position='0 -1 7'/> |
28 | <Transform rotation='0 1 0 3'> |
29 | <Shape> |
30 | <Sphere/> |
31 | <Appearance> |
32 | <Material diffuseColor='0 0.5 1'/> |
33 | <ImageTexture url=' "../earth-topo.png " "../earth-topo.jpg " "../earth-topo-small.gif " "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.png " "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg " "https://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif " '/> |
34 | </Appearance> |
35 | </Shape> |
36 | </Transform> |
37 | <Transform translation='0 -2 0'> |
38 | <Shape> |
39 | <Text string='"Hello" "world!"'> |
40 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
41 | </Text> |
42 | <Appearance> |
43 | <Material diffuseColor='0.1 0.5 1'/> |
44 | </Appearance> |
45 | </Shape> |
46 | </Transform> |
47 | </Group> |
48 | </Scene> |
49 | <ds:Signature> |
50 | <ds:SignedInfo> |
51 | <ds:CanonicalizationMethod Algorithm='http://www.w3.org/TR/2001/REC-xml-c14n-20010315'/> |
52 | <ds:SignatureMethod Algorithm='http://www.w3.org/2000/09/xmldsig#rsa-sha1'/> |
53 | <ds:Reference URI='#xpointer(/)'> |
54 | <ds:Transforms> |
55 | <ds:Transform Algorithm='http://www.w3.org/2000/09/xmldsig#enveloped-signature'/> |
56 | <ds:Transform Algorithm='http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments'/> |
57 | </ds:Transforms> |
58 | <ds:DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/> |
59 | <ds:DigestValue> |
61 | </ds:DigestValue> |
62 | </ds:Reference> |
63 | </ds:SignedInfo> |
64 | <ds:SignatureValue> |
66 | </ds:SignatureValue> |
67 | <ds:KeyInfo> |
68 | <ds:X509Data> |
69 | <ds:X509Certificate> |
71 | </ds:X509Certificate> |
72 | </ds:X509Data> |
73 | <ds:KeyValue> |
74 | <ds:RSAKeyValue> |
75 | <ds:Modulus> |
77 | </ds:Modulus> |
78 | <ds:Exponent> |
80 | </ds:Exponent> |
81 | </ds:RSAKeyValue> |
82 | </ds:KeyValue> |
83 | </ds:KeyInfo> |
84 | </ds:Signature> |
85 | </X3D> |
<!--
Color legend: X3D terminology
<X3dNode
field='value'/>
matches XML terminology
<XmlElement
attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->