@@ -30,15 +30,15 @@ |
||
| 30 | 30 | protected $certificates; |
| 31 | 31 | |
| 32 | 32 | |
| 33 | - /** |
|
| 34 | - * Validate this element against a public key. |
|
| 35 | - * |
|
| 36 | - * If no signature is present, false is returned. If a signature is present, |
|
| 37 | - * but cannot be verified, an exception will be thrown. |
|
| 38 | - * |
|
| 39 | - * @param XMLSecurityKey $key The key we should check against. |
|
| 40 | - * @return bool True if successful, false if we don't have a signature that can be verified. |
|
| 41 | - */ |
|
| 33 | + /** |
|
| 34 | + * Validate this element against a public key. |
|
| 35 | + * |
|
| 36 | + * If no signature is present, false is returned. If a signature is present, |
|
| 37 | + * but cannot be verified, an exception will be thrown. |
|
| 38 | + * |
|
| 39 | + * @param XMLSecurityKey $key The key we should check against. |
|
| 40 | + * @return bool True if successful, false if we don't have a signature that can be verified. |
|
| 41 | + */ |
|
| 42 | 42 | abstract public function validate(XMLSecurityKey $key) : bool; |
| 43 | 43 | |
| 44 | 44 | |