Options
All
  • Public
  • Public/Protected
  • All
Menu

External module common/lib/signer

Variables

Const EMPTY_SHA

EMPTY_SHA: "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=" = "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="

Const HEADER_CONTENT_LEN

HEADER_CONTENT_LEN: "Content-Length" = "Content-Length"

Const HEADER_CONTENT_SHA

HEADER_CONTENT_SHA: "x-content-sha256" = "x-content-sha256"

Const HEADER_CONTENT_TYPE

HEADER_CONTENT_TYPE: "Content-Type" = "Content-Type"

Const httpSignature

httpSignature: any = require("http-signature")

Functions

getStringFromRequestBody

  • getStringFromRequestBody(body: any): Promise<string>