MCPcopy Create free account
hub / github.com/apache/trafficserver / getPayloadHash

Method getPayloadHash

plugins/origin_server_auth/aws_auth_v4.cc:714–718  ·  view source on GitHub ↗

* @brief: HTTP content / payload SHA 256 = Hex(SHA256Hash( ) * @return signature of the content or "UNSIGNED-PAYLOAD" to mark that the payload is not signed */

Source from the content-addressed store, hash-verified

712 * @return signature of the content or "UNSIGNED-PAYLOAD" to mark that the payload is not signed
713 */
714String
715AwsAuthV4::getPayloadHash()
716{
717 return getPayloadSha256(_signPayload);
718}
719
720/**
721 * @brief Get the value of the Authorization header (AWS authorization) v4

Callers 2

authorizeAwsV4Method · 0.80
ValidateBenchFunction · 0.80

Calls 1

getPayloadSha256Function · 0.85

Tested by 1

ValidateBenchFunction · 0.64