|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for SAML2\SignedElement:
Collaboration diagram for SAML2\SignedElement: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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function: