Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for preSignatureV2 (0.09 sec)

  1. cmd/signature-v2.go

    		return ErrExpiredPresignRequest
    	}
    
    	encodedResource, err = getResource(encodedResource, r.Host, globalDomainNames)
    	if err != nil {
    		return ErrInvalidRequest
    	}
    
    	expectedSignature := preSignatureV2(cred, r.Method, encodedResource, strings.Join(filteredQueries, "&"), r.Header, expires)
    	if !compareSignatureV2(gotSignature, expectedSignature) {
    		return ErrSignatureDoesNotMatch
    	}
    
    	r.Form.Del(xhttp.Expires)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top