You are here

public function XMLSecurityDSig::appendSignature in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

Parameters

DOMNode $parentNode:

bool $insertBefore:

Return value

DOMNode

1 call to XMLSecurityDSig::appendSignature()
XMLSecurityDSig::sign in includes/XMLSecurityKey.php

File

includes/XMLSecurityKey.php, line 1600

Class

XMLSecurityDSig

Code

public function appendSignature($parentNode, $insertBefore = false) {
  $beforeNode = $insertBefore ? $parentNode->firstChild : null;
  return $this
    ->insertSignature($parentNode, $beforeNode);
}