Package dev.sigstore.tuf.model
Interface Delegations
-
@TypeAdapters @Immutable public interface DelegationsTUF Delegations.- See Also:
- TUF Delegation docs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,Key>getKeys()A map of Key IDs to Keys where: KeyID is the identifier of the key signing the ROLE object, which is a hexdigest of the SHA-256 hash of the canonical form of the key.java.util.List<DelegationRole>getRoles()A list of delegated roles.
-
-
-
Method Detail
-
getKeys
java.util.Map<java.lang.String,Key> getKeys()
A map of Key IDs to Keys where: KeyID is the identifier of the key signing the ROLE object, which is a hexdigest of the SHA-256 hash of the canonical form of the key. The keyid MUST be unique in the "signatures" array: multiple signatures with th same keyid are not allowed.- Returns:
- a map if Key IDs to Keys.
- See Also:
- ...
-
getRoles
java.util.List<DelegationRole> getRoles()
A list of delegated roles.
-
-