pamoja for TypeScript - v0.1.17
    Preparing search index...

    Interface Manifest

    What a release says about itself, and what a device checks it against.

    interface Manifest {
        classId: Buffer;
        digest: Buffer;
        expires: number;
        format: number;
        sequence: number;
        size: number;
        storage: number;
        structureVersion: number;
        vendorId: Buffer;
    }
    Index
    classId: Buffer

    Which kind of device it is for, as 16 bytes.

    digest: Buffer

    The SHA-256 of the payload, which every other guarantee rests on.

    expires: number

    When this release stops being offered, in seconds since the Unix epoch, or 0 to never expire.

    format: number

    How the payload is encoded, currently only UPDATE_FORMAT_RAW.

    sequence: number

    Rises with every release, which is what stops an older image being replayed at a device.

    size: number

    The payload length in bytes, known before a single byte is accepted.

    storage: number

    Which slot the payload belongs in.

    structureVersion: number

    Which iteration of the manifest format this is.

    vendorId: Buffer

    Who built the image, as 16 bytes.