Reference documentation and code samples for the Confidential Computing V1 API class Google::Cloud::ConfidentialComputing::V1::ContainerImageSignature.
ContainerImageSignature holds necessary metadata to verify a container image
signature.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#payload
defpayload()->::String
Returns
(::String) — 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.
#payload=
defpayload=(value)->::String
Parameter
value (::String) — 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.
Returns
(::String) — 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.
#public_key
defpublic_key()->::String
Returns
(::String) — Optional. Reserved for future use.
#public_key=
defpublic_key=(value)->::String
Parameter
value (::String) — Optional. Reserved for future use.
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))))
#signature=
defsignature=(value)->::String
Parameter
value (::String) —
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))))
Returns
(::String) —
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-09 UTC."],[],[],null,["# Confidential Computing V1 API - Class Google::Cloud::ConfidentialComputing::V1::ContainerImageSignature (v1.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.1 (latest)](/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [1.6.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/1.6.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [1.5.1](/ruby/docs/reference/google-cloud-confidential_computing-v1/1.5.1/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [1.4.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/1.4.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [1.3.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/1.3.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [1.2.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/1.2.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [1.1.2](/ruby/docs/reference/google-cloud-confidential_computing-v1/1.1.2/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [1.0.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/1.0.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [0.9.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/0.9.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [0.8.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/0.8.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [0.7.2](/ruby/docs/reference/google-cloud-confidential_computing-v1/0.7.2/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [0.6.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/0.6.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [0.5.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/0.5.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [0.4.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/0.4.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [0.3.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/0.3.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [0.2.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/0.2.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature)\n- [0.1.0](/ruby/docs/reference/google-cloud-confidential_computing-v1/0.1.0/Google-Cloud-ConfidentialComputing-V1-ContainerImageSignature) \nReference documentation and code samples for the Confidential Computing V1 API class Google::Cloud::ConfidentialComputing::V1::ContainerImageSignature.\n\nContainerImageSignature holds necessary metadata to verify a container image\nsignature. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #payload\n\n def payload() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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.\n\n### #payload=\n\n def payload=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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. \n**Returns**\n\n- (::String) --- 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.\n\n### #public_key\n\n def public_key() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Reserved for future use.\n\n### #public_key=\n\n def public_key=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Reserved for future use. \n**Returns**\n\n- (::String) --- Optional. Reserved for future use.\n\n### #sig_alg\n\n def sig_alg() -\u003e ::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm\n\n**Returns**\n\n- ([::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm](./Google-Cloud-ConfidentialComputing-V1-SigningAlgorithm)) --- Optional. Reserved for future use.\n\n### #sig_alg=\n\n def sig_alg=(value) -\u003e ::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm\n\n**Parameter**\n\n- **value** ([::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm](./Google-Cloud-ConfidentialComputing-V1-SigningAlgorithm)) --- Optional. Reserved for future use. \n**Returns**\n\n- ([::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm](./Google-Cloud-ConfidentialComputing-V1-SigningAlgorithm)) --- Optional. Reserved for future use.\n\n### #signature\n\n def signature() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. A signature over the payload.\n The container image digest is incorporated into the signature as follows:\n\n 1. Generate a SimpleSigning format payload that includes the container image digest.\n 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))))`\n\n### #signature=\n\n def signature=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Optional. A signature over the payload.\n The container image digest is incorporated into the signature as follows:\n 1. 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**Returns**\n\n- (::String) --- Optional. A signature over the payload.\n The container image digest is incorporated into the signature as follows:\n\n 1. Generate a SimpleSigning format payload that includes the container image digest.\n 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))))`"]]