[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
PuTTY Formatted Key Handler See PuTTY's SSHPUBK.C and https://tartarus.org/~simon/putty-snapshots/htmldoc/AppendixC.html
Author: | Jim Wigginton <[email protected]> |
Copyright: | 2016 Jim Wigginton |
License: | http://www.opensource.org/licenses/mit-license.html MIT License |
File Size: | 389 lines (14 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 |
setVersion($version) X-Ref |
Sets the default version param: int $version |
generateV2Key($password, $length) X-Ref |
Generate a symmetric key for PuTTY v2 keys param: string $password param: int $length return: string |
generateV3Key($password, $flavour, $memory, $passes, $salt) X-Ref |
Generate a symmetric key for PuTTY v3 keys param: string $password param: string $flavour param: int $memory param: int $passes param: string $salt return: array |
load($key, $password) X-Ref |
Break a public or private key down into its constituent components param: string $key param: string $password return: array |
wrapPrivateKey($public, $private, $type, $password, array $options = []) X-Ref |
Wrap a private key appropriately param: string $public param: string $private param: string $type param: string $password param: array $options optional return: string |
wrapPublicKey($key, $type) X-Ref |
Wrap a public key appropriately This is basically the format described in RFC 4716 (https://tools.ietf.org/html/rfc4716) param: string $key param: string $type return: string |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |