Validates a signature (Message or Assertion).
public static validateSign ( string | DomNode $xml, string | null $cert = null, string | null $fingerprint = null, string | null $fingerprintalg = 'sha1', string | null $xpath = null ) : boolean | ||
$xml | string | DomNode | The element we should validate |
$cert | string | null | The pubic cert |
$fingerprint | string | null | The fingerprint of the public cert |
$fingerprintalg | string | null | The algorithm used to get the fingerprint |
$xpath | string | null | The xpath of the signed element |
return | boolean |