Check the signature on a SAML2 message or assertion.
public static checkSign ( SimpleSAML_Configuration $srcMetadata, SAML2\SignedElement $element ) | ||
$srcMetadata | SimpleSAML_Configuration | The metadata of the sender. |
$element | SAML2\SignedElement | Either a \SAML2\Response or a \SAML2\Assertion. |