TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
▼
TYPO3 CMS
TYPO3 CMS
Test List
Todo List
Deprecated List
►
Namespace Members
►
Classes
▼
Files
►
File List
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
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();
23
$storage =
\TYPO3\CMS\Rsaauth\Storage\StorageFactory::getStorage
();
24
$storage->put($keyPair->getPrivateKey());
25
session_commit();
26
27
echo $keyPair->getPublicKeyModulus() .
':'
. sprintf(
'%x'
, $keyPair->getExponent()) .
':'
;
28
}
$backend
$backend
Definition:
FrontendLoginRsaPublicKey.php:20
die
die
Definition:
index.php:6
TYPO3\CMS\Rsaauth\Storage\StorageFactory\getStorage
static getStorage()
Definition:
StorageFactory.php:50
typo3
sysext
rsaauth
resources
Private
Php
FrontendLoginRsaPublicKey.php
Generated on Wed Aug 7 2019 09:52:30 for TYPO3 CMS by
1.8.13