__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Aws\Crypto;
use Aws\HasDataTrait;
use \ArrayAccess;
use \IteratorAggregate;
use \InvalidArgumentException;
use \JsonSerializable;
/**
* Stores encryption metadata for reading and writing.
*
* @internal
*/
class MetadataEnvelope implements ArrayAccess, IteratorAggregate, JsonSerializable
{
use HasDataTrait;
const CONTENT_KEY_V2_HEADER = 'x-amz-key-v2';
const IV_HEADER = 'x-amz-iv';
const MATERIALS_DESCRIPTION_HEADER = 'x-amz-matdesc';
const KEY_WRAP_ALGORITHM_HEADER = 'x-amz-wrap-alg';
const CONTENT_CRYPTO_SCHEME_HEADER = 'x-amz-cek-alg';
const CRYPTO_TAG_LENGTH_HEADER = 'x-amz-tag-len';
const UNENCRYPTED_CONTENT_LENGTH_HEADER = 'x-amz-unencrypted-content-length';
private static $constants = [];
public static function getConstantValues()
{
if (empty(self::$constants)) {
$reflection = new \ReflectionClass(static::class);
foreach (array_values($reflection->getConstants()) as $constant) {
self::$constants[$constant] = true;
}
}
return array_keys(self::$constants);
}
/**
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($name, $value)
{
$constants = self::getConstantValues();
if (is_null($name) || !in_array($name, $constants)) {
throw new InvalidArgumentException('MetadataEnvelope fields must'
. ' must match a predefined offset; use the header constants.');
}
$this->data[$name] = $value;
}
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return $this->data;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Cipher | Folder | 0777 |
|
|
| Polyfill | Folder | 0777 |
|
|
| AbstractCryptoClient.php | File | 3.99 KB | 0777 |
|
| AbstractCryptoClientV2.php | File | 3.88 KB | 0777 |
|
| AesDecryptingStream.php | File | 3.51 KB | 0777 |
|
| AesEncryptingStream.php | File | 3.68 KB | 0777 |
|
| AesGcmDecryptingStream.php | File | 2.7 KB | 0777 |
|
| AesGcmEncryptingStream.php | File | 2.89 KB | 0777 |
|
| AesStreamInterface.php | File | 656 B | 0777 |
|
| AesStreamInterfaceV2.php | File | 728 B | 0777 |
|
| DecryptionTrait.php | File | 5.96 KB | 0777 |
|
| DecryptionTraitV2.php | File | 9.04 KB | 0777 |
|
| EncryptionTrait.php | File | 6.92 KB | 0777 |
|
| EncryptionTraitV2.php | File | 7.1 KB | 0777 |
|
| KmsMaterialsProvider.php | File | 3.9 KB | 0777 |
|
| KmsMaterialsProviderV2.php | File | 3.43 KB | 0777 |
|
| MaterialsProvider.php | File | 3.23 KB | 0777 |
|
| MaterialsProviderInterface.php | File | 1.81 KB | 0777 |
|
| MaterialsProviderInterfaceV2.php | File | 1.67 KB | 0777 |
|
| MaterialsProviderV2.php | File | 2.01 KB | 0777 |
|
| MetadataEnvelope.php | File | 1.64 KB | 0777 |
|
| MetadataStrategyInterface.php | File | 996 B | 0777 |
|