|
static | encodeOID ($oid) |
|
static | loadPrivate ($data, $passphrase= '') |
|
static | loadPublic ($data) |
|
|
const | AUTH_MAGIC = "openssh-key-v1\x00" |
| Magic value used to identity OpenSSH private keys.
|
|
OpenSSH key loader.
This class can read OpenSSH's Private Key format. See http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.key?rev=1.1 for more information on this format.
Definition at line 21 of file Openssh.php.
static fpoirotte\Pssht\KeyLoader\Openssh::encodeOID |
( |
|
$oid | ) |
|
|
static |
static fpoirotte\Pssht\KeyLoader\Openssh::parseOpensshPrivateKey |
( |
|
$data, |
|
|
|
$passphrase |
|
) |
| |
|
staticprivate |
static fpoirotte\Pssht\KeyLoader\Openssh::parseUnknown |
( |
|
$data, |
|
|
|
$passphrase |
|
) |
| |
|
staticprivate |
Attempt to parse an OpenSSH key type which is not recognized by the PHP OpenSSL extension.
- Parameters
-
string | $data | Raw data contained in the key file. |
string | $passphrase | Private passphrase to use to unlock the contents. |
- Return values
-
fpoirotte::Pssht:KeyInterface | The actual key. |
Definition at line 180 of file Openssh.php.
The documentation for this class was generated from the following file: