Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class AppleDeviceMetadata implements MetadataInterface |
||
12 | { |
||
13 | public function getTrustAnchors(): array |
||
14 | { |
||
15 | return [ |
||
16 | new CertificateTrustAnchor(X509Certificate::fromPem(BundledData::getContents('apple/apple-webauthn-root.crt'))), |
||
17 | ]; |
||
18 | } |
||
19 | |||
20 | public function supportsAttestationType(string $type): bool |
||
21 | { |
||
22 | return $type === AttestationType::ANON_CA; |
||
23 | } |
||
24 | |||
25 | public function getStatusReports(): array |
||
26 | { |
||
27 | return []; |
||
28 | } |
||
29 | |||
30 | public function getDescription(): string |
||
33 | } |
||
34 | } |
||
35 |