TYPO3 CMS  TYPO3_6-2
FrontendLoginRsaPublicKey.php
Go to the documentation of this file.
1 <?php
2 if (!defined('TYPO3_MODE')) {
3  die('Access denied.');
4 }
5 
20 $backend = \TYPO3\CMS\Rsaauth\Backend\BackendFactory::getBackend();
21 if ($backend !== NULL) {
22  $keyPair = $backend->createNewKeyPair();
24  $storage->put($keyPair->getPrivateKey());
25  session_commit();
26 
27  echo $keyPair->getPublicKeyModulus() . ':' . sprintf('%x', $keyPair->getExponent()) . ':';
28 }
die
Definition: index.php:6