[x3d-public] Apache Santuario Java - XML security test sat

Don Brutzman brutzman at nps.edu
Thu Dec 5 12:15:25 PST 2019


Terry, thanks for the port of your Java for XML encryption/decryption from NPS to org.web3d.tools.security code tree.  I was able to update, clean and build successfully with Maven today.

* https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/tools/security/XmlSecurityApacheSantuario/

Question: are there any parts that have to be under the old license?  Am hoping to shift as much as possible (hopefully all) to the Web3D Consortium open-source license.

* https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/license.html
   https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/license.txt

Please add more to the README so that others can follow along satisfactorily.  Also include a Future Work section that notes:

- Integration with X3DJSAIL is planned.
- Adaptation to C++ is possible using similar Apache Santuario alternate implementation.
   https://santuario.apache.org

Of course no one is limited to the Apache implementation for this open standard, but it does have a high degree of trust.

	Apache Santuario
	https://santuario.apache.org

Build output log follows, looks great.  Also saved as following file to enable future sleuthing comparisons and improvements.

https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/tools/security/XmlSecurityApacheSantuario/build.out.log.txt

-------

cd C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario; "JAVA_HOME=C:\\Program Files\\Java\\jdk-13" cmd /c "\"\"C:\\Program Files\\NetBeans-11.2\\java\\maven\\bin\\mvn.cmd\" -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans-11.2\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 install\""
Scanning for projects...
------------------------------------------------------------------------
Reactor Build Order:

XML Security
Digital Signature
Encrypt Decrypt
                                                                         
------------------------------------------------------------------------
Building XML Security 1.0-SNAPSHOT
------------------------------------------------------------------------

--- maven-install-plugin:2.4:install (default-install) @ XmlSecurity ---
Installing C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\pom.xml to C:\Users\brutzman\.m2\repository\org\web3d\x3d\tools\security\XmlSecurityApacheSantuario\XmlSecurity\1.0-SNAPSHOT\XmlSecurity-1.0-SNAPSHOT.pom
                                                                         
------------------------------------------------------------------------
Building Digital Signature 1.0-SNAPSHOT
------------------------------------------------------------------------

--- maven-resources-plugin:2.6:resources (default-resources) @ DigitalSignature ---
Using 'UTF-8' encoding to copy filtered resources.
Copying 5 resources

--- maven-compiler-plugin:3.1:compile (default-compile) @ DigitalSignature ---
Changes detected - recompiling the module!
Compiling 7 source files to C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\digital-signing\target\classes

--- maven-resources-plugin:2.6:testResources (default-testResources) @ DigitalSignature ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\digital-signing\src\test\resources

--- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ DigitalSignature ---
Changes detected - recompiling the module!
Compiling 1 source file to C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\digital-signing\target\test-classes

--- maven-surefire-plugin:2.12.4:test (default-test) @ DigitalSignature ---
Surefire report directory: C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\digital-signing\target\surefire-reports

-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running org.web3d.x3d.tools.security.XmlSecurityApacheSantuario.DigitalSignature.SignatureDOMTest
  INFO [main] (SignatureStAX.java:125) - Signature verified for element: X3D of file: HelloWorld.x3d
<X3D xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" Id="G9784e2fd-c47c-4cda-afad-2c2d165a4301" profile="Immersive" version="3.2" xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.2.xsd"><dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Id="G7ad4951c-1c22-46f5-8adf-5a07b807f60a"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></dsig:CanonicalizationMethod><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></dsig:SignatureMethod><dsig:Reference URI="#G9784e2fd-c47c-4cda-afad-2c2d165a4301"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod><dsig:DigestValue>zLCObMBUZ7ex1kYkLj4xA//gJUI=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>g41dnsvo1dCH1L9mooupIOE/sCvfeMEu+sAvo78kFWQ7kOsgE9a7Ow8Yn/PYrk9MsGjzHAwjLMKX&#xD;
Muq7UBHTqatE4UV2JBEOp9rNP8U2rGdTIJ+8cfQx2hq5D/sBeOeqt2n1952YC+Fg4qreA64Ynmqu&#xD;
ZWnNYWlAUkvWC82qTmBYHBtXdNV7EgbRDk2yBfPRe+SfBB4L4HaBWJli9TxIylwhT56hrK0HxV+5&#xD;
+bTg91FSUODnJwQ6RbxQ3SzcsOrljN5W7s5FTlDhkqOr1kVWaa9bgwf9nvHn3tfNvDR8SkZvTgBA&#xD;
pOxqXauNeUw3Q6NuvCi+ozaojKqyKuPC66C9NQ==</dsig:SignatureValue><dsig:KeyInfo Id="G99b1238e-ec48-4367-a9bf-21b1e4ce6ad8"><dsig:X509Data><dsig:X509Certificate>MIIDvjCCAqYCAzOA3DANBgkqhkiG9w0BAQUFADCBozELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh&#xD;
bGlmb3JuaWExETAPBgNVBAcTCE1vbnRlcmV5MSIwIAYDVQQKExlOYXZhbCBQb3N0Z3JhZHVhdGUg&#xD;
U2Nob29sMTAwLgYDVQQLEyd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sGmCZP2GcIQL8g4GvFJD42U7+nLJGQUJi4g4AWGxi9OT3LVjrTzh8P1122Kb/Xxf/&#xD;
7zs6+OHJt5CmTys7zJp2slRdO1o19btfrgWZRUbq0WF7mSVnjYvzMLMOo4IIkxzp7aw=</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo></dsig:Signature>
   <head>
     <meta content="HelloWorld.x3d" name="title"></meta>
     <meta content="Simple X3D example" name="description"></meta>
     <meta content="30 October 2000" name="created"></meta>
     <meta content="7 August 2010" name="modified"></meta>
     <meta content="Don Brutzman" name="creator"></meta>
     <meta content="http://www.web3D.org" name="reference"></meta>
     <meta content="http://x3dGraphics.com" name="reference"></meta>
     <meta content="http://www.web3d.org/x3d/content/examples/HelloWorld.x3d" name="identifier"></meta>
     <meta content="http://www.web3d.org/x3d/content/examples/HelloWorldTall.png" name="image"></meta>
     <meta content="http://www.web3d.org/x3d/content/examples/license.html" name="license"></meta>
     <meta content="X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit" name="generator"></meta>
   </head>
   <Scene>
     <!-- Example scene to illustrate X3D nodes and fields (XML elements and attributes) -->
     <Group bboxCenter="0 0 0" bboxSize="-1 -1 -1" containerField="children">
       <Viewpoint centerOfRotation="0 -1 0" containerField="children" description="Hello world!" fieldOfView="0.7854" jump="true" orientation="0 0 1 0" position="0 -1 7" retainUserOffsets="false"></Viewpoint>
       <Transform bboxCenter="0 0 0" bboxSize="-1 -1 -1" center="0 0 0" containerField="children" rotation="0 1 0 3" scale="1 1 1" scaleOrientation="0 0 1 0" translation="0 0 0">
         <Shape bboxCenter="0 0 0" bboxSize="-1 -1 -1" containerField="children">
           <Sphere containerField="geometry" radius="1" solid="true"></Sphere>
           <Appearance containerField="appearance">
             <Material ambientIntensity="0.2" containerField="material" diffuseColor="0 0.5 1" emissiveColor="0 0 0" shininess="0.2" specularColor="0 0 0" transparency="0"></Material>
             <ImageTexture containerField="texture" repeatS="true" repeatT="true" url=""earth-topo.png" "earth-topo.jpg" "earth-topo-small.gif" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.png" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif""></ImageTexture>
           </Appearance>
         </Shape>
       </Transform>
       <Transform bboxCenter="0 0 0" bboxSize="-1 -1 -1" center="0 0 0" containerField="children" rotation="0 0 1 0" scale="1 1 1" scaleOrientation="0 0 1 0" translation="0 -2 0">
         <Shape bboxCenter="0 0 0" bboxSize="-1 -1 -1" containerField="children">
           <Text containerField="geometry" maxExtent="0.0" solid="false" string=""Hello" "world!"">
             <FontStyle containerField="fontStyle" family="&SERIF&" horizontal="true" justify=""MIDDLE" "MIDDLE"" leftToRight="true" size="1.0" spacing="1.0" style="PLAIN" topToBottom="true"></FontStyle>
           </Text>
           <Appearance containerField="appearance">
             <Material ambientIntensity="0.2" containerField="material" diffuseColor="0.1 0.5 1" emissiveColor="0 0 0" shininess="0.2" specularColor="0 0 0" transparency="0"></Material>
           </Appearance>
         </Shape>
       </Transform>
     </Group>
   </Scene>
</X3D>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.318 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0


--- maven-jar-plugin:2.4:jar (default-jar) @ DigitalSignature ---
Building jar: C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\digital-signing\target\DigitalSignature-1.0-SNAPSHOT.jar

--- maven-install-plugin:2.4:install (default-install) @ DigitalSignature ---
Installing C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\digital-signing\target\DigitalSignature-1.0-SNAPSHOT.jar to C:\Users\brutzman\.m2\repository\org\web3d\x3d\tools\security\XmlSecurityApacheSantuario\DigitalSignature\1.0-SNAPSHOT\DigitalSignature-1.0-SNAPSHOT.jar
Installing C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\digital-signing\pom.xml to C:\Users\brutzman\.m2\repository\org\web3d\x3d\tools\security\XmlSecurityApacheSantuario\DigitalSignature\1.0-SNAPSHOT\DigitalSignature-1.0-SNAPSHOT.pom
                                                                         
------------------------------------------------------------------------
Building Encrypt Decrypt 1.0-SNAPSHOT
------------------------------------------------------------------------

--- maven-resources-plugin:2.6:resources (default-resources) @ EncryptDecrypt ---
Using 'UTF-8' encoding to copy filtered resources.
Copying 5 resources

--- maven-compiler-plugin:3.1:compile (default-compile) @ EncryptDecrypt ---
Changes detected - recompiling the module!
Compiling 2 source files to C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\encrypt-decrypt\target\classes

--- maven-resources-plugin:2.6:testResources (default-testResources) @ EncryptDecrypt ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\encrypt-decrypt\src\test\resources

--- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ EncryptDecrypt ---
Changes detected - recompiling the module!
Compiling 1 source file to C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\encrypt-decrypt\target\test-classes

--- maven-surefire-plugin:2.12.4:test (default-test) @ EncryptDecrypt ---
Surefire report directory: C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\encrypt-decrypt\target\surefire-reports

-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running org.web3d.x3d.tools.security.XmlSecurityApacheSantuario.EncryptDecrypt.EncryptionDOMTest
  INFO [main] (EncryptionStAX.java:132) - Encryption verified for element: X3D of file: HelloWorld.x3d
<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="Gf311d51d-f206-476f-93be-f320c425ae2e" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey Id="EK75a68a7b-2bac-4e6d-8184-097e490c3712"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"></xenc:EncryptionMethod><xenc:CipherData><xenc:CipherValue>KBem9JN/hDEMolEQgOjWc9pK0kRLVCf5ikK3X1WBjdudkJZM7ubcUMmGPh8tVcnVBXLb4CcEURmf&#xD;
r7C2SjIaPhAShOxYFgWA/8SodtdvR0Jxqo+K2Sg8A5K0+Lf46VszdPxlk9FXzwmGgvFimAF4XqM3&#xD;
RuzakifAzitCPIspSCWRkRCRwITffXsLf6RAGknPOFwoi2gGUFcNAuK+tutqU6m0yIXOU/gMU0DS&#xD;
ak41+UTELvQdvDPmKR5Xsq0OQBbw23BplT4DrSdHaPiav274Fi7iN+X+vNxKKrVDAjduxEOU5TEt&#xD;
ktoNPZeioxhiHoKP+3ek5DMg2FWWsEl3Qo54RA==</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>9rah++RHEKfjWk4wVvE8myy2svgU35Q+g+lu8jqqSO2+l0vzgLIE8RIf62UdHu+rBhkGFkpgidjD&#xD;
6TPWvcVvh6WT9Wp1F/ijTUM6RQi1JU7tRxlnSXDxG9o6NanEQjQZ6k73g48PIzG89IZfZ4pe33+f&#xD;
7vPh5sw1Q0D3BSaUgboGGt4pxDN7KvezUzRJgxLvL8KXiXh3+UjJlSLVF7vxFpCf/5BCHJGrI9cx&#xD;
Mz9N2dleKNyUlSg+Oet2XZqnUaiMf7FOFxp4xVGU1Nit1EvYqNZZTCcSeHml3avT78mKgskbqVf8&#xD;
liCv/Bzo5yclCVT9JMpcdXOQ0h0FY0Cf2VdSGhvbYlVlWy4mp5BqXf85DT1DRbp0/fp0MnIwCJ0T&#xD;
hbGgkuCaB56Tg2N6TugRaTILeG7q1IXrDRoWSq737r++QrrlOQmLKQ1miYDmQHMK4nA1LmkoJYld&#xD;
sVP2gcMagZ82dmghxS/7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HGPwCrTd3yo6kjlRgjRySNBjnjV4Nj4t70C4nEVpG31&#xD;
PJFxX5223eRC2GCqrt1DVkJALHkQvFGnfF9Zk6c=&#xD;
</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>

<X3D xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" profile="Immersive" version="3.2" xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.2.xsd">
   <head>
     <meta content="HelloWorld.x3d" name="title"></meta>
     <meta content="Simple X3D example" name="description"></meta>
     <meta content="30 October 2000" name="created"></meta>
     <meta content="7 August 2010" name="modified"></meta>
     <meta content="Don Brutzman" name="creator"></meta>
     <meta content="http://www.web3D.org" name="reference"></meta>
     <meta content="http://x3dGraphics.com" name="reference"></meta>
     <meta content="http://www.web3d.org/x3d/content/examples/HelloWorld.x3d" name="identifier"></meta>
     <meta content="http://www.web3d.org/x3d/content/examples/HelloWorldTall.png" name="image"></meta>
     <meta content="http://www.web3d.org/x3d/content/examples/license.html" name="license"></meta>
     <meta content="X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit" name="generator"></meta>
   </head>
   <Scene>
     <!-- Example scene to illustrate X3D nodes and fields (XML elements and attributes) -->
     <Group bboxCenter="0 0 0" bboxSize="-1 -1 -1" containerField="children">
       <Viewpoint centerOfRotation="0 -1 0" containerField="children" description="Hello world!" fieldOfView="0.7854" jump="true" orientation="0 0 1 0" position="0 -1 7" retainUserOffsets="false"></Viewpoint>
       <Transform bboxCenter="0 0 0" bboxSize="-1 -1 -1" center="0 0 0" containerField="children" rotation="0 1 0 3" scale="1 1 1" scaleOrientation="0 0 1 0" translation="0 0 0">
         <Shape bboxCenter="0 0 0" bboxSize="-1 -1 -1" containerField="children">
           <Sphere containerField="geometry" radius="1" solid="true"></Sphere>
           <Appearance containerField="appearance">
             <Material ambientIntensity="0.2" containerField="material" diffuseColor="0 0.5 1" emissiveColor="0 0 0" shininess="0.2" specularColor="0 0 0" transparency="0"></Material>
             <ImageTexture containerField="texture" repeatS="true" repeatT="true" url=""earth-topo.png" "earth-topo.jpg" "earth-topo-small.gif" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.png" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif""></ImageTexture>
           </Appearance>
         </Shape>
       </Transform>
       <Transform bboxCenter="0 0 0" bboxSize="-1 -1 -1" center="0 0 0" containerField="children" rotation="0 0 1 0" scale="1 1 1" scaleOrientation="0 0 1 0" translation="0 -2 0">
         <Shape bboxCenter="0 0 0" bboxSize="-1 -1 -1" containerField="children">
           <Text containerField="geometry" maxExtent="0.0" solid="false" string=""Hello" "world!"">
             <FontStyle containerField="fontStyle" family="&SERIF&" horizontal="true" justify=""MIDDLE" "MIDDLE"" leftToRight="true" size="1.0" spacing="1.0" style="PLAIN" topToBottom="true"></FontStyle>
           </Text>
           <Appearance containerField="appearance">
             <Material ambientIntensity="0.2" containerField="material" diffuseColor="0.1 0.5 1" emissiveColor="0 0 0" shininess="0.2" specularColor="0 0 0" transparency="0"></Material>
           </Appearance>
         </Shape>
       </Transform>
     </Group>
   </Scene>
</X3D>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.17 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0


--- maven-jar-plugin:2.4:jar (default-jar) @ EncryptDecrypt ---
Building jar: C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\encrypt-decrypt\target\EncryptDecrypt-1.0-SNAPSHOT.jar

--- maven-install-plugin:2.4:install (default-install) @ EncryptDecrypt ---
Installing C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\encrypt-decrypt\target\EncryptDecrypt-1.0-SNAPSHOT.jar to C:\Users\brutzman\.m2\repository\org\web3d\x3d\tools\security\XmlSecurityApacheSantuario\EncryptDecrypt\1.0-SNAPSHOT\EncryptDecrypt-1.0-SNAPSHOT.jar
Installing C:\x3d-code\www.web3d.org\x3d\tools\security\XmlSecurityApacheSantuario\encrypt-decrypt\pom.xml to C:\Users\brutzman\.m2\repository\org\web3d\x3d\tools\security\XmlSecurityApacheSantuario\EncryptDecrypt\1.0-SNAPSHOT\EncryptDecrypt-1.0-SNAPSHOT.pom
------------------------------------------------------------------------
Reactor Summary:

XML Security ....................................... SUCCESS [  0.746 s]
Digital Signature .................................. SUCCESS [ 12.222 s]
Encrypt Decrypt .................................... SUCCESS [  5.544 s]
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 18.630 s
Finished at: 2019-12-05T11:50:10-08:00
Final Memory: 20M/70M
------------------------------------------------------------------------


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman


More information about the x3d-public mailing list