Class Encryption
Company Encryption Settings
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/models/encryption.php
Methods summary
public
|
|
public
|
#
setPassphrase( array $vars, boolean $require_agree = false )
Sets the new passphrase used to encrypt/decrypt the private key. When a blank private_key_passphrase is used the Blesta.system_key is used to encrypt the private key, allowing the system to decrypt it at will. However, if a private_key_passphrase is set that value is instead used to encrypt the private key and therefore only that key (which Blesta does not store) can be used to decrypt the private key. |
Methods inherited from AppModel
_()
,
boolToInt()
,
currencyToDecimal()
,
dateToUtc()
,
errors()
,
getPerPage()
,
ifSet()
,
loadCrypto()
,
setDefaultIfEmpty()
,
setPerPage()
,
setRulesIfSet()
,
strToBool()
,
systemDecrypt()
,
systemEncrypt()
,
systemHash()
,
truncateDecimal()
,
validateExists()
,
validateStateCountry()
Methods inherited from Model
affectedRows()
,
begin()
,
commit()
,
getConnection()
,
lastInsertId()
,
makeDSN()
,
prepare()
,
query()
,
rollBack()
,
setAttribute()
,
setFetchMode()