public sealed class InTotoStatement : IMessage<InTotoStatement>, IEquatable<InTotoStatement>, IDeepCloneable<InTotoStatement>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class InTotoStatement.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation and code samples for the \u003ccode\u003eInTotoStatement\u003c/code\u003e class within the Grafeas v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInTotoStatement\u003c/code\u003e is a class that implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, inheriting from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class is designed to store serialized \u003ccode\u003eInTotoStatement\u003c/code\u003e data within an \u003ccode\u003eEnvelope.payload\u003c/code\u003e, always with \u003ccode\u003eEnvelope.payloadType\u003c/code\u003e set to "application/vnd.in-toto+json", as defined by the in-toto attestation specification.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInTotoStatement\u003c/code\u003e class includes properties such as \u003ccode\u003ePredicateCase\u003c/code\u003e, \u003ccode\u003ePredicateType\u003c/code\u003e, \u003ccode\u003eProvenance\u003c/code\u003e, \u003ccode\u003eSlsaProvenance\u003c/code\u003e, \u003ccode\u003eSlsaProvenanceZeroTwo\u003c/code\u003e, \u003ccode\u003eSubject\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, which allow for structured data representation.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the Grafeas.V1 API are documented here, with the latest being 3.7.0 and going back as far as version 2.2.0.\u003c/p\u003e\n"]]],[],null,["# Grafeas v1 API - Class InTotoStatement (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.InTotoStatement)\n- [3.8.0](/dotnet/docs/reference/Grafeas.V1/3.8.0/Grafeas.V1.InTotoStatement)\n- [3.7.0](/dotnet/docs/reference/Grafeas.V1/3.7.0/Grafeas.V1.InTotoStatement)\n- [3.6.0](/dotnet/docs/reference/Grafeas.V1/3.6.0/Grafeas.V1.InTotoStatement)\n- [3.5.0](/dotnet/docs/reference/Grafeas.V1/3.5.0/Grafeas.V1.InTotoStatement)\n- [3.4.0](/dotnet/docs/reference/Grafeas.V1/3.4.0/Grafeas.V1.InTotoStatement)\n- [3.3.0](/dotnet/docs/reference/Grafeas.V1/3.3.0/Grafeas.V1.InTotoStatement)\n- [3.2.0](/dotnet/docs/reference/Grafeas.V1/3.2.0/Grafeas.V1.InTotoStatement)\n- [3.1.0](/dotnet/docs/reference/Grafeas.V1/3.1.0/Grafeas.V1.InTotoStatement)\n- [3.0.0](/dotnet/docs/reference/Grafeas.V1/3.0.0/Grafeas.V1.InTotoStatement)\n- [2.4.0](/dotnet/docs/reference/Grafeas.V1/2.4.0/Grafeas.V1.InTotoStatement)\n- [2.3.0](/dotnet/docs/reference/Grafeas.V1/2.3.0/Grafeas.V1.InTotoStatement)\n- [2.2.0](/dotnet/docs/reference/Grafeas.V1/2.2.0/Grafeas.V1.InTotoStatement) \n\n public sealed class InTotoStatement : IMessage\u003cInTotoStatement\u003e, IEquatable\u003cInTotoStatement\u003e, IDeepCloneable\u003cInTotoStatement\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Grafeas v1 API class InTotoStatement.\n\nSpec defined at\n\u003chttps://github.com/in-toto/attestation/tree/main/spec#statement\u003e The\nserialized InTotoStatement will be stored as Envelope.payload.\nEnvelope.payloadType is always \"application/vnd.in-toto+json\". \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e InTotoStatement \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[InTotoStatement](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.InTotoStatement), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[InTotoStatement](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.InTotoStatement), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[InTotoStatement](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.InTotoStatement), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Grafeas.V1](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1)\n\nAssembly\n--------\n\nGrafeas.V1.dll\n\nConstructors\n------------\n\n### InTotoStatement()\n\n public InTotoStatement()\n\n### InTotoStatement(InTotoStatement)\n\n public InTotoStatement(InTotoStatement other)\n\nProperties\n----------\n\n### PredicateCase\n\n public InTotoStatement.PredicateOneofCase PredicateCase { get; }\n\n### PredicateType\n\n public string PredicateType { get; set; }\n\n`https://slsa.dev/provenance/v0.1` for SlsaProvenance.\n\n### Provenance\n\n public InTotoProvenance Provenance { get; set; }\n\n### SlsaProvenance\n\n public SlsaProvenance SlsaProvenance { get; set; }\n\n### SlsaProvenanceZeroTwo\n\n public SlsaProvenanceZeroTwo SlsaProvenanceZeroTwo { get; set; }\n\n### Subject\n\n public RepeatedField\u003cSubject\u003e Subject { get; }\n\n### Type\n\n public string Type { get; set; }\n\nAlways `https://in-toto.io/Statement/v0.1`."]]