aws.sigv4

Undocumented in source.

Members

Aliases

sign
alias sign = hmac_sha256
Undocumented in source.
sign
alias sign = hmac_sha256
Undocumented in source.

Functions

canonicalHeaders
string canonicalHeaders(string[string] headers)
Undocumented in source. Be warned that the author may not have intended to support it.
canonicalQueryString
string canonicalQueryString(string[string] queryParameters)
Undocumented in source. Be warned that the author may not have intended to support it.
createSignatureHeader
string createSignatureHeader(string accessKeyID, string credentialScope, string[string] reqHeaders, ubyte[] signature)

CredentialScope == date / region / service / aws4_request

dateFromISOString
string dateFromISOString(string iso)
Undocumented in source. Be warned that the author may not have intended to support it.
hash
string hash(ubyte[] payload)
Undocumented in source. Be warned that the author may not have intended to support it.
hmacSha256Sign
string hmacSha256Sign(ubyte[32] key, ubyte[] message)
Undocumented in source. Be warned that the author may not have intended to support it.
hmacSha256Sign
string hmacSha256Sign(ubyte[32] key, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
hmac_sha256
ubyte[32] hmac_sha256(ubyte[] key, ubyte[] message)
Undocumented in source.
makeCRSigV4
string makeCRSigV4(CanonicalRequest r)
Undocumented in source. Be warned that the author may not have intended to support it.
requestString
string requestString(CanonicalRequest r)
Undocumented in source. Be warned that the author may not have intended to support it.
setPayload
void setPayload(CanonicalRequest req, ubyte[] payload)
Undocumented in source. Be warned that the author may not have intended to support it.
setStreamingPayloadHash
void setStreamingPayloadHash(CanonicalRequest req, string decodedLength)
Undocumented in source. Be warned that the author may not have intended to support it.
signableString
string signableString(SignableRequest r)
Undocumented in source. Be warned that the author may not have intended to support it.
signableString
string signableString(SignableChunk c)
Undocumented in source. Be warned that the author may not have intended to support it.
signedHeaders
string signedHeaders(string[string] headers)
Undocumented in source. Be warned that the author may not have intended to support it.
signingKey
auto signingKey(string secret, string dateString, string region, string service)
Undocumented in source. Be warned that the author may not have intended to support it.
timeFromISOString
string timeFromISOString(string iso)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

CanonicalRequest
struct CanonicalRequest
Undocumented in source.
SignableChunk
struct SignableChunk
Undocumented in source.
SignableRequest
struct SignableRequest
Undocumented in source.

Variables

algorithm
auto algorithm;
Undocumented in source.
streaming_payload_hash
auto streaming_payload_hash;
Undocumented in source.

Meta