public sealed class BuildOccurrence : IMessage<BuildOccurrence>, IEquatable<BuildOccurrence>, IDeepCloneable<BuildOccurrence>, IBufferMessage, IMessage
public InTotoStatement IntotoStatement { get; set; }
In-toto Statement representation as defined in spec.
The intoto_statement can contain any type of provenance. The serialized
payload of the statement can be stored and signed in the Occurrence's
envelope.
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage documents the \u003ccode\u003eBuildOccurrence\u003c/code\u003e class, which provides details about a build event, within the \u003ccode\u003eGrafeas.V1\u003c/code\u003e namespace of the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBuildOccurrence\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and object management.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eIntotoProvenance\u003c/code\u003e (deprecated), \u003ccode\u003eIntotoStatement\u003c/code\u003e, \u003ccode\u003eProvenance\u003c/code\u003e, and \u003ccode\u003eProvenanceBytes\u003c/code\u003e to store various forms of provenance information related to the build.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eBuildOccurrence\u003c/code\u003e class are available, ranging from version 2.2.0 to 3.7.0, with 3.7.0 being the latest, and each version has its own documentation page.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBuildOccurrence\u003c/code\u003e class has two constructors: a parameterless one and another that takes an existing \u003ccode\u003eBuildOccurrence\u003c/code\u003e instance as input to copy its values.\u003c/p\u003e\n"]]],[],null,[]]