Class: Signature

Signature(params)

Key class

A Univrse Signature is a structure wrapping a set of headers and the raw signature.

Constructor

new Signature(params)

Instantiates a new Signature instance with the given params.

Accepted params

  • headers - headers object
  • signature - raw signature
Parameters:
Name Type Description
params Object
Source:

Classes

fromArray
wrap

Methods

toArray() → {Array}

Returns the Signature as an array of component parts.

Used internally prior to encoding the signature.

Source:
Returns:
Type
Array