Interface MetadataStrategyInterface
Direct known implementers
Aws\S3\Crypto\HeadersMetadataStrategy
,
Aws\S3\Crypto\InstructionFileMetadataStrategy
Methods Summary
-
save ( Aws\Crypto\MetadataEnvelope $envelope, array $args )
Places the information in the MetadataEnvelope to the strategy specific location. Populates the PutObject arguments with any information necessary for loading.
-
load ( array $args )
Generates a MetadataEnvelope according to the specific strategy using the passed arguments.
Methods Details
array save ( Aws\Crypto\MetadataEnvelope $envelope, array $args )
Places the information in the MetadataEnvelope to the strategy specific location. Populates the PutObject arguments with any information necessary for loading.
Parameters
Aws\Crypto\MetadataEnvelope | $envelope | Encryption data to save according to the strategy. |
array | $args | Starting arguments for PutObject. |
Returns
array Updated arguments for PutObject. |
MetadataEnvelope load ( array $args )
Generates a MetadataEnvelope according to the specific strategy using the passed arguments.
Parameters
array | $args | Arguments from Command and Result that contains S3 Object information, relevant headers, and command configuration. |
Returns
MetadataEnvelope |