NAME

Grafeas::V1::Attestation - Compiled Protocol Buffers messages for grafeas/v1/attestation.proto

SYNOPSIS

use Grafeas::V1::Attestation;

my $msg = Grafeas::V1::Attestation::AttestationNote->new({
    hint => $hint,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from grafeas/v1/attestation.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::Attestation::AttestationNote

Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one `Authority` for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project.

Inherits from Protobuf::Message.

Accessors

Grafeas::V1::Attestation::Jwt

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1

Grafeas::V1::Attestation::AttestationOccurrence

Occurrence that represents a single "attestation". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    Required. The serialized payload that is verified by one or more `signatures`.

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

    Type: Message (Grafeas::V1::Common::Signature)

    One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.

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

    Type: Message (Grafeas::V1::Attestation::Jwt)

    One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the `serialized_payload` field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the `serialized_payload` SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `resource_uri` of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.