public function __construct(CredentialId $credentialId, CoseKeyInterface $publicKey, UserHandle $userHandle, ByteBuffer $attestationObject, int $signCounter)
36
{
37
2
$this->credentialId = $credentialId;
38
2
$this->publicKey = $publicKey;
39
2
$this->userHandle = $userHandle;
40
2
$this->attestationObject = $attestationObject;
41
2
$this->signCounter = $signCounter;
42
2
}
43
44
2
public function getCredentialId(): CredentialId
45
{
46
2
return $this->credentialId;
47
}
48
49
1
public function getSignCounter(): int
50
{
51
1
return $this->signCounter;
52
}
53
54
2
public function getPublicKey(): CoseKeyInterface
55
{
56
2
return $this->publicKey;
57
}
58
59
2
public function getUserHandle(): UserHandle
60
{
61
2
return $this->userHandle;
62
}
63
64
1
public function getAttestationObject(): ByteBuffer