| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class Utils |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Create a KeyDescriptor with the given certificate. |
||
| 23 | * |
||
| 24 | * @param string $x509Data The certificate, as a base64-encoded PEM data. |
||
| 25 | * @return \SimpleSAML\SAML2\XML\md\KeyDescriptor The keydescriptor. |
||
| 26 | */ |
||
| 27 | public static function createKeyDescriptor(string $x509Data): KeyDescriptor |
||
| 38 | } |
||
| 39 | |||
| 40 | |||
| 41 | /** |
||
| 42 | * @return \SimpleSAML\SAML2\Compat\AbstractContainer |
||
| 43 | */ |
||
| 44 | public static function getContainer(): AbstractContainer |
||
| 49 |