Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EncryptFn (0.15 sec)

  1. cmd/object-api-options.go

    	opts.UserDefined[ReservedMetadataPrefix+"Actual-Object-Size"] = r.Header.Get(xhttp.MinIOReplicationActualObjectSize)
    	// Transfer SSEC key in opts.EncryptFn
    	if crypto.SSEC.IsRequested(r.Header) {
    		key, err := ParseSSECustomerRequest(r)
    		if err == nil {
    			// Set EncryptFn to return SSEC key
    			opts.EncryptFn = func(baseKey string, data []byte) []byte {
    				return key
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top