Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Neos
Flow
Tests
Unit
Security
Cryptography
RsaWalletServicePhpTest
PHP Class Neos\Flow\Tests\Unit\Security\Cryptography\RsaWalletServicePhpTest
Inheritance:
extends
Neos\Flow\Tests\UnitTestCase
Show file
Open project: neos/flow-development-collection
Protected Properties
Property
Type
Description
$keyPairUuid
string
$rsaWalletService
Neos\Flow\Security\Cryptography\RsaWalletServicePhp
Public Methods
Method
Description
checkRSAEncryptedPasswordReturnsFalseForAnIncorrectPassword
( )
checkRSAEncryptedPasswordReturnsTrueForACorrectPassword
( )
decryptingWithAKeypairUUIDMarkedForPasswordUsageThrowsAnException
( )
encryptingAndDecryptingBasicallyWorks
( )
getFingerprintByPublicKeyCalculatesCorrectFingerprint
( )
registerPublicKeyFromStringUsesFingerprintAsUuid
( )
setUp
( ) :
void
Set up this testcase.
shutdownDoesNotSavesKeysToKeystoreFileIfKeysWereNotModified
( )
shutdownSavesKeysToKeystoreFileIfKeysWereModified
( )
signAndVerifySignatureBasicallyWorks
( )
Method Details
checkRSAEncryptedPasswordReturnsFalseForAnIncorrectPassword()
public
method
public
checkRSAEncryptedPasswordReturnsFalseForAnIncorrectPassword
( )
checkRSAEncryptedPasswordReturnsTrueForACorrectPassword()
public
method
public
checkRSAEncryptedPasswordReturnsTrueForACorrectPassword
( )
decryptingWithAKeypairUUIDMarkedForPasswordUsageThrowsAnException()
public
method
public
decryptingWithAKeypairUUIDMarkedForPasswordUsageThrowsAnException
( )
encryptingAndDecryptingBasicallyWorks()
public
method
public
encryptingAndDecryptingBasicallyWorks
( )
getFingerprintByPublicKeyCalculatesCorrectFingerprint()
public
method
public
getFingerprintByPublicKeyCalculatesCorrectFingerprint
( )
registerPublicKeyFromStringUsesFingerprintAsUuid()
public
method
public
registerPublicKeyFromStringUsesFingerprintAsUuid
( )
setUp()
public
method
In this case this only marks the test to be skipped if openssl extension is not installed
public
setUp
( ) :
void
return
void
shutdownDoesNotSavesKeysToKeystoreFileIfKeysWereNotModified()
public
method
public
shutdownDoesNotSavesKeysToKeystoreFileIfKeysWereNotModified
( )
shutdownSavesKeysToKeystoreFileIfKeysWereModified()
public
method
public
shutdownSavesKeysToKeystoreFileIfKeysWereModified
( )
signAndVerifySignatureBasicallyWorks()
public
method
public
signAndVerifySignatureBasicallyWorks
( )
Property Details
$keyPairUuid
protected property
protected
string
$keyPairUuid
return
string
$rsaWalletService
protected property
protected
RsaWalletServicePhp,Neos\Flow\Security\Cryptography
$rsaWalletService
return
Neos\Flow\Security\Cryptography\RsaWalletServicePhp