package
2.0.0+incompatible
Repository: https://github.com/fireworkmarks/yig.git
Documentation: pkg.go.dev
# Functions
checkPostPolicy - apply policy conditions and validate input values.
No description provided by the author
doesPolicySignatureMatch - Verify query headers with post policy - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html returns true if matches, false otherwise.
No description provided by the author
doesPresignedSignatureMatch - Verify query headers with presigned signature - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html returns true if matches, false otherwise.
No description provided by the author
doesSignatureMatch - Verify authorization header with calculated header in accordance with - http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html returns true if matches, false otherwise.
No description provided by the author
Get request authentication type.
A helper function to verify if request has valid AWS Signature.
No description provided by the author
# Constants
List of all supported auth types.
including v2 and v4, handled specially in API endpoint.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
List of all supported auth types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" indicates that the client did not calculate sha256 of the payload.
# Variables
Convert to Canonical Form before compare.
Convert to Canonical Form before compare.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
PostPolicyForm provides strict static type conversion and validation for Amazon S3's POST policy JSON string.
SignVerifyReader represents an io.Reader compatible interface which transparently calculates SHA256 for v4 signed authentication.