Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for IsEncrypted (0.11 seconds)

  1. cmd/object-handlers.go

    	objInfo.UserDefined = objectlock.FilterObjectLockMetadata(objInfo.UserDefined, getRetPerms != ErrNone, legalHoldPerms != ErrNone)
    
    	// Set encryption response headers
    	if kind, isEncrypted := crypto.IsEncrypted(objInfo.UserDefined); isEncrypted {
    		switch kind {
    		case crypto.S3:
    			w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    		case crypto.S3KMS:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  2. cmd/bucket-replication.go

    			if err != nil {
    				return putOpts, false, err
    			}
    		}
    		putOpts.Internal.LegalholdTimestamp = lholdTimestamp
    	}
    	if crypto.S3.IsEncrypted(objInfo.UserDefined) {
    		putOpts.ServerSideEncryption = encrypt.NewSSE()
    	}
    
    	if crypto.S3KMS.IsEncrypted(objInfo.UserDefined) {
    		// If KMS key ID replication is enabled (as by default)
    		// we include the object's KMS key ID. In any case, we
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
Back to Top