[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/web-auth/webauthn-lib/src/AttestationStatement/ -> AttestationObject.php (source)

   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\AttestationStatement;
  15  
  16  use Webauthn\AuthenticatorData;
  17  
  18  class AttestationObject
  19  {
  20      /**
  21       * @var string
  22       */
  23      private $rawAttestationObject;
  24      /**
  25       * @var AttestationStatement
  26       */
  27      private $attStmt;
  28      /**
  29       * @var AuthenticatorData
  30       */
  31      private $authData;
  32  
  33      public function __construct(string $rawAttestationObject, AttestationStatement $attStmt, AuthenticatorData $authData)
  34      {
  35          $this->rawAttestationObject = $rawAttestationObject;
  36          $this->attStmt = $attStmt;
  37          $this->authData = $authData;
  38      }
  39  
  40      public function getRawAttestationObject(): string
  41      {
  42          return $this->rawAttestationObject;
  43      }
  44  
  45      public function getAttStmt(): AttestationStatement
  46      {
  47          return $this->attStmt;
  48      }
  49  
  50      public function getAuthData(): AuthenticatorData
  51      {
  52          return $this->authData;
  53      }
  54  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer