Skip to content

Commit

Permalink
Merge pull request #301 from web-auth/4.1.x-merge-up-into-4.2.x_TxmcLARe
Browse files Browse the repository at this point in the history
Merge release 4.1.5 into 4.2.x
  • Loading branch information
Spomky authored Sep 27, 2022
2 parents b2eece1 + 3004c77 commit 6031e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function load(array $attestation): AttestationStatement
);
$certificates = CertificateToolbox::convertAllDERToPEM($certificates);

return AttestationStatement::createAnonymizationCA(
return AttestationStatement::createBasic(
$attestation['fmt'],
$attestation['attStmt'],
new CertificateTrustPath($certificates)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function load(array $attestation): AttestationStatement
$certificates = $this->convertCertificatesToPem($jwsHeader['x5c']);
$attestation['attStmt']['jws'] = $jws;

return AttestationStatement::createAnonymizationCA(
return AttestationStatement::createBasic(
$this->name(),
$attestation['attStmt'],
new CertificateTrustPath($certificates)
Expand Down

0 comments on commit 6031e43

Please sign in to comment.