private function XMLSecurityDSig::getXPathObj in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
Returns the XPathObj or null if xPathCtx is set and sigNode is empty.
Return value
DOMXPath|null
9 calls to XMLSecurityDSig::getXPathObj()
- XMLSecurityDSig::add509Cert in src/
XMLSecurityKey.php - XMLSecurityDSig::addReference in src/
XMLSecurityKey.php - XMLSecurityDSig::addReferenceList in src/
XMLSecurityKey.php - XMLSecurityDSig::appendToKeyInfo in src/
XMLSecurityKey.php - This function appends a node to the KeyInfo.
- XMLSecurityDSig::canonicalizeSignedInfo in src/
XMLSecurityKey.php
File
- src/
XMLSecurityKey.php, line 805
Class
Namespace
Drupal\miniorange_samlCode
private function getXPathObj() {
if (empty($this->xPathCtx) && !empty($this->sigNode)) {
$xpath = new DOMXPath($this->sigNode->ownerDocument);
$xpath
->registerNamespace('secdsig', self::XMLDSIGNS);
$this->xPathCtx = $xpath;
}
return $this->xPathCtx;
}