Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for metadataEncryptFn (0.13 sec)

  1. cmd/s3-zip-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	zipInfo := zipObjInfo.ArchiveInfo(r.Header)
    	if len(zipInfo) == 0 {
    		opts.EncryptFn, err = zipObjInfo.metadataEncryptFn(r.Header)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    		zipInfo, err = updateObjectMetadataWithZipInfo(ctx, objectAPI, bucket, zipPath, opts)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top