NAME

Grafeas::V1::IntotoStatement - Compiled Protocol Buffers messages for grafeas/v1/intoto_statement.proto

SYNOPSIS

use Grafeas::V1::IntotoStatement;

my $msg = Grafeas::V1::IntotoStatement::InTotoStatement->new({
    type => $type,
    subject => $subject,
    predicate_type => $predicate_type,
    provenance => $provenance,
});

# Read or update a field
my $val = $msg->type();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Grafeas::V1::IntotoStatement::InTotoStatement->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from grafeas/v1/intoto_statement.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Grafeas::V1::IntotoStatement::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".

Inherits from Protobuf::Message.

Accessors

Grafeas::V1::IntotoStatement::Subject

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

  • $msg->digest() / $msg->digest($value)

    Type: Message (Grafeas::V1::IntotoStatement::Subject::DigestEntry)

    `"<ALGORITHM>": "<HEX_VALUE>"` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet

Grafeas::V1::IntotoStatement::InTotoSlsaProvenanceV1

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Grafeas::V1::IntotoStatement::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.