diff --git a/src/XML/xenc11/DerivedKeyName.php b/src/XML/xenc11/DerivedKeyName.php new file mode 100644 index 00000000..c51908b3 --- /dev/null +++ b/src/XML/xenc11/DerivedKeyName.php @@ -0,0 +1,26 @@ +setContent($content); + } +} diff --git a/tests/XML/xenc11/DerivedKeyNameTest.php b/tests/XML/xenc11/DerivedKeyNameTest.php new file mode 100644 index 00000000..ccd95a8f --- /dev/null +++ b/tests/XML/xenc11/DerivedKeyNameTest.php @@ -0,0 +1,51 @@ +assertEquals( + self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), + strval($derivedKeyName), + ); + } +} diff --git a/tests/resources/xml/xenc11_DerivedKeyName.xml b/tests/resources/xml/xenc11_DerivedKeyName.xml new file mode 100644 index 00000000..a219ef3c --- /dev/null +++ b/tests/resources/xml/xenc11_DerivedKeyName.xml @@ -0,0 +1 @@ +phpunit