Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for EncryptRequest (0.07 sec)

  1. cmd/encryption-v1.go

    	}
    	_, err = newEncryptMetadata(r.Context(), kind, keyID, key, bucket, object, metadata, kmsCtx)
    	return
    }
    
    // EncryptRequest takes the client provided content and encrypts the data
    // with the client provided key. It also marks the object as client-side-encrypted
    // and sets the correct headers.
    func EncryptRequest(content io.Reader, r *http.Request, bucket, object string, metadata map[string]string) (io.Reader, crypto.ObjectKey, error) {
    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-handlers.go

    	}
    	// Store the preserved compression metadata.
    	for k, v := range compressMetadata {
    		srcInfo.UserDefined[k] = v
    	}
    
    	// We need to preserve the encryption headers set in EncryptRequest,
    	// so we do not want to override them, copy them instead.
    	for k, v := range encMetadata {
    		srcInfo.UserDefined[k] = v
    	}
    
    	// Ensure that metadata does not contain sensitive information
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    		metadata[ReservedMetadataPrefixLower+ReplicationStatus] = dsc.PendingStatus()
    	}
    
    	// We need to preserve the encryption headers set in EncryptRequest,
    	// so we do not want to override them, copy them instead.
    	for k, v := range encMetadata {
    		metadata[k] = v
    	}
    
    	// Ensure that metadata does not contain sensitive information
    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