HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/phpmyadmin/vendor/code-lts/u2f-php-server/src/Registration.php
<?php

namespace CodeLts\U2F\U2FServer;

class Registration
{
    /** @var string The key handle of the registered authenticator */
    protected $keyHandle;
    /** @var string The public key of the registered authenticator */
    protected $publicKey;
    /** @var string The attestation certificate of the registered authenticator */
    protected $certificate;
    /** @var int The counter associated with this registration */
    protected $counter = -1;

    /**
     * @param string $keyHandle
     * @return void
     */
    public function setKeyHandle($keyHandle)
    {
        $this->keyHandle = $keyHandle;
    }

    /**
     * @param string $publicKey
     * @return void
     */
    public function setPublicKey($publicKey)
    {
        $this->publicKey = $publicKey;
    }

    /**
     * @param string $certificate
     * @return void
     */
    public function setCertificate($certificate)
    {
        $this->certificate = $certificate;
    }

    /**
     * @return string
     */
    public function getKeyHandle()
    {
        return $this->keyHandle;
    }

    /**
     * @return string
     */
    public function getPublicKey()
    {
        return $this->publicKey;
    }

    /**
     * @return string
     */
    public function getCertificate()
    {
        return $this->certificate;
    }

    /**
     * @return int
     */
    public function getCounter()
    {
        return $this->counter;
    }

}