phpseclib\Crypt\RSA\Raw::savePublicKey PHP Method

savePublicKey() static public method

Convert a public key to the appropriate format
static public savePublicKey ( phpseclib\Math\BigInteger $n, phpseclib\Math\BigInteger $e ) : string
$n phpseclib\Math\BigInteger
$e phpseclib\Math\BigInteger
return string
    static function savePublicKey(BigInteger $n, BigInteger $e)
    {
        return array('e' => clone $e, 'n' => clone $n);
    }