PluginProbe ʕ •ᴥ•ʔ
Transferito: WP Migration / trunk
Transferito: WP Migration vtrunk
trunk 11.4.0 12.0.0 13.1.0 14.0.0 14.0.11 14.0.7 14.1.0 14.1.1 14.1.2 14.1.3 14.1.4
transferito / vendor / aws / aws-sdk-php / src / Crypto / MetadataStrategyInterface.php
transferito / vendor / aws / aws-sdk-php / src / Crypto Last commit date
Cipher 11 months ago Polyfill 11 months ago AbstractCryptoClient.php 11 months ago AbstractCryptoClientV2.php 11 months ago AesDecryptingStream.php 11 months ago AesEncryptingStream.php 11 months ago AesGcmDecryptingStream.php 11 months ago AesGcmEncryptingStream.php 11 months ago AesStreamInterface.php 11 months ago AesStreamInterfaceV2.php 11 months ago DecryptionTrait.php 11 months ago DecryptionTraitV2.php 11 months ago EncryptionTrait.php 11 months ago EncryptionTraitV2.php 11 months ago KmsMaterialsProvider.php 11 months ago KmsMaterialsProviderV2.php 11 months ago MaterialsProvider.php 11 months ago MaterialsProviderInterface.php 11 months ago MaterialsProviderInterfaceV2.php 11 months ago MaterialsProviderV2.php 11 months ago MetadataEnvelope.php 11 months ago MetadataStrategyInterface.php 11 months ago
MetadataStrategyInterface.php
31 lines
1 <?php
2 namespace Aws\Crypto;
3
4 interface MetadataStrategyInterface
5 {
6 /**
7 * Places the information in the MetadataEnvelope to the strategy specific
8 * location. Populates the PutObject arguments with any information
9 * necessary for loading.
10 *
11 * @param MetadataEnvelope $envelope Encryption data to save according to
12 * the strategy.
13 * @param array $args Starting arguments for PutObject.
14 *
15 * @return array Updated arguments for PutObject.
16 */
17 public function save(MetadataEnvelope $envelope, array $args);
18
19 /**
20 * Generates a MetadataEnvelope according to the specific strategy using the
21 * passed arguments.
22 *
23 * @param array $args Arguments from Command and Result that contains
24 * S3 Object information, relevant headers, and command
25 * configuration.
26 *
27 * @return MetadataEnvelope
28 */
29 public function load(array $args);
30 }
31