[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
OpenSSH Key Handler PHP version 5
Author: | Jim Wigginton <[email protected]> |
Copyright: | 2015 Jim Wigginton |
License: | http://www.opensource.org/licenses/mit-license.html MIT License |
File Size: | 234 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
setComment($comment) X-Ref |
Sets the default comment param: string $comment |
load($key, $password = '') X-Ref |
Break a public or private key down into its constituent components $type can be either ssh-dss or ssh-rsa param: string $key param: string $password return: array |
setBinaryOutput($enabled) X-Ref |
Toggle between binary and printable keys Printable keys are what are generated by default. These are the ones that go in $HOME/.ssh/authorized_key. param: bool $enabled |
checkType($candidate) X-Ref |
Checks to see if the type is valid param: string $candidate |
wrapPrivateKey($publicKey, $privateKey, $password, $options) X-Ref |
Wrap a private key appropriately param: string $publicKey param: string $privateKey param: string $password param: array $options return: string |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |