| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Inheritance diagram for ilBcryptPasswordEncoderTest:
 Collaboration diagram for ilBcryptPasswordEncoderTest:Private Member Functions | |
| isVsfStreamInstalled () | |
| skipIfvfsStreamNotSupported () | |
| getInstanceWithConfiguredDataDirectory () | |
Private Attributes | |
| const | VALID_COSTS = '08' | 
| const | PASSWORD = 'password' | 
| const | WRONG_PASSWORD = 'wrong_password' | 
| const | CLIENT_SALT = 'homer!12345_/' | 
| const | PASSWORD_SALT = 'salt' | 
| vfs vfsStreamDirectory | $testDirectory | 
| string | $testDirectoryUrl | 
Definition at line 28 of file ilBcryptPasswordEncoderTest.php.
| ilBcryptPasswordEncoderTest::costsProvider | ( | ) | 
Definition at line 87 of file ilBcryptPasswordEncoderTest.php.
References $data.
      
  | 
  private | 
Definition at line 97 of file ilBcryptPasswordEncoderTest.php.
Referenced by testBackwardCompatibility(), testBackwardCompatibilityCanBeRetrievedWhenBackwardCompatibilityIsSet(), testClientSaltIsGeneratedWhenNoClientSaltExistsYet(), testExceptionIfPasswordsContainA8BitCharacterAndBackwardCompatibilityIsEnabled(), testExceptionIsRaisedIfSaltIsMissingIsOnEncoding(), testExceptionIsRaisedIfSaltIsMissingIsOnVerification(), testExceptionIsRaisedWhenClientSaltCouldNotBeGeneratedInCaseNoClientSaltExistsYet(), testInstanceCanBeCreatedAndInitializedWithClientSalt(), and testNoExceptionIfPasswordsContainA8BitCharacterAndBackwardCompatibilityIsEnabledWithIgnoredSecurityFlaw().
 Here is the caller graph for this function:| ilBcryptPasswordEncoderTest::getTestDirectory | ( | ) | 
Definition at line 48 of file ilBcryptPasswordEncoderTest.php.
References $testDirectory.
| ilBcryptPasswordEncoderTest::getTestDirectoryUrl | ( | ) | 
Definition at line 58 of file ilBcryptPasswordEncoderTest.php.
References $testDirectoryUrl.
      
  | 
  private | 
Definition at line 68 of file ilBcryptPasswordEncoderTest.php.
Referenced by skipIfvfsStreamNotSupported().
 Here is the caller graph for this function:| ilBcryptPasswordEncoderTest::setTestDirectory | ( | vfs\vfsStreamDirectory | $testDirectory | ) | 
Definition at line 53 of file ilBcryptPasswordEncoderTest.php.
References $testDirectory.
Referenced by skipIfvfsStreamNotSupported().
 Here is the caller graph for this function:| ilBcryptPasswordEncoderTest::setTestDirectoryUrl | ( | string | $testDirectoryUrl | ) | 
