ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
X509Certificate.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
X509Certificate
14
{
20
public
$certificate
;
21
27
public
function
__construct
(\
DOMElement
$xml
= null)
28
{
29
if
(
$xml
=== null) {
30
return
;
31
}
32
33
$this->certificate =
$xml
->textContent;
34
}
35
42
public
function
toXML
(\
DOMElement
$parent)
43
{
44
assert(is_string($this->certificate));
45
46
return
Utils::addString
($parent,
XMLSecurityDSig::XMLDSIGNS
,
'ds:X509Certificate'
, $this->certificate);
47
}
48
}
RobRichards\XMLSecLibs\XMLSecurityDSig\XMLDSIGNS
const XMLDSIGNS
Definition:
XMLSecurityDSig.php:53
SAML2\XML\ds\X509Certificate\$certificate
$certificate
Definition:
X509Certificate.php:20
Utils
SAML2\XML\ds\X509Certificate
Definition:
X509Certificate.php:13
SAML2\XML\ds\X509Certificate\__construct
__construct(\DOMElement $xml=null)
Initialize an X509Certificate element.
Definition:
X509Certificate.php:27
DOMElement
SAML2\Utils\addString
static addString(\DOMElement $parent, $namespace, $name, $value)
Append string element.
Definition:
Utils.php:635
$xml
$xml
Definition:
fetch_windows_zones.php:11
SAML2\XML\ds
Definition:
KeyInfo.php:3
XMLSecurityDSig
php
SAML2\XML\ds\X509Certificate\toXML
toXML(\DOMElement $parent)
Convert this X509Certificate element to XML.
Definition:
X509Certificate.php:42
libs
composer
vendor
simplesamlphp
saml2
src
SAML2
XML
ds
X509Certificate.php
Generated on Thu Jan 16 2025 19:01:54 for ILIAS by
1.8.13 (using
Doxyfile
)