Debian Codegraph @

lib/3rdParty/composer/web-auth/webauthn-lib/src/Event/CertificateChainValidationFailed.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Webauthn\Event;
6
7 final readonly class CertificateChainValidationFailed implements WebauthnEvent
8 {
9 /**
10 * @param string[] $untrustedCertificates
11 */
12 public function __construct(
13 public array $untrustedCertificates,
14 public string $trustedCertificate
15 ) {
16 }
17
18 /**
19 * @param string[] $untrustedCertificates
20 */
21 public static function create(array $untrustedCertificates, string $trustedCertificate): self
22 {
23 return new self($untrustedCertificates, $trustedCertificate);
24 }
25 }