Grafeas v1 API - Class InTotoStatement (3.2.0)

public sealed class InTotoStatement : IMessage<InTotoStatement>, IEquatable<InTotoStatement>, IDeepCloneable<InTotoStatement>, IBufferMessage, IMessage

Reference documentation and code samples for the Grafeas v1 API class InTotoStatement.

Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always "application/vnd.in-toto+json".

Inheritance

object > InTotoStatement

Namespace

GrafeasV1

Assembly

Grafeas.V1.dll

Constructors

InTotoStatement()

public InTotoStatement()

InTotoStatement(InTotoStatement)

public InTotoStatement(InTotoStatement other)
Parameter
NameDescription
otherInTotoStatement

Properties

PredicateCase

public InTotoStatement.PredicateOneofCase PredicateCase { get; }
Property Value
TypeDescription
InTotoStatementPredicateOneofCase

PredicateType

public string PredicateType { get; set; }

https://slsa.dev/provenance/v0.1 for SlsaProvenance.

Property Value
TypeDescription
string

Provenance

public InTotoProvenance Provenance { get; set; }
Property Value
TypeDescription
InTotoProvenance

SlsaProvenance

public SlsaProvenance SlsaProvenance { get; set; }
Property Value
TypeDescription
SlsaProvenance

SlsaProvenanceZeroTwo

public SlsaProvenanceZeroTwo SlsaProvenanceZeroTwo { get; set; }
Property Value
TypeDescription
SlsaProvenanceZeroTwo

Subject

public RepeatedField<Subject> Subject { get; }
Property Value
TypeDescription
RepeatedFieldSubject

Type

public string Type { get; set; }

Always https://in-toto.io/Statement/v0.1.

Property Value
TypeDescription
string