
io.grafeas.v1beta1.attestation.GenericSignedAttestationOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/devtools/containeranalysis/v1beta1/attestation/attestation.proto
// Protobuf Java Version: 3.25.5
package io.grafeas.v1beta1.attestation;
public interface GenericSignedAttestationOrBuilder
extends
// @@protoc_insertion_point(interface_extends:grafeas.v1beta1.attestation.GenericSignedAttestation)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Type (for example schema) of the attestation payload that was signed.
* The verifier must ensure that the provided type is one that the verifier
* supports, and that the attestation payload is a valid instantiation of that
* type (for example by validating a JSON schema).
*
*
* .grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType content_type = 1;
*
*
* @return The enum numeric value on the wire for contentType.
*/
int getContentTypeValue();
/**
*
*
*
* Type (for example schema) of the attestation payload that was signed.
* The verifier must ensure that the provided type is one that the verifier
* supports, and that the attestation payload is a valid instantiation of that
* type (for example by validating a JSON schema).
*
*
* .grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType content_type = 1;
*
*
* @return The contentType.
*/
io.grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType getContentType();
/**
*
*
*
* The serialized payload that is verified by one or more `signatures`.
* The encoding and semantic meaning of this payload must match what is set in
* `content_type`.
*
*
* bytes serialized_payload = 2;
*
* @return The serializedPayload.
*/
com.google.protobuf.ByteString getSerializedPayload();
/**
*
*
*
* 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.
*
*
* repeated .grafeas.v1beta1.Signature signatures = 3;
*/
java.util.List getSignaturesList();
/**
*
*
*
* 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.
*
*
* repeated .grafeas.v1beta1.Signature signatures = 3;
*/
io.grafeas.v1beta1.common.Signature getSignatures(int index);
/**
*
*
*
* 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.
*
*
* repeated .grafeas.v1beta1.Signature signatures = 3;
*/
int getSignaturesCount();
/**
*
*
*
* 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.
*
*
* repeated .grafeas.v1beta1.Signature signatures = 3;
*/
java.util.List extends io.grafeas.v1beta1.common.SignatureOrBuilder>
getSignaturesOrBuilderList();
/**
*
*
*
* 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.
*
*
* repeated .grafeas.v1beta1.Signature signatures = 3;
*/
io.grafeas.v1beta1.common.SignatureOrBuilder getSignaturesOrBuilder(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy