Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copySource (0.12 sec)

  1. cmd/encryption-v1.go

    // reader
    func DecryptBlocksRequestR(inputReader io.Reader, h http.Header, seqNumber uint32, partStart int, oi ObjectInfo, copySource bool) (io.Reader, error) {
    	bucket, object := oi.Bucket, oi.Name
    	// Single part case
    	if !oi.isMultipart() {
    		var reader io.Reader
    		var err error
    		if copySource {
    			reader, err = DecryptCopyRequestR(inputReader, h, bucket, object, seqNumber, oi.UserDefined)
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  2. cmd/object-api-options.go

    	"github.com/minio/minio-go/v7/pkg/encrypt"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func getDefaultOpts(header http.Header, copySource bool, metadata map[string]string) (opts ObjectOptions, err error) {
    	var clientKey [32]byte
    	var sse encrypt.ServerSide
    
    	opts = ObjectOptions{UserDefined: metadata}
    	if v, ok := header[xhttp.MinIOSourceProxyRequest]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    		fn = func(inputReader io.Reader, h http.Header, cFns ...func()) (r *GetObjectReader, err error) {
    			if isEncrypted {
    				copySource := h.Get(xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm) != ""
    				// Attach decrypter on inputReader
    				inputReader, err = DecryptBlocksRequestR(inputReader, h, seqNum, firstPart, oi, copySource)
    				if err != nil {
    					// Call the cleanup funcs
    					for i := len(cFns) - 1; i >= 0; i-- {
    						cFns[i]()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top