Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for doesPresignV2SignatureMatch (0.21 sec)

  1. cmd/signature-v2.go

    	}
    	return unescapedQueries, nil
    }
    
    // doesPresignV2SignatureMatch - Verify query headers with presigned signature
    //   - http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#RESTAuthenticationQueryStringAuth
    //
    // returns ErrNone if matches. S3 errors otherwise.
    func doesPresignV2SignatureMatch(r *http.Request) APIErrorCode {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    }
    
    // Verify if request has valid AWS Signature Version '2'.
    func isReqAuthenticatedV2(r *http.Request) (s3Error APIErrorCode) {
    	if isRequestSignatureV2(r) {
    		return doesSignV2Match(r)
    	}
    	return doesPresignV2SignatureMatch(r)
    }
    
    func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) {
    	sha256sum := getContentSha256Cksum(r, stype)
    	switch {
    	case isRequestSignatureV4(r):
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top