TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
RsaEncryptionEncoder Class Reference
Inheritance diagram for RsaEncryptionEncoder:
SingletonInterface

Public Member Functions

 enableRsaEncryption ($useRequireJsModule=false)
 
 isAvailable ()
 
 getRsaPublicKey ()
 
 getRsaPublicKeyAjaxHandler (ServerRequestInterface $request, ResponseInterface $response)
 

Protected Attributes

 $moduleLoaded = false
 
 $pageRenderer = null
 

Detailed Description

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

Definition at line 27 of file RsaEncryptionEncoder.php.

Member Function Documentation

enableRsaEncryption (   $useRequireJsModule = false)
getRsaPublicKey ( )

Gets RSA Public Key.

Returns
Keypair|NULL

Definition at line 86 of file RsaEncryptionEncoder.php.

References StorageFactory\getStorage().

Referenced by RsaEncryptionEncoder\getRsaPublicKeyAjaxHandler().

getRsaPublicKeyAjaxHandler ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Ajax handler to return a RSA public key.

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 107 of file RsaEncryptionEncoder.php.

References RsaEncryptionEncoder\getRsaPublicKey().

isAvailable ( )
Returns
bool

Definition at line 76 of file RsaEncryptionEncoder.php.

References $GLOBALS.

Referenced by RsaEncryptionEncoder\enableRsaEncryption().

Member Data Documentation

$moduleLoaded = false
protected

Definition at line 32 of file RsaEncryptionEncoder.php.

$pageRenderer = null
protected

Definition at line 37 of file RsaEncryptionEncoder.php.

Referenced by RsaEncryptionEncoder\enableRsaEncryption().