[ Index ]

PHP Cross Reference of DokuWiki




/vendor/phpseclib/phpseclib/phpseclib/Crypt/ -> PublicKeyLoader.php (summary)

PublicKeyLoader Returns a PublicKey or PrivateKey object.

Author: Jim Wigginton
Copyright: 2009 Jim Wigginton
License: http://www.opensource.org/licenses/mit-license.html MIT License
Link: http://phpseclib.sourceforge.net
File Size: 111 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions


Functions that are not part of a class:

load($key, $password = false)   X-Ref
Loads a public or private key

return: AsymmetricKey
param: string|array $key
param: string $password optional

loadPrivateKey($key, $password = false)   X-Ref
Loads a private key

return: PrivateKey
param: string|array $key
param: string $password optional

loadPublicKey($key)   X-Ref
Loads a public key

return: PublicKey
param: string|array $key

loadParameters($key)   X-Ref
Loads parameters

return: AsymmetricKey
param: string|array $key