| Server IP : 91.240.85.141 / Your IP : 216.73.216.223 Web Server : nginx/1.28.0 System : Linux nuevo.ru 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : ( 1029) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/fastpanel2-phpmyadmin/vendor/code-lts/u2f-php-server/src/ |
Upload File : |
<?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;
}
}