Skip to content

@pumpkin-plugins/signing API / sign / VerifyResult

Interface: VerifyResult ​

Defined in: sign.ts:35

Result of verifyWasm.

Properties ​

error? ​

optional error?: string

Defined in: sign.ts:41

Why the binary isn't valid.


metadata? ​

optional metadata?: SigningMetadata

Defined in: sign.ts:43

The signed metadata, when it could be read.


publicKeyHex? ​

optional publicKeyHex?: string

Defined in: sign.ts:45

The public key from the signature envelope, in hex.


signed ​

signed: boolean

Defined in: sign.ts:37

Whether the binary carries signing sections at all.


valid ​

valid: boolean

Defined in: sign.ts:39

Whether the signature checks out; always false when unsigned.

Pumpkin Plugins documentation