simplesamlphp /
xml-security
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace SimpleSAML\XMLSecurity\XML; |
||
| 6 | |||
| 7 | use SimpleSAML\XMLSchema\Type\IDValue; |
||
|
0 ignored issues
–
show
|
|||
| 8 | use SimpleSAML\XMLSecurity\Alg\Signature\SignatureAlgorithmInterface; |
||
| 9 | use SimpleSAML\XMLSecurity\XML\ds\KeyInfo; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * An interface describing objects that can be signed. |
||
| 13 | * |
||
| 14 | * @package simplesamlphp/xml-security |
||
| 15 | */ |
||
| 16 | interface SignableElementInterface extends CanonicalizableElementInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Get the ID of this element. |
||
| 20 | * |
||
| 21 | * When this method returns null, the signature created for this object will reference the entire document. |
||
| 22 | * |
||
| 23 | * @return \SimpleSAML\XML\Type\IDValue|null The ID of this element, or null if we don't have one. |
||
|
0 ignored issues
–
show
The type
SimpleSAML\XML\Type\IDValue was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 24 | */ |
||
| 25 | public function getId(): ?IDValue; |
||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * Sign the current element. |
||
| 30 | * |
||
| 31 | * @note The signature will not be applied until toXML() is called. |
||
| 32 | * |
||
| 33 | * @param \SimpleSAML\XMLSecurity\Alg\Signature\SignatureAlgorithmInterface $signer The actual signer implementation |
||
| 34 | * to use. |
||
| 35 | * @param string $canonicalizationAlg The identifier of the canonicalization algorithm to use. |
||
| 36 | * @param \SimpleSAML\XMLSecurity\XML\ds\KeyInfo|null $keyInfo A KeyInfo object to add to the signature. |
||
| 37 | */ |
||
| 38 | public function sign( |
||
| 39 | SignatureAlgorithmInterface $signer, |
||
| 40 | string $canonicalizationAlg, |
||
| 41 | ?KeyInfo $keyInfo = null, |
||
| 42 | ): void; |
||
| 43 | } |
||
| 44 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths