Build Details Response
data class BuildDetailsResponse(val intotoProvenance: InTotoProvenanceResponse, val intotoStatement: InTotoStatementResponse, val provenance: BuildProvenanceResponse, val provenanceBytes: String)
Message encapsulating build provenance details.
Constructors
Link copied to clipboard
fun BuildDetailsResponse(intotoProvenance: InTotoProvenanceResponse, intotoStatement: InTotoStatementResponse, provenance: BuildProvenanceResponse, provenanceBytes: String)
Types
Properties
Link copied to clipboard
Link copied to clipboard
Serialized JSON representation of the provenance, used in generating the BuildSignature
in the corresponding Result. After verifying the signature, provenance_bytes
can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.