package
0.12.0
Repository: https://github.com/opensds/multi-cloud.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package signer implements signing and signature validation for opensds multi-cloud signer.

# Functions

calculateSeedSignature - Calculate seed signature in accordance with - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html returns signature, error otherwise if the signature mismatches or any other error while parsing and validating.
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.
Trims away `aws-chunked` from the content-encoding header if present.
No description provided by the author

# Constants

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.
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
IsValidAccessKey - validate access key.
IsValidSecretKey - validate secret key.
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.

# Type aliases

Authorization type.
No description provided by the author