Interface SnapshotMeta

  • All Superinterfaces:
    TufMeta

    @TypeAdapters
    @Immutable
    public interface SnapshotMeta
    extends TufMeta
    The snapshot.json metadata file lists version numbers of all metadata files other than timestamp.json. This file ensures that clients will see a consistent view of all files on the repository. That is, metadata files (and thus Target files) that existed on the repository at different times cannot be combined and presented to clients by an attacker.
    • Field Detail

      • DEFAULT_MAX_LENGTH

        static final java.lang.Integer DEFAULT_MAX_LENGTH
        If no length is provided, use a default, we just use the same default as the python client: https://github.com/theupdateframework/python-tuf/blob/22080157f438357935bfcb25b5b8429f4e4f610e/tuf/ngclient/config.py#L49