forked from friendica/friendica-addons
25 lines
590 B
PHP
25 lines
590 B
PHP
<?php
|
|
|
|
/**
|
|
* PublicKey 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;
|
|
|
|
/**
|
|
* PublicKey interface
|
|
*
|
|
* @author Jim Wigginton <terrafrost@php.net>
|
|
*/
|
|
interface PublicKey
|
|
{
|
|
public function verify($message, $signature);
|
|
//public function encrypt($plaintext);
|
|
public function toString($type, array $options = []);
|
|
public function getFingerprint($algorithm);
|
|
}
|