[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/fgrosse/phpasn1/lib/ASN1/ -> Parsable.php (source)

   1  <?php
   2  /*
   3   * This file is part of the PHPASN1 library.
   4   *
   5   * Copyright © Friedrich Große <[email protected]>
   6   *
   7   * For the full copyright and license information, please view the LICENSE
   8   * file that was distributed with this source code.
   9   */
  10  
  11  namespace FG\ASN1;
  12  
  13  use FG\ASN1\Exception\ParserException;
  14  
  15  /**
  16   * The Parsable interface describes classes that can be parsed from their binary DER representation.
  17   */
  18  interface Parsable
  19  {
  20      /**
  21       * Parse an instance of this class from its binary DER encoded representation.
  22       *
  23       * @param string $binaryData
  24       * @param int $offsetIndex the offset at which parsing of the $binaryData is started. This parameter ill be modified
  25       *            to contain the offset index of the next object after this object has been parsed
  26       *
  27       * @throws ParserException if the given binary data is either invalid or not currently supported
  28       *
  29       * @return static
  30       */
  31      public static function fromBinary(&$binaryData, &$offsetIndex = null);
  32  }


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