Skip to main content

bsv.crypto.Signature

scrypt-ts / bsv / crypto / Signature

Class: Signature

bsv.crypto.Signature

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Signature()

Properties

nhashtype

nhashtype: number

Defined in

node_modules/bsv/index.d.ts:782


ALL

Static ALL: number

Defined in

node_modules/bsv/index.d.ts:775


ANYONECANPAY_ALL

Static ANYONECANPAY_ALL: number

Defined in

node_modules/bsv/index.d.ts:778


ANYONECANPAY_NONE

Static ANYONECANPAY_NONE: number

Defined in

node_modules/bsv/index.d.ts:779


ANYONECANPAY_SINGLE

Static ANYONECANPAY_SINGLE: number

Defined in

node_modules/bsv/index.d.ts:780


NONE

Static NONE: number

Defined in

node_modules/bsv/index.d.ts:776


SIGHASH_ALL

Static SIGHASH_ALL: number

Defined in

node_modules/bsv/index.d.ts:769


SIGHASH_ANYONECANPAY

Static SIGHASH_ANYONECANPAY: number

Defined in

node_modules/bsv/index.d.ts:773


SIGHASH_FORKID

Static SIGHASH_FORKID: number

Defined in

node_modules/bsv/index.d.ts:772


SIGHASH_NONE

Static SIGHASH_NONE: number

Defined in

node_modules/bsv/index.d.ts:770


SIGHASH_SINGLE

Static SIGHASH_SINGLE: number

Defined in

node_modules/bsv/index.d.ts:771


SINGLE

Static SINGLE: number

Defined in

node_modules/bsv/index.d.ts:777

Methods

hasDefinedHashtype

hasDefinedHashtype(): boolean

Returns

boolean

Defined in

node_modules/bsv/index.d.ts:786


hasLowS

hasLowS(): boolean

Returns

boolean

Defined in

node_modules/bsv/index.d.ts:788


toBuffer

toBuffer(): Buffer

Returns

Buffer

Defined in

node_modules/bsv/index.d.ts:784


toDER

toDER(): Buffer

Returns

Buffer

Defined in

node_modules/bsv/index.d.ts:785


toString

toString(): string

Returns

string

Defined in

node_modules/bsv/index.d.ts:783


toTxFormat

toTxFormat(): Buffer

Returns

Buffer

Defined in

node_modules/bsv/index.d.ts:789


fromDER

Static fromDER(sig): Signature

Parameters

NameType
sigBuffer

Returns

Signature

Defined in

node_modules/bsv/index.d.ts:766


fromString

Static fromString(data): Signature

Parameters

NameType
datastring

Returns

Signature

Defined in

node_modules/bsv/index.d.ts:768


fromTxFormat

Static fromTxFormat(buf): Signature

Parameters

NameType
bufBuffer

Returns

Signature

Defined in

node_modules/bsv/index.d.ts:767


isTxDER

Static isTxDER(buf): boolean

Parameters

NameType
bufBuffer

Returns

boolean

Defined in

node_modules/bsv/index.d.ts:787