| Total Complexity | 4 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | abstract class AbstractECValidationDataType extends AbstractDsig11Element |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Initialize a ECValidationDataType element. |
||
| 21 | * |
||
| 22 | * @param \SimpleSAML\XMLSecurity\XML\dsig11\Seed $seed |
||
| 23 | * @param \SimpleSAML\XMLSchema\Type\AnyURIValue $hashAlgorithm |
||
| 24 | */ |
||
| 25 | public function __construct( |
||
| 26 | protected Seed $seed, |
||
| 27 | protected AnyURIValue $hashAlgorithm, |
||
| 28 | ) { |
||
| 29 | } |
||
| 30 | |||
| 31 | |||
| 32 | /** |
||
| 33 | * Collect the value of the seed-property |
||
| 34 | * |
||
| 35 | * @return \SimpleSAML\XMLSecurity\XML\dsig11\Seed |
||
| 36 | */ |
||
| 37 | public function getSeed(): Seed |
||
| 38 | { |
||
| 39 | return $this->seed; |
||
| 40 | } |
||
| 41 | |||
| 42 | |||
| 43 | /** |
||
| 44 | * Collect the value of the hashAlgorithm-property |
||
| 45 | * |
||
| 46 | * @return \SimpleSAML\XMLSchema\Type\AnyURIValue |
||
| 47 | */ |
||
| 48 | public function getHashAlgorithm(): AnyURIValue |
||
| 51 | } |
||
| 52 | |||
| 53 | |||
| 54 | /** |
||
| 55 | * Convert this ECValidationDataType element to XML. |
||
| 56 | * |
||
| 57 | * @param \DOMElement|null $parent The element we should append this ECValidationDataType element to. |
||
| 58 | * @return \DOMElement |
||
| 59 | */ |
||
| 60 | public function toXML(?DOMElement $parent = null): DOMElement |
||
| 68 | } |
||
| 69 | } |
||
| 70 |