src/net/authV2.js
/**
     * Set the HTTP request body content SHA-256 digest value.
     *
     * @param {string|module:crypto-js/enc-hex~WordArray} digest the digest value to use; if a string it is assumed to be Hex encoded
     * @returns {module:net~AuthorizationV2Builder} this object
     */
Set the HTTP request body content SHA-256 digest value.
@param {string|module:crypto-js/enc-hex~WordArray} digest the digest value to use; if a string it is assumed to be Hex encoded
@returns {module:net~AuthorizationV2Builder} this object
Set the HTTP request body content SHA - 256 digest value . @param { string|module : crypto - js / enc - hex~WordArray } digest the digest value to use ; if a string it is assumed to be Hex encoded @returns { module : net~AuthorizationV2Builder } this object
contentSHA256(digest) {
        var contentDigest;
        if ( typeof digest === 'string' ) {
            contentDigest = Hex.parse(digest);
        } else {
            contentDigest = digest;
        }
        this.contentDigest = contentDigest;
        return this;
    }
contentSHA256 ( digest ) { var contentDigest ; if ( typeof digest === 'string' ) { contentDigest = Hex . parse ( digest ) ; } else { contentDigest = digest ; } this . contentDigest = contentDigest ; return this ; }
Set the HTTP request body content SHA-256 digest value.
Set the HTTP request body content SHA - 256 digest value .