Property | Type | Description | |
---|---|---|---|
$hashService | |||
$passwordGenerationLength | integer | ||
$passwordHashingStrategy | string |
Method | Description | |
---|---|---|
generateKey ( string $name ) : string | Generates a new key & saves it encrypted with a hashing strategy | |
getKey ( string $name ) : boolean | Returns a key by its name | |
injectSettings ( array $settings ) : void | ||
keyExists ( string $name ) : boolean | Checks if a key exists | |
storeKey ( string $name, string $password ) : void | Saves a key encrypted with a hashing strategy |
Method | Description | |
---|---|---|
checkKeyName ( string $name ) : string | Checks if the given key name is valid amd returns it (unchanged) if yes. Otherwise it throws an exception. | |
getKeyPathAndFilename ( string $name ) : string | Returns the path and filename for the key with the given name. | |
getPath ( ) : string | Helper function to get the base path for key storage. | |
persistKey ( string $name, string $password ) : void | Persists a key to the file system |
protected checkKeyName ( string $name ) : string | ||
$name | string | |
return | string |
public generateKey ( string $name ) : string | ||
$name | string | |
return | string |
protected getKeyPathAndFilename ( string $name ) : string | ||
$name | string | |
return | string |
public injectSettings ( array $settings ) : void | ||
$settings | array | |
return | void |
protected HashService,Neos\Flow\Security\Cryptography $hashService | ||
return |