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 |