Interface ContainerImageSignatureOrBuilder (0.9.0)

publicinterface ContainerImageSignatureOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getPayload()

publicabstractByteStringgetPayload()

Optional. The binary signature payload following the SimpleSigning format https://github.com/sigstore/cosign/blob/main/specs/SIGNATURE_SPEC.md#simple-signing. This payload includes the container image digest.

bytes payload = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The payload.

getPublicKey()

publicabstractByteStringgetPublicKey()

Optional. Reserved for future use.

bytes public_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The publicKey.

getSigAlg()

publicabstractSigningAlgorithmgetSigAlg()

Optional. Reserved for future use.

.google.cloud.confidentialcomputing.v1.SigningAlgorithm sig_alg = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SigningAlgorithm

The sigAlg.

getSigAlgValue()

publicabstractintgetSigAlgValue()

Optional. Reserved for future use.

.google.cloud.confidentialcomputing.v1.SigningAlgorithm sig_alg = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sigAlg.

getSignature()

publicabstractByteStringgetSignature()

Optional. A signature over the payload. The container image digest is incorporated into the signature as follows:

  1. Generate a SimpleSigning format payload that includes the container image digest.
  2. Generate a signature over SHA256 digest of the payload. The signature generation process can be represented as follows: Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))

bytes signature = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The signature.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.