Lines Matching full:xml
10 protected $xml = ''; variable in admin_plugin_adfs
17 $xml = $http->get($INPUT->str('url'));
18 if ($xml === false) {
21 $this->xml = $xml;
23 } elseif ($INPUT->has('xml')) {
25 $this->xml = $INPUT->str('xml');
37 if ($this->xml) $urlinput->val('')->useInput(false);
38 $form->addTextarea('xml', 'The XML Metadata')->val($this->xml)->useInput(false);
43 if ($this->xml) {
44 $data = $this->metaData($this->xml);
63 public function metaData($xml) argument
66 $xml = @simplexml_load_string($xml);
67 if ($xml === false) {
68 msg('Failed to parse the the XML', -1);
72 $xml->registerXPathNamespace('md', 'urn:oasis:names:tc:SAML:2.0:metadata');
73 $xml->registerXPathNamespace('ds', 'http://www.w3.org/2000/09/xmldsig#');
76 $data['idPEntityID'] = (string)$xml['entityID'];
77 …$data['endpoint'] = (string)($xml->xpath($proto . '/md:SingleSignOnService[@Binding="urn:oasis:nam…
78 …$data['certificate'] = (string)($xml->xpath($proto . '/md:KeyDescriptor[@use="signing"]/ds:KeyInfo…