- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for metadataEncryptFn (0.09 sec)
-
cmd/encryption-v1.go
if len(cs) == len(o.Parts) { for i := range o.Parts { o.Parts[i].Checksums = cs[i] } } return } // metadataEncryptFn provides an encryption function for metadata. // Will return nil, nil if unencrypted. func (o *ObjectInfo) metadataEncryptFn(headers http.Header) (objectMetaEncryptFn, error) { kind, _ := crypto.IsEncrypted(o.UserDefined) switch kind { case crypto.SSEC:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:06:08 UTC 2024 - 37.2K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } opts.EncryptFn, err = objInfo.metadataEncryptFn(r.Header) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } if r.Header.Get(xMinIOExtract) == "true" && HasSuffix(object, archiveExt) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 31 18:25:48 UTC 2024 - 39.2K bytes - Viewed (0)