Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TimeFormat is the full-width form to be used in the X-Amz-Date header. TimeFormat = "20060102T150405Z" // ShortTimeFormat is the shortened form used in credential scope. ShortTimeFormat = "20060102" )
Variables ¶
This section is empty.
Functions ¶
func ResolveTime ¶
ResolveTime initializes a time value for signing.
Types ¶
type Finalizer ¶
Finalizer performs the final step in v4 signing, deriving a signature for the string-to-sign with algorithm-specific key material.
type Signer ¶
type Signer struct { Request *http.Request PayloadHash []byte Time time.Time Credentials credentials.Credentials Options v4.SignerOptions // variant-specific inputs Algorithm string CredentialScope string Finalizer Finalizer SignatureType v4.SignatureType }
Signer is the implementation structure for all variants of v4 signing.
Click to show internal directories.
Click to hide internal directories.