Skip to content

@pumpkin-plugins/signing API / sign / VerifyResult

Interface: VerifyResult ​

Defined in: sign.ts:50

Result of verifyWasm.

Properties ​

error? ​

optional error?: string

Defined in: sign.ts:52

Why the binary isn't valid.


metadata? ​

optional metadata?: VerifiedSigningMetadata

Defined in: sign.ts:54

The signed metadata, when it could be read.


publicKeyHex? ​

optional publicKeyHex?: string

Defined in: sign.ts:56

The public key from the signature envelope, in hex.


signed ​

signed: boolean

Defined in: sign.ts:58

Whether the binary carries signing sections at all.


valid ​

valid: boolean

Defined in: sign.ts:60

Whether the signature checks out; always false when unsigned.

pumpkin-plugins documentation