Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParseSSECustomerHeader (0.14 sec)

  1. cmd/encryption-v1.go

    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    func ParseSSECustomerHeader(header http.Header) (key []byte, err error) {
    	if crypto.S3.IsRequested(header) && crypto.SSEC.IsRequested(header) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    		var (
    			reader io.Reader
    			keyID  string
    			key    []byte
    			kmsCtx kms.Context
    		)
    		kind, _ := crypto.IsRequested(formValues)
    		switch kind {
    		case crypto.SSEC:
    			key, err = ParseSSECustomerHeader(formValues)
    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		case crypto.S3KMS:
    			keyID, kmsCtx, err = crypto.S3KMS.ParseHTTP(formValues)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top