📂 File Browser

AgentAI/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Formats/ 🔓 Open
📁 Traits/ 🔓 Open

📄 Files

🐘 AsymmetricKey.php
▶ Open 📄 View Source
🐘 BlockCipher.php
▶ Open 📄 View Source
🐘 PrivateKey.php
▶ Open 📄 View Source
🐘 PublicKey.php
▶ Open 📄 View Source
🐘 StreamCipher.php
▶ Open 📄 View Source
🐘 SymmetricKey.php
▶ Open 📄 View Source

📄 Source: PrivateKey.php

<?php

/**
 * PrivateKey interface
 *
 * @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
 *
 * @author  Jim Wigginton <terrafrost@php.net>
 */
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);
}
← Back