Definition at line 63 of file ilBcryptPasswordEncoderTest.php.
References $testDirectoryUrl.
Referenced by skipIfvfsStreamNotSupported().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 73 of file ilBcryptPasswordEncoderTest.php.
References isVsfStreamInstalled(), setTestDirectory(), and setTestDirectoryUrl().
Referenced by testBackwardCompatibility(), testBackwardCompatibilityCanBeRetrievedWhenBackwardCompatibilityIsSet(), testClientSaltIsGeneratedWhenNoClientSaltExistsYet(), testExceptionIfPasswordsContainA8BitCharacterAndBackwardCompatibilityIsEnabled(), testExceptionIsRaisedIfSaltIsMissingIsOnEncoding(), testExceptionIsRaisedIfSaltIsMissingIsOnVerification(), testExceptionIsRaisedWhenClientSaltCouldNotBeGeneratedInCaseNoClientSaltExistsYet(), testInstanceCanBeCreated(), testInstanceCanBeCreatedAndInitializedWithClientSalt(), and testNoExceptionIfPasswordsContainA8BitCharacterAndBackwardCompatibilityIsEnabledWithIgnoredSecurityFlaw().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBcryptPasswordEncoderTest::testBackwardCompatibility | ( | ) | 
Definition at line 301 of file ilBcryptPasswordEncoderTest.php.
References getInstanceWithConfiguredDataDirectory(), and skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testBackwardCompatibilityCanBeRetrievedWhenBackwardCompatibilityIsSet | ( | ) | 
Definition at line 290 of file ilBcryptPasswordEncoderTest.php.
References getInstanceWithConfiguredDataDirectory(), and skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testClientSaltIsGeneratedWhenNoClientSaltExistsYet | ( | ) | 
Definition at line 270 of file ilBcryptPasswordEncoderTest.php.
References getInstanceWithConfiguredDataDirectory(), and skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testCostsCanBeRetrievedWhenCostsAreSet | ( | ilBcryptPasswordEncoder | $encoder | ) | 
testInstanceCanBeCreated
| ilPasswordException | 
Definition at line 136 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\getCosts(), and ilBcryptPhpPasswordEncoder\setCosts().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testCostsCanBeSetInRange | ( | string | $costs, | 
| ilBcryptPasswordEncoder | $encoder | ||
| ) | 
testInstanceCanBeCreated costsProvider
| ilPasswordException | 
Definition at line 170 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\setCosts().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testCostsCannotBeSetAboveRange | ( | ilBcryptPasswordEncoder | $encoder | ) | 
testInstanceCanBeCreated
| ilPasswordException | 
Definition at line 148 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\setCosts().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testCostsCannotBeSetBelowRange | ( | ilBcryptPasswordEncoder | $encoder | ) | 
testInstanceCanBeCreated
| ilPasswordException | 
Definition at line 158 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\setCosts().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testEncoderDoesNotSupportReencoding | ( | ilBcryptPasswordEncoder | $encoder | ) | 
testInstanceCanBeCreated
Definition at line 224 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPasswordEncoder\requiresReencoding().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testEncoderReliesOnSalts | ( | ilBcryptPasswordEncoder | $encoder | ) | 
testInstanceCanBeCreated
Definition at line 216 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPasswordEncoder\requiresSalt().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testExceptionIfPasswordsContainA8BitCharacterAndBackwardCompatibilityIsEnabled | ( | ) | 
Definition at line 322 of file ilBcryptPasswordEncoderTest.php.
References getInstanceWithConfiguredDataDirectory(), and skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testExceptionIsRaisedIfSaltIsMissingIsOnEncoding | ( | ) | 
Definition at line 237 of file ilBcryptPasswordEncoderTest.php.
References getInstanceWithConfiguredDataDirectory(), and skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testExceptionIsRaisedIfSaltIsMissingIsOnVerification | ( | ) | 
Definition at line 248 of file ilBcryptPasswordEncoderTest.php.
References getInstanceWithConfiguredDataDirectory(), and skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testExceptionIsRaisedIfThePasswordExceedsTheSupportedLengthOnEncoding | ( | ilBcryptPasswordEncoder | $encoder | ) | 
testInstanceCanBeCreated
| ilPasswordException | 
Definition at line 194 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPasswordEncoder\encodePassword(), and ilBcryptPhpPasswordEncoder\setCosts().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testExceptionIsRaisedWhenClientSaltCouldNotBeGeneratedInCaseNoClientSaltExistsYet | ( | ) | 
Definition at line 280 of file ilBcryptPasswordEncoderTest.php.
References getInstanceWithConfiguredDataDirectory(), and skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testInstanceCanBeCreated | ( | ) | 
Definition at line 104 of file ilBcryptPasswordEncoderTest.php.
References skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testInstanceCanBeCreatedAndInitializedWithClientSalt | ( | ) | 
Definition at line 259 of file ilBcryptPasswordEncoderTest.php.
References getInstanceWithConfiguredDataDirectory(), ilBcryptPasswordEncoder\SALT_STORAGE_FILENAME, and skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testNameShouldBeBcrypt | ( | ilBcryptPasswordEncoder | $encoder | ) | 
testInstanceCanBeCreated
Definition at line 232 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPasswordEncoder\getName().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testNoExceptionIfPasswordsContainA8BitCharacterAndBackwardCompatibilityIsEnabledWithIgnoredSecurityFlaw | ( | ) | 
| ilPasswordException | 
Definition at line 337 of file ilBcryptPasswordEncoderTest.php.
References getInstanceWithConfiguredDataDirectory(), and skipIfvfsStreamNotSupported().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testPasswordShouldBeCorrectlyEncodedAndVerified | ( | ilBcryptPasswordEncoder | $encoder | ) | 
testInstanceCanBeCreated
| ilPasswordException | 
Definition at line 179 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPasswordEncoder\encodePassword(), ilBcryptPasswordEncoder\isPasswordValid(), and ilBcryptPhpPasswordEncoder\setCosts().
 Here is the call graph for this function:| ilBcryptPasswordEncoderTest::testPasswordVerificationShouldFailIfTheRawPasswordExceedsTheSupportedLength | ( | ilBcryptPasswordEncoder | $encoder | ) | 
testInstanceCanBeCreated
| ilPasswordException | 
Definition at line 206 of file ilBcryptPasswordEncoderTest.php.
References ilBcryptPasswordEncoder\isPasswordValid(), and ilBcryptPhpPasswordEncoder\setCosts().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 45 of file ilBcryptPasswordEncoderTest.php.
Referenced by getTestDirectory(), and setTestDirectory().
      
  | 
  private | 
Definition at line 46 of file ilBcryptPasswordEncoderTest.php.
Referenced by getTestDirectoryUrl(), and setTestDirectoryUrl().
      
  | 
  private | 
Definition at line 40 of file ilBcryptPasswordEncoderTest.php.
      
  | 
  private | 
Definition at line 34 of file ilBcryptPasswordEncoderTest.php.
      
  | 
  private | 
Definition at line 43 of file ilBcryptPasswordEncoderTest.php.
      
  | 
  private | 
Definition at line 31 of file ilBcryptPasswordEncoderTest.php.
      
  | 
  private | 
Definition at line 37 of file ilBcryptPasswordEncoderTest.php.