PHP Class Neos\Flow\Tests\Unit\Security\Cryptography\RsaWalletServicePhpTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$keyPairUuid string
$rsaWalletService Neos\Flow\Security\Cryptography\RsaWalletServicePhp

Méthodes publiques

Méthode Description
checkRSAEncryptedPasswordReturnsFalseForAnIncorrectPassword ( )
checkRSAEncryptedPasswordReturnsTrueForACorrectPassword ( )
decryptingWithAKeypairUUIDMarkedForPasswordUsageThrowsAnException ( )
encryptingAndDecryptingBasicallyWorks ( )
getFingerprintByPublicKeyCalculatesCorrectFingerprint ( )
registerPublicKeyFromStringUsesFingerprintAsUuid ( )
setUp ( ) : void Set up this testcase.
shutdownDoesNotSavesKeysToKeystoreFileIfKeysWereNotModified ( )
shutdownSavesKeysToKeystoreFileIfKeysWereModified ( )
signAndVerifySignatureBasicallyWorks ( )

Method Details

checkRSAEncryptedPasswordReturnsFalseForAnIncorrectPassword() public méthode

checkRSAEncryptedPasswordReturnsTrueForACorrectPassword() public méthode

decryptingWithAKeypairUUIDMarkedForPasswordUsageThrowsAnException() public méthode

encryptingAndDecryptingBasicallyWorks() public méthode

getFingerprintByPublicKeyCalculatesCorrectFingerprint() public méthode

registerPublicKeyFromStringUsesFingerprintAsUuid() public méthode

setUp() public méthode

In this case this only marks the test to be skipped if openssl extension is not installed
public setUp ( ) : void
Résultat void

shutdownDoesNotSavesKeysToKeystoreFileIfKeysWereNotModified() public méthode

shutdownSavesKeysToKeystoreFileIfKeysWereModified() public méthode

signAndVerifySignatureBasicallyWorks() public méthode

Property Details

$keyPairUuid protected_oe property

protected string $keyPairUuid
Résultat string

$rsaWalletService protected_oe property

protected RsaWalletServicePhp,Neos\Flow\Security\Cryptography $rsaWalletService
Résultat Neos\Flow\Security\Cryptography\RsaWalletServicePhp