Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorFileAES256StorageFormat

final class PhabricatorFileAES256StorageFormat
Phorge Technical Documentation (Files)

At-rest encryption format using AES256 CBC.

Methods

final public function setFile($file)
Inherited

This method is not documented.
Parameters
PhabricatorFile$file
Return
wild

final public function getFile()
Inherited

This method is not documented.
Return
wild

public function getStorageFormatName()

This method is not documented.
Return
wild

public function newReadIterator($raw_iterator)

This method is not documented.
Parameters
$raw_iterator
Return
wild

public function newWriteIterator($raw_iterator)

This method is not documented.
Parameters
$raw_iterator
Return
wild

public function newFormatIntegrityHash()

This method is not documented.
Return
wild

public function newStorageProperties()

This method is not documented.
Return
wild

public function canGenerateNewKeyMaterial()

This method is not documented.
Return
wild

public function generateNewKeyMaterial()

This method is not documented.
Return
wild

public function canCycleMasterKey()

This method is not documented.
Return
wild

public function cycleStorageProperties()

This method is not documented.
Return
wild

public function selectMasterKey($key_name)

This method is not documented.
Parameters
$key_name
Return
wild

final public function getStorageFormatKey()
Inherited

This method is not documented.
Return
wild

final public static function getAllFormats()
Inherited

This method is not documented.
Return
wild

final public static function getFormat($key)
Inherited

This method is not documented.
Parameters
$key
Return
wild

final public static function requireFormat($key)
Inherited

This method is not documented.
Parameters
$key
Return
wild

private function formatStorageProperties($key_envelope, $iv_envelope)

This method is not documented.
Parameters
PhutilOpaqueEnvelope$key_envelope
PhutilOpaqueEnvelope$iv_envelope
Return
wild

private function extractKeyAndIV($file)

This method is not documented.
Parameters
PhabricatorFile$file
Return
wild

private function encryptData($data, $key, $iv)

This method is not documented.
Parameters
$data
PhutilOpaqueEnvelope$key
PhutilOpaqueEnvelope$iv
Return
wild

private function decryptData($data, $key, $iv)

This method is not documented.
Parameters
$data
PhutilOpaqueEnvelope$key
PhutilOpaqueEnvelope$iv
Return
wild

public static function newAES256Key()

This method is not documented.
Return
wild

public static function newAES256IV()

This method is not documented.
Return
wild

private function getMasterKeyName()

This method is not documented.
Return
wild

private function getMasterKeyMaterial($key_name)

This method is not documented.
Parameters
$key_name
Return
wild