| Server IP : 195.130.67.5 / Your IP : 216.73.216.231 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/icd/msc/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;
}
}