Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for newEncryptReader (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/post-policy-fan-out.go

    			if err != nil {
    				errs[idx] = err
    				return
    			}
    
    			userDefined[xhttp.AmzObjectTagging] = tgs.String()
    
    			if opts.Kind != nil {
    				encrd, objectEncryptionKey, err := newEncryptReader(ctx, hr, opts.Kind, opts.KeyID, opts.Key, bucket, req.Key, userDefined, opts.KmsCtx)
    				if err != nil {
    					errs[idx] = err
    					return
    				}
    
    				// do not try to verify encrypted content/
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. cmd/encryption-v1.go

    		crypto.SSEC.CreateMetadata(metadata, sealedKey)
    		return objectKey, nil
    	default:
    		return crypto.ObjectKey{}, fmt.Errorf("encryption type '%v' not supported", kind)
    	}
    }
    
    func newEncryptReader(ctx context.Context, content io.Reader, kind crypto.Type, keyID string, key []byte, bucket, object string, metadata map[string]string, cryptoCtx kms.Context) (io.Reader, crypto.ObjectKey, error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  3. cmd/object-handlers.go

    				dstOpts.WantChecksum = nil
    			}
    		}
    
    		if isTargetEncrypted {
    			var encReader io.Reader
    			kind, _ := crypto.IsRequested(r.Header)
    			encReader, objEncKey, err = newEncryptReader(ctx, srcInfo.Reader, kind, newKeyID, newKey, dstBucket, dstObject, encMetadata, kmsCtx)
    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
Back to Top