rexCustomAwsSign

package
v1.0.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (

	// emptyStringSHA256 is a SHA256 of an empty string
	EmptyStringSHA256 = `e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855`
)

Variables

This section is empty.

Functions

func BuildCanonicalHeaders

func BuildCanonicalHeaders(r *http.Request) (canonicalHeaders string, signedHeaderStr string)

func BuildCanonicalString

func BuildCanonicalString(r *http.Request, canonicalHeaders, signedHeaders, bodyDigest string) string

func BuildCredentialString

func BuildCredentialString(region, service string, dt time.Time) string

func BuildStringToSign

func BuildStringToSign(reqTime, credentialString, canonicalString string) string

func FormatDate

func FormatDate(now time.Time) string

func Sha256Content

func Sha256Content(bodyBytes []byte) (contentSha256 string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL