Package dev.sigstore.tuf.model
Interface RootMeta
-
- All Superinterfaces:
TufMeta
@TypeAdapters @Immutable public interface RootMeta extends TufMeta
Specifies the other top-level roles. When specifying these roles, the trusted keys for each are listed, along with the minimum number of those keys required to sign the role's metadata. We call this number the signature threshold.- See Also:
- TUF Root documentation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getConsistentSnapshot()
Typicallyfalse
and unused for Sigstore TUF.java.util.Map<java.lang.String,Key>
getKeys()
Map of Key IDs toKey
.java.util.Map<java.lang.String,RootRole>
getRoles()
A map from role name to role.-
Methods inherited from interface dev.sigstore.tuf.model.TufMeta
getExpires, getExpiresAsDate, getSpecVersion, getType, getVersion
-
-
-
-
Method Detail
-
getConsistentSnapshot
@Named("consistent_snapshot") boolean getConsistentSnapshot()
Typicallyfalse
and unused for Sigstore TUF.- See Also:
- TUF docs
-
getKeys
java.util.Map<java.lang.String,Key> getKeys()
Map of Key IDs toKey
.- See Also:
- TUF KEYID doc
-
-