Your IP : 52.15.209.178


Current Path : /home/lentoinv/api.lentoria.com/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
Upload File :
Current File : /home/lentoinv/api.lentoria.com/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/PrivateKey.php

<?php

/**
 * PrivateKey interface
 *
 * @category  Crypt
 * @package   Common
 * @author    Jim Wigginton <terrafrost@php.net>
 * @copyright 2009 Jim Wigginton
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
 * @link      http://phpseclib.sourceforge.net
 */

namespace phpseclib3\Crypt\Common;

/**
 * PrivateKey interface
 *
 * @package Common
 * @author  Jim Wigginton <terrafrost@php.net>
 * @access  public
 */
interface PrivateKey
{
    public function sign($message);
    //public function decrypt($ciphertext);
    public function getPublicKey();
    public function toString($type, array $options = []);

    /**
     * @param string|false $password
     * @return mixed
     */
    public function withPassword($password = false);
}

?>