[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 declare(strict_types=1); 4 5 /* 6 * The MIT License (MIT) 7 * 8 * Copyright (c) 2014-2019 Spomky-Labs 9 * 10 * This software may be modified and distributed under the terms 11 * of the MIT license. See the LICENSE file for details. 12 */ 13 14 namespace Webauthn\MetadataService; 15 16 class BiometricStatusReport 17 { 18 /** 19 * @var int 20 */ 21 private $certLevel; 22 23 /** 24 * @var int 25 */ 26 private $modality; 27 28 /** 29 * @var string|null 30 */ 31 private $effectiveDate; 32 33 /** 34 * @var string|null 35 */ 36 private $certificationDescriptor; 37 38 /** 39 * @var string|null 40 */ 41 private $certificateNumber; 42 43 /** 44 * @var string|null 45 */ 46 private $certificationPolicyVersion; 47 48 /** 49 * @var string|null 50 */ 51 private $certificationRequirementsVersion; 52 53 public function getCertLevel(): int 54 { 55 return $this->certLevel; 56 } 57 58 public function getModality(): int 59 { 60 return $this->modality; 61 } 62 63 public function getEffectiveDate(): ?string 64 { 65 return $this->effectiveDate; 66 } 67 68 public function getCertificationDescriptor(): ?string 69 { 70 return $this->certificationDescriptor; 71 } 72 73 public function getCertificateNumber(): ?string 74 { 75 return $this->certificateNumber; 76 } 77 78 public function getCertificationPolicyVersion(): ?string 79 { 80 return $this->certificationPolicyVersion; 81 } 82 83 public function getCertificationRequirementsVersion(): ?string 84 { 85 return $this->certificationRequirementsVersion; 86 } 87 88 public static function createFromArray(array $data): self 89 { 90 $object = new self(); 91 $object->certLevel = $data['certLevel'] ?? null; 92 $object->modality = $data['modality'] ?? null; 93 $object->effectiveDate = $data['effectiveDate'] ?? null; 94 $object->certificationDescriptor = $data['certificationDescriptor'] ?? null; 95 $object->certificateNumber = $data['certificateNumber'] ?? null; 96 $object->certificationPolicyVersion = $data['certificationPolicyVersion'] ?? null; 97 $object->certificationRequirementsVersion = $data['certificationRequirementsVersion'] ?? null; 98 99 return $object; 100 } 101 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |