Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for decryptChecksums (0.82 sec)

  1. cmd/object-handlers-common.go

    	if objInfo.Bucket != "" && objInfo.Name != "" {
    		if lc, err := globalLifecycleSys.Get(objInfo.Bucket); err == nil && !del {
    			lc.SetPredictionHeaders(w, objInfo.ToLifecycleOpts())
    		}
    	}
    	cs, _ := objInfo.decryptChecksums(0, h)
    	hash.AddChecksumHeader(w, cs)
    }
    
    func deleteObjectVersions(ctx context.Context, o ObjectLayer, bucket string, toDel []ObjectToDelete, lcEvent []lifecycle.Event) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    	}
    
    	return nil, nil
    }
    
    // decryptChecksums will attempt to decode checksums and return it/them if set.
    // if part > 0, and we have the checksum for the part that will be returned.
    // Returns whether the checksum (main part 0) is a multipart checksum.
    func (o *ObjectInfo) decryptChecksums(part int, h http.Header) (cs map[string]string, isMP bool) {
    	data := o.Checksum
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  3. cmd/api-response.go

    func generateCompleteMultipartUploadResponse(bucket, key, location string, oi ObjectInfo, h http.Header) CompleteMultipartUploadResponse {
    	cs, _ := oi.decryptChecksums(0, h)
    	c := CompleteMultipartUploadResponse{
    		Location: location,
    		Bucket:   bucket,
    		Key:      key,
    		// AWS S3 quotes the ETag in XML, make sure we are compatible here.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    		} else {
    			// Check the source object for checksum.
    			// If Checksum is not encrypted, decryptChecksum will be a no-op and return
    			// the already unencrypted value.
    			srcChecksumDecrypted, err := srcInfo.decryptChecksum(r.Header)
    			if err != nil {
    				encLogOnceIf(GlobalContext,
    					fmt.Errorf("Unable to decryptChecksum for object: %s/%s, error: %w", srcBucket, srcObject, err),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    	CheckReady        bool
    
    	checkReadyErr sync.Map
    }
    
    func getCRCMeta(oi ObjectInfo, partNum int, h http.Header) (cs map[string]string, isMP bool) {
    	meta := make(map[string]string)
    	cs, isMP = oi.decryptChecksums(partNum, h)
    	for k, v := range cs {
    		if k == xhttp.AmzChecksumType {
    			continue
    		}
    		cktype := hash.ChecksumStringToType(k)
    		if cktype.IsSet() {
    			meta[cktype.Key()] = v
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
Back to top