|
| | createPassphraseFile ($passphrase, $passphraseFile, $privateKeyFile, $privateKeyPassphrase) |
| |
| | deleteValue ($path) |
| |
| | loadKeychain ($keychainFile, $passphraseFile, $publicKeyFile) |
| |
| | saveKeychain ($keychainFile, $passphraseFile, $publicKeyFile) |
| |
| | __construct ($data=null) |
| |
| | __clone () |
| |
| | __toString () |
| |
| | count () |
| |
| | jsonSerialize () |
| |
| | def ($key, $default='') |
| |
| | exists ($path) |
| |
| | get ($path, $default=null) |
| |
| | getIterator () |
| |
| | loadArray ($array, $flattened=false, $separator=null) |
| |
| | loadObject ($object) |
| |
| | loadFile ($file, $format='JSON', $options=array()) |
| |
| | loadString ($data, $format='JSON', $options=array()) |
| |
| | merge ($source, $recursive=false) |
| |
| | extract ($path) |
| |
| | offsetExists ($offset) |
| |
| | offsetGet ($offset) |
| |
| | offsetSet ($offset, $value) |
| |
| | offsetUnset ($offset) |
| |
| | set ($path, $value, $separator=null) |
| |
| | append ($path, $value) |
| |
| | remove ($path) |
| |
| | toArray () |
| |
| | toObject () |
| |
| | toString ($format='JSON', $options=array()) |
| |
| | flatten ($separator=null) |
| |
Keychain Class
- Depuis
- 3.1.4
- Obsolète:
- 4.0 Deprecated without replacement
◆ createPassphraseFile()
| createPassphraseFile |
( |
|
$passphrase, |
|
|
|
$passphraseFile, |
|
|
|
$privateKeyFile, |
|
|
|
$privateKeyPassphrase |
|
) |
| |
Create a passphrase file
- Paramètres
-
| string | $passphrase | The passphrase to store in the passphrase file. |
| string | $passphraseFile | Path to the passphrase file to create. |
| string | $privateKeyFile | Path to the private key file to encrypt the passphrase file. |
| string | $privateKeyPassphrase | The passphrase for the private key. |
- Renvoie
- boolean Result of writing the passphrase file to disk.
- Depuis
- 3.1.4
- Exceptions
-
◆ deleteValue()
Delete a registry value (very simple method)
- Paramètres
-
| string | $path | Registry Path (e.g. joomla.content.showauthor) |
- Renvoie
- mixed Value of old value or boolean false if operation failed
- Depuis
- 3.1.4
Références $data, $i, $n, $path, et null.
◆ getPassphraseFromFile()
| getPassphraseFromFile |
( |
|
$passphraseFile, |
|
|
|
$publicKeyFile |
|
) |
| |
|
protected |
Get the passphrase for this keychain
- Paramètres
-
| string | $passphraseFile | The file containing the passphrase to encrypt and decrypt. |
| string | $publicKeyFile | The file containing the public key to decrypt the passphrase file. |
- Renvoie
- string The passphrase in from passphraseFile
- Depuis
- 3.1.4
- Exceptions
-
◆ loadKeychain()
| loadKeychain |
( |
|
$keychainFile, |
|
|
|
$passphraseFile, |
|
|
|
$publicKeyFile |
|
) |
| |
Load a keychain file into this object.
- Paramètres
-
| string | $keychainFile | Path to the keychain file. |
| string | $passphraseFile | The path to the passphrase file to decript the keychain. |
| string | $publicKeyFile | The file containing the public key to decrypt the passphrase file. |
- Renvoie
- boolean Result of loading the object.
- Depuis
- 3.1.4
- Exceptions
-
Références method.
Référencé par KeychainManager\loadKeychain().
◆ saveKeychain()
| saveKeychain |
( |
|
$keychainFile, |
|
|
|
$passphraseFile, |
|
|
|
$publicKeyFile |
|
) |
| |
Save this keychain to a file.
- Paramètres
-
| string | $keychainFile | The path to the keychain file. |
| string | $passphraseFile | The path to the passphrase file to encrypt the keychain. |
| string | $publicKeyFile | The file containing the public key to decrypt the passphrase file. |
- Renvoie
- boolean Result of storing the file.
- Depuis
- 3.1.4
- Exceptions
-
Références $data, et method.
◆ $iv
◆ $method
La documentation de cette classe a été générée à partir du fichier suivant :