diff --git a/src/XML/wst/CanonicalizationAlgorithm.php b/src/XML/wst/CanonicalizationAlgorithm.php new file mode 100644 index 00000000..585589df --- /dev/null +++ b/src/XML/wst/CanonicalizationAlgorithm.php @@ -0,0 +1,26 @@ +setContent($content); + } +} diff --git a/src/XML/wst/ComputedKeyAlgorithm.php b/src/XML/wst/ComputedKeyAlgorithm.php new file mode 100644 index 00000000..39b220a9 --- /dev/null +++ b/src/XML/wst/ComputedKeyAlgorithm.php @@ -0,0 +1,26 @@ +setContent($content); + } +} diff --git a/src/XML/wst/Delegatable.php b/src/XML/wst/Delegatable.php new file mode 100644 index 00000000..2c91e5ef --- /dev/null +++ b/src/XML/wst/Delegatable.php @@ -0,0 +1,26 @@ +setContent($content); + } +} diff --git a/src/XML/wst/EncryptWith.php b/src/XML/wst/EncryptWith.php new file mode 100644 index 00000000..75e16668 --- /dev/null +++ b/src/XML/wst/EncryptWith.php @@ -0,0 +1,26 @@ +setContent($content); + } +} diff --git a/src/XML/wst/EncryptionAlgorithm.php b/src/XML/wst/EncryptionAlgorithm.php new file mode 100644 index 00000000..f105b41b --- /dev/null +++ b/src/XML/wst/EncryptionAlgorithm.php @@ -0,0 +1,26 @@ +setContent($content); + } +} diff --git a/src/XML/wst/Forwardable.php b/src/XML/wst/Forwardable.php new file mode 100644 index 00000000..e17012c2 --- /dev/null +++ b/src/XML/wst/Forwardable.php @@ -0,0 +1,26 @@ +setContent($content); + } +} diff --git a/src/XML/wst/SignWith.php b/src/XML/wst/SignWith.php new file mode 100644 index 00000000..3ba1a575 --- /dev/null +++ b/src/XML/wst/SignWith.php @@ -0,0 +1,26 @@ +setContent($content); + } +} diff --git a/src/XML/wst/SignatureAlgorithm.php b/src/XML/wst/SignatureAlgorithm.php new file mode 100644 index 00000000..b3653b5a --- /dev/null +++ b/src/XML/wst/SignatureAlgorithm.php @@ -0,0 +1,26 @@ +setContent($content); + } +} diff --git a/tests/WSSecurity/XML/wst/CanonicalizationAlgorithmTest.php b/tests/WSSecurity/XML/wst/CanonicalizationAlgorithmTest.php new file mode 100644 index 00000000..336546f2 --- /dev/null +++ b/tests/WSSecurity/XML/wst/CanonicalizationAlgorithmTest.php @@ -0,0 +1,60 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($canonicalizationAlgorithm), + ); + } +} diff --git a/tests/WSSecurity/XML/wst/ComputedKeyAlgorithmTest.php b/tests/WSSecurity/XML/wst/ComputedKeyAlgorithmTest.php new file mode 100644 index 00000000..b00c4149 --- /dev/null +++ b/tests/WSSecurity/XML/wst/ComputedKeyAlgorithmTest.php @@ -0,0 +1,60 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($computedKeyAlgorithm), + ); + } +} diff --git a/tests/WSSecurity/XML/wst/DelegatableTest.php b/tests/WSSecurity/XML/wst/DelegatableTest.php new file mode 100644 index 00000000..be40a5bf --- /dev/null +++ b/tests/WSSecurity/XML/wst/DelegatableTest.php @@ -0,0 +1,60 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($delegatable), + ); + } +} diff --git a/tests/WSSecurity/XML/wst/EncryptWithTest.php b/tests/WSSecurity/XML/wst/EncryptWithTest.php new file mode 100644 index 00000000..2a6ca04e --- /dev/null +++ b/tests/WSSecurity/XML/wst/EncryptWithTest.php @@ -0,0 +1,60 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($encryptWith), + ); + } +} diff --git a/tests/WSSecurity/XML/wst/EncryptionAlgorithmTest.php b/tests/WSSecurity/XML/wst/EncryptionAlgorithmTest.php new file mode 100644 index 00000000..4c4fffd4 --- /dev/null +++ b/tests/WSSecurity/XML/wst/EncryptionAlgorithmTest.php @@ -0,0 +1,60 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($encryptionAlgorithm), + ); + } +} diff --git a/tests/WSSecurity/XML/wst/ForwardableTest.php b/tests/WSSecurity/XML/wst/ForwardableTest.php new file mode 100644 index 00000000..9bd7c8b3 --- /dev/null +++ b/tests/WSSecurity/XML/wst/ForwardableTest.php @@ -0,0 +1,60 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($forwardable), + ); + } +} diff --git a/tests/WSSecurity/XML/wst/SignWithTest.php b/tests/WSSecurity/XML/wst/SignWithTest.php new file mode 100644 index 00000000..f18cbe4a --- /dev/null +++ b/tests/WSSecurity/XML/wst/SignWithTest.php @@ -0,0 +1,60 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($signWith), + ); + } +} diff --git a/tests/WSSecurity/XML/wst/SignatureAlgorithmTest.php b/tests/WSSecurity/XML/wst/SignatureAlgorithmTest.php new file mode 100644 index 00000000..7f91d866 --- /dev/null +++ b/tests/WSSecurity/XML/wst/SignatureAlgorithmTest.php @@ -0,0 +1,60 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($signatureAlgorithm), + ); + } +} diff --git a/tests/resources/xml/wst_CanonicalizationAlgorithm.xml b/tests/resources/xml/wst_CanonicalizationAlgorithm.xml new file mode 100644 index 00000000..e3d28dfe --- /dev/null +++ b/tests/resources/xml/wst_CanonicalizationAlgorithm.xml @@ -0,0 +1 @@ +urn:x-simplesamlphp:namespace diff --git a/tests/resources/xml/wst_ComputedKeyAlgorithm.xml b/tests/resources/xml/wst_ComputedKeyAlgorithm.xml new file mode 100644 index 00000000..374a2ef9 --- /dev/null +++ b/tests/resources/xml/wst_ComputedKeyAlgorithm.xml @@ -0,0 +1 @@ +urn:x-simplesamlphp:namespace diff --git a/tests/resources/xml/wst_Delegatable.xml b/tests/resources/xml/wst_Delegatable.xml new file mode 100644 index 00000000..bbe1554a --- /dev/null +++ b/tests/resources/xml/wst_Delegatable.xml @@ -0,0 +1 @@ +true diff --git a/tests/resources/xml/wst_EncryptWith.xml b/tests/resources/xml/wst_EncryptWith.xml new file mode 100644 index 00000000..f77741be --- /dev/null +++ b/tests/resources/xml/wst_EncryptWith.xml @@ -0,0 +1 @@ +urn:x-simplesamlphp:namespace diff --git a/tests/resources/xml/wst_EncryptionAlgorithm.xml b/tests/resources/xml/wst_EncryptionAlgorithm.xml new file mode 100644 index 00000000..89fd3c4b --- /dev/null +++ b/tests/resources/xml/wst_EncryptionAlgorithm.xml @@ -0,0 +1 @@ +urn:x-simplesamlphp:namespace diff --git a/tests/resources/xml/wst_Forwardable.xml b/tests/resources/xml/wst_Forwardable.xml new file mode 100644 index 00000000..bb4b658b --- /dev/null +++ b/tests/resources/xml/wst_Forwardable.xml @@ -0,0 +1 @@ +true diff --git a/tests/resources/xml/wst_SignWith.xml b/tests/resources/xml/wst_SignWith.xml new file mode 100644 index 00000000..4b4deaa6 --- /dev/null +++ b/tests/resources/xml/wst_SignWith.xml @@ -0,0 +1 @@ +urn:x-simplesamlphp:namespace diff --git a/tests/resources/xml/wst_SignatureAlgorithm.xml b/tests/resources/xml/wst_SignatureAlgorithm.xml new file mode 100644 index 00000000..637377d2 --- /dev/null +++ b/tests/resources/xml/wst_SignatureAlgorithm.xml @@ -0,0 +1 @@ +urn:x-simplesamlphp:namespace