TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
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.

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 $response, MessageInterface\getBody(), RsaEncryptionEncoder\getRsaPublicKey(), MessageInterface\withHeader(), and ResponseInterface\withStatus().

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().