Package dev.sigstore.tuf.model
Interface TimestampMeta
-
- All Superinterfaces:
TufMeta
@TypeAdapters @Immutable public interface TimestampMeta extends TufMeta
To prevent an adversary from replaying an out-of-date signed metadata file whose signature has not yet expired, an automated process periodically signs a timestamped statement containing the hash of the snapshot file. Even though this timestamp key must be kept online, the risk posed to clients by the compromise of this key is minimal.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.Map<java.lang.String,SnapshotMeta.SnapshotTarget>getMeta()Will only contain one element called snapshot.jsondefault SnapshotMeta.SnapshotTargetgetSnapshotMeta()-
Methods inherited from interface dev.sigstore.tuf.model.TufMeta
getExpires, getExpiresAsDate, getSpecVersion, getType, getVersion
-
-
-
-
Method Detail
-
getMeta
java.util.Map<java.lang.String,SnapshotMeta.SnapshotTarget> getMeta()
Will only contain one element called snapshot.json
-
getSnapshotMeta
default SnapshotMeta.SnapshotTarget getSnapshotMeta()
-
-