CoreFiles by mySites.guru
AttestationObject.php52 lines, 1,172 bytes, from Joomla_5.0.2-Stable-Full_Package.zip
Raw History Compare with 5.0.1
md5
f99501be512f9b722f1e852ce2ae5310
sha1
1325a8e7a6e461a8d47e64fe5381fe57aa665429
sha256
24e64becc39202342b658342c860a151d29c2d8dee18fdc723bb9df30471fe3c
<?php

declare(strict_types=1);

namespace Webauthn\AttestationStatement;

use Webauthn\AuthenticatorData;
use Webauthn\MetadataService\Statement\MetadataStatement;

class AttestationObject
{
    private ?MetadataStatement $metadataStatement = null;

    public function __construct(
        private readonly string $rawAttestationObject,
        private AttestationStatement $attStmt,
        private readonly AuthenticatorData $authData
    ) {
    }

    public function getRawAttestationObject(): string
    {
        return $this->rawAttestationObject;
    }

    public function getAttStmt(): AttestationStatement
    {
        return $this->attStmt;
    }

    public function setAttStmt(AttestationStatement $attStmt): void
    {
        $this->attStmt = $attStmt;
    }

    public function getAuthData(): AuthenticatorData
    {
        return $this->authData;
    }

    public function getMetadataStatement(): ?MetadataStatement
    {
        return $this->metadataStatement;
    }

    public function setMetadataStatement(MetadataStatement $metadataStatement): self
    {
        $this->metadataStatement = $metadataStatement;

        return $this;
    }
}

The same content is in 158 releases, Joomla 5.0.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.