ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
validate (XMLSecurityKey $key) | |
Validate this element against a public key. More... | |
setCertificates (array $certificates) | |
Set the certificates that should be included in the element. More... | |
getCertificates () | |
Retrieve the certificates that are included in the element (if any). More... | |
getSignatureKey () | |
Retrieve the private key we should use to sign the element. More... | |
setSignatureKey (XMLSecurityKey $signatureKey=null) | |
Set the private key we should use to sign the element. More... | |
Definition at line 12 of file SignedElement.php.
SAML2\SignedElement::getCertificates | ( | ) |
Retrieve the certificates that are included in the element (if any).
Implemented in SAML2\Assertion, SAML2\Message, and SAML2\SignedElementHelper.
Referenced by SAML2\Signature\FingerprintValidator\canValidate().
SAML2\SignedElement::getSignatureKey | ( | ) |
Retrieve the private key we should use to sign the element.
Implemented in SAML2\Assertion, SAML2\Message, and SAML2\SignedElementHelper.
SAML2\SignedElement::setCertificates | ( | array | $certificates | ) |
Set the certificates that should be included in the element.
The certificates should be strings with the PEM encoded data.
array | $certificates | An array of certificates. |
Implemented in SAML2\Assertion, SAML2\Message, and SAML2\SignedElementHelper.
SAML2\SignedElement::setSignatureKey | ( | XMLSecurityKey | $signatureKey = null | ) |
Set the private key we should use to sign the element.
If the key is null, the message will be sent unsigned.
XMLSecurityKey | null | $signatureKey |
Implemented in SAML2\Assertion, SAML2\Message, and SAML2\SignedElementHelper.
SAML2\SignedElement::validate | ( | XMLSecurityKey | $key | ) |
Validate this element against a public key.
If no signature is present, false is returned. If a signature is present, but cannot be verified, an exception will be thrown.
XMLSecurityKey | $key | The key we should check against. |
Implemented in SAML2\Assertion, SAML2\Message, and SAML2\SignedElementHelper.
Referenced by SAML2\Signature\AbstractChainedValidator\validateElementWithKeys().