[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ -> PrivateKey.php (source)

   1  <?php
   2  
   3  /**
   4   * PrivateKey interface
   5   *
   6   * @category  Crypt
   7   * @package   Common
   8   * @author    Jim Wigginton <[email protected]>
   9   * @copyright 2009 Jim Wigginton
  10   * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
  11   * @link      http://phpseclib.sourceforge.net
  12   */
  13  
  14  namespace phpseclib3\Crypt\Common;
  15  
  16  /**
  17   * PrivateKey interface
  18   *
  19   * @package Common
  20   * @author  Jim Wigginton <[email protected]>
  21   * @access  public
  22   */
  23  interface PrivateKey
  24  {
  25      public function sign($message);
  26      //public function decrypt($ciphertext);
  27      public function getPublicKey();
  28      public function toString($type, array $options = []);
  29  
  30      /**
  31       * @param string|false $password
  32       * @return mixed
  33       */
  34      public function withPassword($password = false);
  35  }


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