Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DecryptETag (0.05 sec)

  1. cmd/object-multipart-handlers.go

    			}
    			if len(etag) >= 32 && strings.Count(etag, "-") != 1 {
    				etag = etag[len(etag)-32:]
    			}
    		case crypto.S3:
    			w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    			etag, _ = DecryptETag(objectEncryptionKey, ObjectInfo{ETag: etag})
    		case crypto.SSEC:
    			w.Header().Set(xhttp.AmzServerSideEncryptionCustomerAlgorithm, r.Header.Get(xhttp.AmzServerSideEncryptionCustomerAlgorithm))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	if kind, encrypted := crypto.IsEncrypted(objInfo.UserDefined); encrypted {
    		switch kind {
    		case crypto.S3:
    			w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    			objInfo.ETag, _ = DecryptETag(objectEncryptionKey, ObjectInfo{ETag: objInfo.ETag})
    		case crypto.S3KMS:
    			w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    			w.Header().Set(xhttp.AmzServerSideEncryptionKmsID, objInfo.KMSKeyID())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top