Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Contains the "signature" of a ZIP archive as a SHA-1 hash value, and information on how it was calculated. This can be used to identify a ZIP archive using only a small portion of the ZIP archive data.

    interface IZipArchiveSignature {
        dataChunkIndex: number;
        rangeWithinDataChunk: IByteRange;
        sha1Hash: string;
    }

    Properties

    dataChunkIndex: number

    The array index into ZipArchiveInformation.dataChunkDescriptors pointing out a specific ByteRange (data chunk) that was fetched in order to calculate the ZIP archive signature.

    rangeWithinDataChunk: IByteRange

    The byte range within the data chunk defined by dataChunkIndex that should be used to calculate the ZIP archive signature value.

    sha1Hash: string

    The calculated signature value as a lower-cased hex string.

    The value is calculated by performing the SHA-1 hash algorithm on the data defined by dataChunkIndex and rangeWithinDataChunk.