// Check to see if Policy is signed correctly.
Check to see if Policy is signed correctly.
// Check to see if Policy is signed correctly .
func (iam *IdentityAccessManagement) doesPolicySignatureMatch(formValues http.Header) s3err.ErrorCode {
	if _, ok := formValues["Signature"]; ok {
		return iam.doesPolicySignatureV2Match(formValues)
	}
	return iam.doesPolicySignatureV4Match(formValues)
}
func ( iam * IdentityAccessManagement ) doesPolicySignatureMatch ( formValues http . Header ) s3err . ErrorCode { if _ , ok := formValues [ " " ] ; ok { return iam . doesPolicySignatureV2Match ( formValues ) } return iam . doesPolicySignatureV4Match ( formValues ) }
Check to see if Policy is signed correctly.
Check to see if Policy is signed correctly .
// For SignV2 - Signature field will be valid