‪TYPO3CMS  9.5
TYPO3\CMS\Rsaauth\RsaEncryptionEncoder Class Reference
Inheritance diagram for TYPO3\CMS\Rsaauth\RsaEncryptionEncoder:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 enableEncryptionFromBackendControllerPostConstructor ()
 
 enableRsaEncryption ($useRequireJsModule=false)
 
bool isAvailable ()
 
Keypair null getRsaPublicKey ()
 
ResponseInterface getRsaPublicKeyAjaxHandler ()
 

Protected Attributes

bool $moduleLoaded = false
 
PageRenderer $pageRenderer
 

Detailed Description

This class adds necessary Javascript code to encrypt fields in a form

Definition at line 28 of file RsaEncryptionEncoder.php.

Member Function Documentation

◆ enableEncryptionFromBackendControllerPostConstructor()

TYPO3\CMS\Rsaauth\RsaEncryptionEncoder::enableEncryptionFromBackendControllerPostConstructor ( )

This method is called by the hook constructPostProcess

Definition at line 41 of file RsaEncryptionEncoder.php.

References TYPO3\CMS\Rsaauth\RsaEncryptionEncoder\enableRsaEncryption().

◆ enableRsaEncryption()

◆ getRsaPublicKey()

Keypair null TYPO3\CMS\Rsaauth\RsaEncryptionEncoder::getRsaPublicKey ( )

◆ getRsaPublicKeyAjaxHandler()

ResponseInterface TYPO3\CMS\Rsaauth\RsaEncryptionEncoder::getRsaPublicKeyAjaxHandler ( )

Ajax handler to return a RSA public key.

Returns
‪ResponseInterface
Deprecated:
‪since TYPO3 v9. Will be removed in TYPO3 v10.0.

Definition at line 114 of file RsaEncryptionEncoder.php.

References TYPO3\CMS\Rsaauth\RsaEncryptionEncoder\getRsaPublicKey().

◆ isAvailable()

bool TYPO3\CMS\Rsaauth\RsaEncryptionEncoder::isAvailable ( )
Returns
‪bool

Definition at line 82 of file RsaEncryptionEncoder.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Rsaauth\RsaEncryptionEncoder\enableRsaEncryption().

Member Data Documentation

◆ $moduleLoaded

bool TYPO3\CMS\Rsaauth\RsaEncryptionEncoder::$moduleLoaded = false
protected

Definition at line 32 of file RsaEncryptionEncoder.php.

◆ $pageRenderer

PageRenderer TYPO3\CMS\Rsaauth\RsaEncryptionEncoder::$pageRenderer
protected