Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe File

Fonctions membres publiques statiques

static encryptFile ($inputFilename, $outputFilename, Key $key)
 
static encryptFileWithPassword ($inputFilename, $outputFilename, $password)
 
static decryptFile ($inputFilename, $outputFilename, Key $key)
 
static decryptFileWithPassword ($inputFilename, $outputFilename, $password)
 
static encryptResource ($inputHandle, $outputHandle, Key $key)
 
static encryptResourceWithPassword ($inputHandle, $outputHandle, $password)
 
static decryptResource ($inputHandle, $outputHandle, Key $key)
 
static decryptResourceWithPassword ($inputHandle, $outputHandle, $password)
 

Fonctions membres privées statiques

static encryptFileInternal ($inputFilename, $outputFilename, KeyOrPassword $secret)
 
static decryptFileInternal ($inputFilename, $outputFilename, KeyOrPassword $secret)
 
static getLastErrorMessage ()
 

Documentation des fonctions membres

◆ decryptFile()

static decryptFile (   $inputFilename,
  $outputFilename,
Key  $key 
)
static

Decrypts the input file, saving the plaintext to the output file.

Paramètres
string$inputFilename
string$outputFilename
Key$key
Renvoie
void
Exceptions
Ex

Références $key, et KeyOrPassword\createFromKey().

◆ decryptFileInternal()

static decryptFileInternal (   $inputFilename,
  $outputFilename,
KeyOrPassword  $secret 
)
staticprivate

Decrypts a file with either a key or a password.

Paramètres
string$inputFilename
string$outputFilename
KeyOrPassword$secret
Renvoie
void
Exceptions
Ex

◆ decryptFileWithPassword()

static decryptFileWithPassword (   $inputFilename,
  $outputFilename,
  $password 
)
static

Decrypts a file with a password, using a slow key derivation function to make password cracking more expensive.

Paramètres
string$inputFilename
string$outputFilename
string$password
Renvoie
void
Exceptions
Ex

Références $password, et KeyOrPassword\createFromPassword().

◆ decryptResource()

static decryptResource (   $inputHandle,
  $outputHandle,
Key  $key 
)
static

Takes two resource handles and decrypts the contents of the first, writing the plaintext into the second.

Paramètres
resource$inputHandle
resource$outputHandle
Key$key
Renvoie
void
Exceptions
Ex

Références $key, et KeyOrPassword\createFromKey().

◆ decryptResourceWithPassword()

static decryptResourceWithPassword (   $inputHandle,
  $outputHandle,
  $password 
)
static

Decrypts the contents of one resource into another with a password, using a slow key derivation function to make password cracking more expensive.

Paramètres
resource$inputHandle
resource$outputHandle
string$password
Renvoie
void
Exceptions
Ex

Références $password, et KeyOrPassword\createFromPassword().

◆ encryptFile()

static encryptFile (   $inputFilename,
  $outputFilename,
Key  $key 
)
static

Encrypts the input file, saving the ciphertext to the output file.

Paramètres
string$inputFilename
string$outputFilename
Key$key
Renvoie
void
Exceptions
Ex

Références $key, et KeyOrPassword\createFromKey().

◆ encryptFileInternal()

static encryptFileInternal (   $inputFilename,
  $outputFilename,
KeyOrPassword  $secret 
)
staticprivate

Encrypts a file with either a key or a password.

Paramètres
string$inputFilename
string$outputFilename
KeyOrPassword$secret
Renvoie
void
Exceptions
Ex

◆ encryptFileWithPassword()

static encryptFileWithPassword (   $inputFilename,
  $outputFilename,
  $password 
)
static

Encrypts a file with a password, using a slow key derivation function to make password cracking more expensive.

Paramètres
string$inputFilename
string$outputFilename
string$password
Renvoie
void
Exceptions
Ex

Références $password, et KeyOrPassword\createFromPassword().

◆ encryptResource()

static encryptResource (   $inputHandle,
  $outputHandle,
Key  $key 
)
static

Takes two resource handles and encrypts the contents of the first, writing the ciphertext into the second.

Paramètres
resource$inputHandle
resource$outputHandle
Key$key
Renvoie
void
Exceptions
Ex

Références $key, et KeyOrPassword\createFromKey().

◆ encryptResourceWithPassword()

static encryptResourceWithPassword (   $inputHandle,
  $outputHandle,
  $password 
)
static

Encrypts the contents of one resource handle into another with a password, using a slow key derivation function to make password cracking more expensive.

Paramètres
resource$inputHandle
resource$outputHandle
string$password
Renvoie
void
Exceptions
Ex

Références $password, et KeyOrPassword\createFromPassword().

◆ getLastErrorMessage()

static getLastErrorMessage ( )
staticprivate

Returns the last PHP error's or warning's message string.

Renvoie
string

Références null.


La documentation de cette classe a été générée à partir du fichier suivant :