Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | public function addConfiguration(NodeDefinition $node) |
||
42 | { |
||
43 | $node |
||
44 | ->children() |
||
45 | ->scalarNode('curve') |
||
46 | ->validate() |
||
47 | ->ifTrue(self::checkCurve()) |
||
48 | ->thenInvalid('Unsupported curve. Please use "P-256", "P-384" or "P-521".') |
||
49 | ->end() |
||
50 | ->isRequired() |
||
51 | ->end() |
||
52 | ->end(); |
||
53 | parent::addConfiguration($node); |
||
54 | } |
||
55 | |||
66 |