![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
decrypt ($privateKey, $data) | |
isAvailable () | |
![]() | |
createNewKeyPair () | |
decrypt ($privateKey, $data) | |
isAvailable () | |
getLastError () | |
Public Attributes | |
const | DEFAULT_EXPONENT = 65537 |
Protected Attributes | |
$opensslPath | |
$temporaryDirectory | |
![]() | |
$error = '' | |
This class contains an OpenSSL backend for the TYPO3 RSA authentication service. It uses shell version of OpenSSL to perform tasks. See class for the information on using backends.
Definition at line 26 of file CommandLineBackend.php.
__construct | ( | ) |
Creates an instance of this class. It obtains a path to the OpenSSL binary.
Definition at line 53 of file CommandLineBackend.php.
References $GLOBALS, and CommandUtility\getCommand().
decrypt | ( | $privateKey, | |
$data | |||
) |
string | $privateKey | The private key (obtained from a call to createNewKeyPair()) |
string | $data | Data to decrypt (base64-encoded) |
Definition at line 131 of file CommandLineBackend.php.
References CommandUtility\exec(), and StringUtility\getUniqueId().
isAvailable | ( | ) |
Checks if command line version of the OpenSSL is available and can be executed successfully.
Definition at line 156 of file CommandLineBackend.php.
References CommandUtility\exec().
|
protected |
Definition at line 38 of file CommandLineBackend.php.
|
protected |
Definition at line 47 of file CommandLineBackend.php.
const DEFAULT_EXPONENT = 65537 |
Definition at line 31 of file CommandLineBackend.php.
Referenced by CommandLineBackendTest\createNewKeyPairCreatesKeyPairWithDefaultExponent().