ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
KeyName.php
Go to the documentation of this file.
1
<?php
2
3
namespace
SAML2\XML\ds
;
4
5
use
RobRichards\XMLSecLibs\XMLSecurityDSig
;
6
use
SAML2\Utils
;
7
13
class
KeyName
14
{
20
public
$name
;
21
27
public
function
__construct
(\
DOMElement
$xml
= null)
28
{
29
if
(
$xml
=== null) {
30
return
;
31
}
32
33
$this->name =
$xml
->textContent;
34
}
35
42
public
function
toXML
(\
DOMElement
$parent)
43
{
44
assert(is_string($this->name));
45
46
return
Utils::addString
($parent,
XMLSecurityDSig::XMLDSIGNS
,
'ds:KeyName'
, $this->name);
47
}
48
}
RobRichards\XMLSecLibs\XMLSecurityDSig\XMLDSIGNS
const XMLDSIGNS
Definition:
XMLSecurityDSig.php:53
Utils
SAML2\XML\ds\KeyName\__construct
__construct(\DOMElement $xml=null)
Initialize a KeyName element.
Definition:
KeyName.php:27
$xml
$xml
Definition:
metadata.php:240
DOMElement
SAML2\XML\ds\KeyName\$name
$name
Definition:
KeyName.php:20
SAML2\Utils\addString
static addString(\DOMElement $parent, $namespace, $name, $value)
Append string element.
Definition:
Utils.php:635
SAML2\XML\ds\KeyName
Definition:
KeyName.php:13
SAML2\XML\ds
Definition:
KeyInfo.php:3
XMLSecurityDSig
SAML2\XML\ds\KeyName\toXML
toXML(\DOMElement $parent)
Convert this KeyName element to XML.
Definition:
KeyName.php:42
libs
composer
vendor
simplesamlphp
saml2
src
SAML2
XML
ds
KeyName.php
Generated on Tue Jan 28 2025 19:01:11 for ILIAS by
1.8.13 (using
Doxyfile
)