Signature

Signature

new Signature()

Version:
  • 1.0

The Signature model module.

Members

R :String

ECDSA signature information

Type:
  • String

S :String

ECDSA signature information

Type:
  • String

V :String

Public key restoration information

Type:
  • String

Methods

(static) constructFromObject(data, obj) → {Signature}

Constructs a Signature from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj Signature

Optional instance to populate.

Returns:

The populated Signature instance.

Type
Signature

Signature

new Signature(R, S, V)

Constructs a new Signature. Signature

Parameters:
Name Type Description
R String

ECDSA signature information

S String

ECDSA signature information

V String

Public key restoration information

Members

R :String

ECDSA signature information

Type:
  • String

S :String

ECDSA signature information

Type:
  • String

V :String

Public key restoration information

Type:
  • String

Methods

(static) constructFromObject(data, obj) → {Signature}

Constructs a Signature from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj Signature

Optional instance to populate.

Returns:

The populated Signature instance.

Type
Signature