![]() |
TYPO3
7.6
|
Public Member Functions | |
decrypt ($privateKey, $data) | |
isAvailable () | |
![]() | |
createNewKeyPair () | |
decrypt ($privateKey, $data) | |
isAvailable () | |
getLastError () | |
Protected Member Functions | |
extractExponent ($data) | |
extractPublicKeyModulus ($data) | |
Additional Inherited Members | |
![]() | |
$error = '' | |
This class contains a PHP OpenSSL backend for the TYPO3 RSA authentication service. See class for the information on using backends.
Definition at line 22 of file PhpBackend.php.
decrypt | ( | $privateKey, | |
$data | |||
) |
Decrypts data using the private key. This implementation uses PHP OpenSSL extension.
string | $privateKey | The private key (obtained from a call to createNewKeyPair()) |
string | $data | Data to decrypt (base64-encoded) |
Definition at line 77 of file PhpBackend.php.
|
protected |
Extracts the exponent from the OpenSSL CSR
string | $data | The result of openssl_csr_export() |
Definition at line 115 of file PhpBackend.php.
|
protected |
Extracts public key modulus from the OpenSSL CSR.
string | $data | The result of openssl_csr_export() |
Definition at line 129 of file PhpBackend.php.
isAvailable | ( | ) |
Checks if this backend is available for calling. In particular checks if PHP OpenSSl extension is installed and functional.
Definition at line 93 of file PhpBackend.php.