mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-30 04:39:02 +01:00
Fixed some RSA docblock types.
This commit is contained in:
parent
7053f06f91
commit
8c299f865f
@ -1020,9 +1020,9 @@ class RSA
|
||||
* @access private
|
||||
* @see self::_convertPublicKey()
|
||||
* @see self::_convertPrivateKey()
|
||||
* @param string $key
|
||||
* @param string|array $key
|
||||
* @param int $type
|
||||
* @return array
|
||||
* @return array|bool
|
||||
*/
|
||||
function _parseKey($key, $type)
|
||||
{
|
||||
@ -1505,8 +1505,9 @@ class RSA
|
||||
* Returns true on success and false on failure (ie. an incorrect password was provided or the key was malformed)
|
||||
*
|
||||
* @access public
|
||||
* @param string $key
|
||||
* @param int $type optional
|
||||
* @param string|RSA|array $key
|
||||
* @param bool $type optional
|
||||
* @return bool
|
||||
*/
|
||||
function loadKey($key, $type = false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user