Interface ModuleSignature

What a module's signature came to: none (no trailer), unknown-key (nobody trusted signed it), bad (a trusted key does not match the bytes), valid

interface ModuleSignature {
    key?: string;
    keyId?: string;
    signer?: string;
    state: "none" | "valid" | "unknown-key" | "bad";
}
Index
key?: string

Name of the trusted key file that checked it

keyId?: string
signer?: string
state: "none" | "valid" | "unknown-key" | "bad"