Signature

Signature

new Signature()

Version:
  • 1.0

The Signature model module.

Members

R :String

ECDSA signature data

Type:
  • String

S :String

ECDSA signature data

Type:
  • String

V :String

Public key decoding data

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 value

Parameters:
Name Type Description
R String

ECDSA signature data

S String

ECDSA signature data

V String

Public key decoding data

Members

R :String

ECDSA signature data

Type:
  • String

S :String

ECDSA signature data

Type:
  • String

V :String

Public key decoding data

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