Function envelopeHeaders

  • The three headers of one delivery: its id, its time and its signEnvelope signature.

    Parameters

    • secret: string

      The destination's secret.

    • id: string

      The delivery's id.

    • timestampMs: number

      The time the delivery is signed, in milliseconds since the epoch.

    • payload: string

      The body exactly as it is sent.

    • names: EnvelopeHeaderNames = DEFAULT_ENVELOPE_HEADERS

      The header names; DEFAULT_ENVELOPE_HEADERS when absent.

    Returns Record<string, string>