◆ generateV2Key()
static generateV2Key |
( |
|
$password, |
|
|
|
$length |
|
) |
| |
|
staticprivate |
◆ generateV3Key()
static generateV3Key |
( |
|
$password, |
|
|
|
$flavour, |
|
|
|
$memory, |
|
|
|
$passes, |
|
|
|
$salt |
|
) |
| |
|
staticprivate |
◆ load()
static load |
( |
|
$key, |
|
|
|
$password |
|
) |
| |
|
static |
Break a public or private key down into its constituent components
public
- Paramètres
-
string | $key | |
string | $password | |
- Renvoie
- array
Références $data, $hash, $key, Joomla\Database\Query\$offset, $password, $type, PuTTY\$version, EncoderInterface\decode(), Strings\is_stringable(), Strings\packSSH2(), et Strings\shift().
◆ setComment()
static setComment |
( |
|
$comment | ) |
|
|
static |
◆ setVersion()
static setVersion |
( |
|
$version | ) |
|
|
static |
◆ wrapPrivateKey()
static wrapPrivateKey |
( |
|
$public, |
|
|
|
$private, |
|
|
|
$type, |
|
|
|
$password, |
|
|
array |
$options = [] |
|
) |
| |
|
staticprotected |
Wrap a private key appropriately
private
- Paramètres
-
string | $public | |
string | $private | |
string | $type | |
string | $password | |
array | $options | optional |
- Renvoie
- string
Références PuTTY\$comment, $hash, $key, $options, $password, $type, PuTTY\$version, $version, EncoderInterface\encode(), Base64\encode(), Strings\packSSH2(), et Random\string().
◆ wrapPublicKey()
static wrapPublicKey |
( |
|
$key, |
|
|
|
$type |
|
) |
| |
|
staticprotected |
◆ $comment
$comment = 'phpseclib-generated-key' |
|
staticprivate |
◆ $version
La documentation de cette classe a été générée à partir du fichier suivant :