public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
final public function setFile($file)Inherited
final public function setFile($file)
Inherited
Parameters
PhabricatorFile | $file |
Return
wild |
final public function getFile()Inherited
final public function getFile()
Inherited
Return
wild |
public function getStorageFormatName()
public function getStorageFormatName()
Return
wild |
public function newReadIterator($raw_iterator)
public function newReadIterator($raw_iterator)
Parameters
$raw_iterator |
Return
wild |
public function newWriteIterator($raw_iterator)
public function newWriteIterator($raw_iterator)
Parameters
$raw_iterator |
Return
wild |
public function newFormatIntegrityHash()
public function newFormatIntegrityHash()
Return
wild |
public function newStorageProperties()
public function newStorageProperties()
Return
wild |
public function canGenerateNewKeyMaterial()
public function canGenerateNewKeyMaterial()
Return
wild |
public function generateNewKeyMaterial()
public function generateNewKeyMaterial()
Return
wild |
public function canCycleMasterKey()
public function canCycleMasterKey()
Return
wild |
public function cycleStorageProperties()
public function cycleStorageProperties()
Return
wild |
public function selectMasterKey($key_name)
public function selectMasterKey($key_name)
Parameters
$key_name |
Return
wild |
final public function getStorageFormatKey()Inherited
final public function getStorageFormatKey()
Inherited
Return
wild |
final public static function getAllFormats()Inherited
final public static function getAllFormats()
Inherited
Return
wild |
final public static function getFormat($key)Inherited
final public static function getFormat($key)
Inherited
Parameters
$key |
Return
wild |
final public static function requireFormat($key)Inherited
final public static function requireFormat($key)
Inherited
Parameters
$key |
Return
wild |
private function formatStorageProperties($key_envelope, $iv_envelope)
private function formatStorageProperties($key_envelope, $iv_envelope)
Parameters
PhutilOpaqueEnvelope | $key_envelope | |
PhutilOpaqueEnvelope | $iv_envelope |
Return
wild |
private function extractKeyAndIV($file)
private function extractKeyAndIV($file)
Parameters
PhabricatorFile | $file |
Return
wild |
private function encryptData($data, $key, $iv)
private function encryptData($data, $key, $iv)
Parameters
$data | ||
PhutilOpaqueEnvelope | $key | |
PhutilOpaqueEnvelope | $iv |
Return
wild |
private function decryptData($data, $key, $iv)
private function decryptData($data, $key, $iv)
Parameters
$data | ||
PhutilOpaqueEnvelope | $key | |
PhutilOpaqueEnvelope | $iv |
Return
wild |
public static function newAES256Key()
public static function newAES256Key()
Return
wild |
public static function newAES256IV()
public static function newAES256IV()
Return
wild |
private function getMasterKeyName()
private function getMasterKeyName()
Return
wild |
private function getMasterKeyMaterial($key_name)
private function getMasterKeyMaterial($key_name)
Parameters
$key_name |
Return
wild |