Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewSSE (1 sec)

  1. cmd/object-api-options.go

    			return
    		}
    		opts.ServerSideEncryption = sse
    		return
    	}
    	if crypto.S3.IsRequested(header) || (metadata != nil && crypto.S3.IsEncrypted(metadata)) {
    		opts.ServerSideEncryption = encrypt.NewSSE()
    	}
    
    	return
    }
    
    // get ObjectOptions for GET calls from encryption headers
    func getOpts(ctx context.Context, r *http.Request, bucket, object string) (ObjectOptions, error) {
    	var opts ObjectOptions
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    	}
    	if r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3 {
    		opts.VersionID = ""
    	}
    	if crypto.S3.IsEncrypted(srcObjInfo.UserDefined) {
    		opts.ServerSideEncryption = encrypt.NewSSE()
    	}
    	slc := strings.Split(srcObjInfo.ETag, "-")
    	if len(slc) == 2 {
    		partsCount, err := strconv.Atoi(slc[1])
    		if err != nil {
    			return err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    			if err != nil {
    				return putOpts, err
    			}
    		}
    		putOpts.Internal.LegalholdTimestamp = lholdTimestamp
    	}
    	if crypto.S3.IsEncrypted(objInfo.UserDefined) {
    		putOpts.ServerSideEncryption = encrypt.NewSSE()
    	}
    
    	if crypto.S3KMS.IsEncrypted(objInfo.UserDefined) {
    		sseEnc, err := encrypt.NewSSEKMS(objInfo.KMSKeyID(), nil)
    		if err != nil {
    			return putOpts, err
    		}
    		putOpts.ServerSideEncryption = sseEnc
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top