src/net/authV2.js
/**
     * Compute the canonical request data that will be included in the data to sign with the request,
     * using a specific set of HTTP header names to sign.
     * 
     * @param {string[]} sortedLowercaseHeaderNames the sorted, lower-cased HTTP header names to sign with the request
     * @returns {string} the canonical request data
     * @private
     */
Compute the canonical request data that will be included in the data to sign with the request,
using a specific set of HTTP header names to sign.

@param {string[]} sortedLowercaseHeaderNames the sorted, lower-cased HTTP header names to sign with the request
@returns {string} the canonical request data
@private
Compute the canonical request data that will be included in the data to sign with the request using a specific set of HTTP header names to sign . @param { string [] } sortedLowercaseHeaderNames the sorted lower - cased HTTP header names to sign with the request @returns { string } the canonical request data @private
computeCanonicalRequestData(sortedLowercaseHeaderNames) {
        var result = this.httpMethod +'\n';
        result += this.requestPath + '\n';
        result += this.canonicalQueryParameters() + '\n';
        result += this.canonicalHeaders(sortedLowercaseHeaderNames); 
        result += this.canonicalSignedHeaderNames(sortedLowercaseHeaderNames) + '\n';
        result += this.canonicalContentSHA256();
        return result;
    }
computeCanonicalRequestData ( sortedLowercaseHeaderNames ) { var result = this . httpMethod + '\n' ; result += this . requestPath + '\n' ; result += this . canonicalQueryParameters ( ) + '\n' ; result += this . canonicalHeaders ( sortedLowercaseHeaderNames ) ; result += this . canonicalSignedHeaderNames ( sortedLowercaseHeaderNames ) + '\n' ; result += this . canonicalContentSHA256 ( ) ; return result ; }
Compute the canonical request data that will be included in the data to sign with the request,
 using a specific set of HTTP header names to sign.
Compute the canonical request data that will be included in the data to sign with the request using a specific set of HTTP header names to sign .
// 1: HTTP verb // 2: Canonical URI // 3: Canonical query string // 4: Canonical headers // already includes newline // 5: Signed header names // 6: Content SHA256, hex encoded