mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-05 13:28:27 +00:00
AsymmetricKey: visibility fixes
This commit is contained in:
parent
fc6a97083c
commit
af6048b48e
@ -301,7 +301,7 @@ abstract class AsymmetricKey
|
|||||||
* @param string $type
|
* @param string $type
|
||||||
* @return array|bool
|
* @return array|bool
|
||||||
*/
|
*/
|
||||||
protected function load($key, $type)
|
public function load($key, $type)
|
||||||
{
|
{
|
||||||
$components = false;
|
$components = false;
|
||||||
if ($type === false) {
|
if ($type === false) {
|
||||||
@ -341,7 +341,7 @@ abstract class AsymmetricKey
|
|||||||
* @param string $type
|
* @param string $type
|
||||||
* @return array|bool
|
* @return array|bool
|
||||||
*/
|
*/
|
||||||
protected function setPublicKey($key, $type)
|
public function setPublicKey($key, $type)
|
||||||
{
|
{
|
||||||
$components = false;
|
$components = false;
|
||||||
if ($type === false) {
|
if ($type === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user