Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for v2Auth (0.08 sec)

  1. cmd/signature-v2.go

    	}
    
    	prefix := fmt.Sprintf("%s %s:", signV2Algorithm, cred.AccessKey)
    	if !strings.HasPrefix(v2Auth, prefix) {
    		return ErrSignatureDoesNotMatch
    	}
    	v2Auth = v2Auth[len(prefix):]
    	expectedAuth := signatureV2(cred, r.Method, encodedResource, strings.Join(unescapedQueries, "&"), r.Header)
    	if !compareSignatureV2(v2Auth, expectedAuth) {
    		return ErrSignatureDoesNotMatch
    	}
    	return ErrNone
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    	// Copy request.
    	req := *r
    
    	// Save authorization header.
    	v4Auth := req.Header.Get(xhttp.Authorization)
    
    	// Parse signature version '4' header.
    	signV4Values, err := parseSignV4(v4Auth, region, stype)
    	if err != ErrNone {
    		return err
    	}
    
    	// Extract all the signed headers along with its values.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4.go

    	// Copy request.
    	req := *r
    
    	// Save authorization header.
    	v4Auth := req.Header.Get(xhttp.Authorization)
    
    	// Parse signature version '4' header.
    	signV4Values, errCode := parseSignV4(v4Auth, globalSite.Region(), serviceS3)
    	if errCode != ErrNone {
    		return cred, "", "", time.Time{}, errCode
    	}
    
    	// Payload streaming.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top