Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EncodeToString (0.09 sec)

  1. cmd/site-replication.go

    			if len(meta.TaggingConfigXML) > 0 {
    				tagCfgStr := base64.StdEncoding.EncodeToString(meta.TaggingConfigXML)
    				bms.Tags = &tagCfgStr
    				bms.TagConfigUpdatedAt = meta.TaggingConfigUpdatedAt
    			}
    
    			if len(meta.VersioningConfigXML) > 0 {
    				versioningCfgStr := base64.StdEncoding.EncodeToString(meta.VersioningConfigXML)
    				bms.Versioning = &versioningCfgStr
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    			xhttp.AmzServerSideEncryptionCustomerAlgorithm: xhttp.AmzEncryptionAES,
    			xhttp.AmzServerSideEncryptionCustomerKey:       base64.StdEncoding.EncodeToString(key32Bytes),
    			xhttp.AmzServerSideEncryptionCustomerKeyMD5:    base64.StdEncoding.EncodeToString(key32BytesMd5[:]),
    		}
    		mapCopy = func(m map[string]string) map[string]string {
    			r := make(map[string]string, len(m))
    			for k, v := range m {
    				r[k] = v
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		} else {
    			meta[k] = v
    		}
    	}
    
    	if len(objInfo.Checksum) > 0 {
    		// Add encrypted CRC to metadata for SSE-C objects.
    		if isSSEC {
    			meta[ReplicationSsecChecksumHeader] = base64.StdEncoding.EncodeToString(objInfo.Checksum)
    		} else {
    			for _, pi := range objInfo.Parts {
    				if pi.Number == partNum {
    					for k, v := range pi.Checksums {
    						meta[k] = v
    					}
    				}
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    					HTTPStatusCode: http.StatusBadRequest,
    				}
    			}
    		}
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	w.Header()[xhttp.ETag] = []string{`"` + hex.EncodeToString(hreader.MD5Current()) + `"`}
    	hash.TransferChecksumHeader(w, r)
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // Delete objectAPIHandlers
    
    // DeleteObjectHandler - delete an object
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top