Package dev.sigstore.tuf.model
Interface TargetMeta.TargetData
-
- Enclosing interface:
- TargetMeta
@Immutable public static interface TargetMeta.TargetDataData about the target.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcheck()java.util.Optional<TargetMeta.Custom>getCustom()Custom application specific metadata about the target.HashesgetHashes()Hash values of the target metadata.intgetLength()Length in bytes of the metadata.
-
-
-
Method Detail
-
getCustom
java.util.Optional<TargetMeta.Custom> getCustom()
Custom application specific metadata about the target.
-
getHashes
Hashes getHashes()
Hash values of the target metadata. One or both of sha256 or sha512 is required to be present.
-
getLength
int getLength()
Length in bytes of the metadata.
-
check
@Check default void check()
-
-