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))))
The container image digest is incorporated into the signature as follows:
Generate a SimpleSigning format payload that includes the container
image digest.
Generate a signature over SHA256 digest of the payload.
The signature generation process can be represented as follows:
Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))
Returns
Type
Description
string
setSignature
Optional. A signature over the payload.
The container image digest is incorporated into the signature as follows:
Generate a SimpleSigning format payload that includes the container
image digest.
Generate a signature over SHA256 digest of the payload.
The signature generation process can be represented as follows:
Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Confidential Computing V1 Client - Class ContainerImageSignature (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-confidentialcomputing/latest/V1.ContainerImageSignature)\n- [1.4.0](/php/docs/reference/cloud-confidentialcomputing/1.4.0/V1.ContainerImageSignature)\n- [1.3.0](/php/docs/reference/cloud-confidentialcomputing/1.3.0/V1.ContainerImageSignature)\n- [1.2.2](/php/docs/reference/cloud-confidentialcomputing/1.2.2/V1.ContainerImageSignature)\n- [1.1.1](/php/docs/reference/cloud-confidentialcomputing/1.1.1/V1.ContainerImageSignature)\n- [1.0.0](/php/docs/reference/cloud-confidentialcomputing/1.0.0/V1.ContainerImageSignature)\n- [0.8.3](/php/docs/reference/cloud-confidentialcomputing/0.8.3/V1.ContainerImageSignature)\n- [0.7.0](/php/docs/reference/cloud-confidentialcomputing/0.7.0/V1.ContainerImageSignature)\n- [0.6.0](/php/docs/reference/cloud-confidentialcomputing/0.6.0/V1.ContainerImageSignature)\n- [0.5.1](/php/docs/reference/cloud-confidentialcomputing/0.5.1/V1.ContainerImageSignature)\n- [0.4.0](/php/docs/reference/cloud-confidentialcomputing/0.4.0/V1.ContainerImageSignature)\n- [0.3.0](/php/docs/reference/cloud-confidentialcomputing/0.3.0/V1.ContainerImageSignature)\n- [0.2.2](/php/docs/reference/cloud-confidentialcomputing/0.2.2/V1.ContainerImageSignature)\n- [0.1.1](/php/docs/reference/cloud-confidentialcomputing/0.1.1/V1.ContainerImageSignature) \nReference documentation and code samples for the Google Cloud Confidential Computing V1 Client class ContainerImageSignature.\n\nContainerImageSignature holds necessary metadata to verify a container image\nsignature.\n\nGenerated from protobuf message `google.cloud.confidentialcomputing.v1.ContainerImageSignature`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ConfidentialComputing \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPayload\n\nOptional. The binary signature payload following the SimpleSigning format\n\u003chttps://github.com/sigstore/cosign/blob/main/specs/SIGNATURE_SPEC.md#simple-signing\u003e.\n\nThis payload includes the container image digest.\n\n### setPayload\n\nOptional. The binary signature payload following the SimpleSigning format\n\u003chttps://github.com/sigstore/cosign/blob/main/specs/SIGNATURE_SPEC.md#simple-signing\u003e.\n\nThis payload includes the container image digest.\n\n### getSignature\n\nOptional. A signature over the payload.\n\nThe container image digest is incorporated into the signature as follows:\n\n1. Generate a SimpleSigning format payload that includes the container image digest.\n2. Generate a signature over SHA256 digest of the payload. The signature generation process can be represented as follows: `Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))`\n\n### setSignature\n\nOptional. A signature over the payload.\n\nThe container image digest is incorporated into the signature as follows:\n\n1. Generate a SimpleSigning format payload that includes the container image digest.\n2. Generate a signature over SHA256 digest of the payload. The signature generation process can be represented as follows: `Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))`\n\n### getPublicKey\n\nOptional. Reserved for future use.\n\n### setPublicKey\n\nOptional. Reserved for future use.\n\n### getSigAlg\n\nOptional. Reserved for future use.\n\n### setSigAlg\n\nOptional. Reserved for future use."]]