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 12namespace phpseclib3\Crypt\Common; 13 14/** 15 * PublicKey interface 16 * 17 * @author Jim Wigginton <terrafrost@php.net> 18 */ 19interface PublicKey 20{ 21 public function verify($message, $signature); 22 //public function encrypt($plaintext); 23 public function toString($type, array $options = []); 24 public function getFingerprint($algorithm); 25} 26