1
0
mirror of https://github.com/minio/minio.git synced 2025-03-31 17:53:43 -04:00
Andreas Auernhammer 8cdf2106b0
refactor cmd/crypto code for SSE handling and parsing ()
This commit refactors the code in `cmd/crypto`
and separates SSE-S3, SSE-C and SSE-KMS.

This commit should not cause any behavior change
except for:
  - `IsRequested(http.Header)`

which now returns the requested type {SSE-C, SSE-S3,
SSE-KMS} and does not consider SSE-C copy headers.

However, SSE-C copy headers alone are anyway not valid.
2020-12-22 09:19:32 -08:00
..