Package dev.sigstore.tuf.model
Interface TargetMeta.SigstoreMeta
-
- Enclosing interface:
- TargetMeta
@Immutable public static interface TargetMeta.SigstoreMetaSigstore Metadata.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetStatus()Current status of this target.java.util.Optional<java.lang.String>getUri()The URI of the endpoint that the TUF distributed key maps to.java.lang.StringgetUsage()Sigstore usage of this target.
-
-
-
Method Detail
-
getStatus
java.lang.String getStatus()
Current status of this target. Currently "Expired", and "Active" are the two statuses in use.
-
getUri
java.util.Optional<java.lang.String> getUri()
The URI of the endpoint that the TUF distributed key maps to. For instance ifgetUsage()were 'Fulcio' the prod key would have 'https://fulcio.sigstore.dev" as the URI. This mapping can be used by clients to determine the right target public key material for a given Fulcio/Rekor/CTFE endpoint.
-
getUsage
java.lang.String getUsage()
Sigstore usage of this target. Ties the file to a specific part of the Sigstore stack. Valid values are "Fulcio", "CTFE", "Rekor", and "unknown".
-
-