Formats
9 months ago
Traits
9 months ago
.htaccess
9 months ago
AsymmetricKey.php
9 months ago
BlockCipher.php
9 months ago
PrivateKey.php
9 months ago
PublicKey.php
9 months ago
StreamCipher.php
9 months ago
SymmetricKey.php
9 months ago
index.html
9 months ago
web.config
9 months ago
PublicKey.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * PublicKey interface |
| 5 | * |
| 6 | * @author Jim Wigginton <terrafrost@php.net> |
| 7 | * @copyright 2009 Jim Wigginton |
| 8 | * @license http://www.opensource.org/licenses/mit-license.html MIT License |
| 9 | * @link http://phpseclib.sourceforge.net |
| 10 | */ |
| 11 | |
| 12 | declare(strict_types=1); |
| 13 | |
| 14 | namespace phpseclib3\Crypt\Common; |
| 15 | |
| 16 | /** |
| 17 | * PublicKey interface |
| 18 | * |
| 19 | * @author Jim Wigginton <terrafrost@php.net> |
| 20 | */ |
| 21 | interface PublicKey |
| 22 | { |
| 23 | public function verify($message, $signature); |
| 24 | //public function encrypt($plaintext); |
| 25 | public function toString(string $type, array $options = []): string; |
| 26 | public function getFingerprint($algorithm); |
| 27 | } |
| 28 |